Hallo!
Ich würde gern ein Upgrade machen aber ich bekomme immer folgende Meldung :
sudo pacman -Syyu
:: Paketdatenbanken werden synchronisiert …
endeavouros 14,5 KiB 71,0 KiB/s 00:00 [----------------------------------------------------------------------------------------] 100%
core 117,7 KiB 231 KiB/s 00:01 [----------------------------------------------------------------------------------------] 100%
extra 7,4 MiB 901 KiB/s 00:08 [----------------------------------------------------------------------------------------] 100%
multilib 132,9 KiB 239 KiB/s 00:01 [----------------------------------------------------------------------------------------] 100%
:: Vollständige Systemaktualisierung wird gestartet …
Fehler: Konnte Datei /var/lib/pacman/local/gdal-3.9.1-3/desc nicht öffnen: Datei oder Verzeichnis nicht gefunden
Abhängigkeiten werden aufgelöst …
Fehler: Konnte Datei /var/lib/pacman/local/hwdetect-2024.07.29.0933-1/desc nicht öffnen: Datei oder Verzeichnis nicht gefunden
Nach in Konflikt stehenden Paketen wird gesucht …
Fehler: Vorgang konnte nicht vorbereitet werden (Kann Abhängigkeiten nicht erfüllen)
:: Installation von pacman (7.0.0.r3.g7736133-1) verletzt Abhängigkeit »libalpm.so=14«, benötigt von libpamac-aur
:: Installation von pacman (7.0.0.r3.g7736133-1) verletzt Abhängigkeit »pacman<6.2«, benötigt von libpamac-aur
Ihr könnt ein update vornehmen. Möglicherweise muss noch die pacman.conf angepasst werden. Das wird aber beim Updatevorgang mitgeteilt ob und welche pacnew erstellt wurde
Klappt bei mir leider nicht.
Dafür bekomme ich folgende Meldung :
Vorbereitung...
Synchronisiere Paketdatenbanken...
Aktualisierung von AUR...
Warnung: libpamac-aur: ignoriere Paket-Upgrade (11.6.4-2 => 11.6.4-6)
Warnung: pamac-aur: ignoriere Paket-Upgrade (11.7.1-4 => 11.7.1-5)
Warnung: das Installieren von pacman (7.0.0.r3.g7736133-1) verletzt Abhängigkeit 'libalpm.so=14' benötigt von libpamac-aur
Füge libpamac-aur hinzu, um zu entfernen
Warnung: das Installieren von pacman (7.0.0.r3.g7736133-1) verletzt Abhängigkeit 'pacman<6.2' benötigt von libpamac-aur
Füge libpamac-aur hinzu, um zu entfernen
Vorgang konnte nicht erfolgreich vorbereitet werden:
Kann Abhängigkeiten nicht erfüllen:
- das Entfernen von libpamac-aur verletzt Abhängigkeit 'libpamac-aur>=11.6' benötigt von pamac-aur
Warnung: gdal: Ignoriere Paket-Aktualisierung (3.9.1-3 => 3.9.2-2)
Abhängigkeiten werden aufgelöst...
Interne Konflikte werden überprüft...
Vorgang konnte nicht erfolgreich vorbereitet werden:
Kann Abhängigkeiten nicht erfüllen:
- das Entfernen von libpamac-aur verletzt Abhängigkeit 'libpamac-aur>=11.6' benötigt von pamac-aur
sudo pacman -Rc libpamac-aur
[sudo] Passwort für ralf:
Fehler: Konnte Datei /var/lib/pacman/local/hwdetect-2024.07.29.0933-1/desc nicht öffnen: Datei oder Verzeichnis nicht gefunden
Fehler: Ziel nicht gefunden: libpamac-aur
Ich habe es nochmal mit yay -S Pamac versucht und es klappte - Pamac wurde installiert und funktioniert.
Jetzt habe ich nur noch Probleme mit hwdetect und gpal.
Bei gpal sieht es so aus :
Vorbereitung...
Synchronisiere Paketdatenbanken...
Aktualisierung von endeavouros.db...
Aktualisierung von core.db...
Aktualisierung von extra.db...
Aktualisierung von multilib.db...
Abhängigkeiten werden aufgelöst...
Interne Konflikte werden überprüft...
Warnung: Konnte die Metadaten für Paket gdal-3.9.1-3 nicht vollständig laden
Vorgang konnte nicht erfolgreich vorbereitet werden:
Ungültiges oder beschädigtes Paket
Bei hwdetect so :
sudo pacman -S hwdetect
Warnung: hwdetect-2024.07.29.0933-1 ist aktuell -- Reinstalliere
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …
Fehler: Konnte Datei /var/lib/pacman/local/hwdetect-2024.07.29.0933-1/files nicht öffnen: Datei oder Verzeichnis nicht gefunden
Warnung: Konnte die Metadaten für Paket hwdetect-2024.07.29.0933-1 nicht vollständig laden
Fehler: Vorgang konnte nicht vorbereitet werden (Ungültiges oder beschädigtes Paket)
weist auf fehlende Abhängigkeiten hin. Versuche diese neu zu installieren indem du die betroffenen Pakete mit den jeweiligen Abhängigkeiten wieder installierst
Das hat mir geholfen. Ein großes Dankeschön.
Ich hatte zuvor zwar noch ein sudo touch /var/lib/pacman/local/gdal-3.9.1-3/files und ein sudo touch /var/lib/pacman/local/hwdetect-2024.07.29.0933-1/file gemacht, doch als ich dein pactree -c hwdetect bzw pactree -c gdal machte lief es durch - endlich.
Ich habe für dich eine große Liste von Befehlen welche du immer anwenden kannst. Vielleicht nutzt es dir ja etwas. Und bei Fragen immer fragen
Ich muss da auch des öfteren nachschauen. Kann sich ja kein Mensch alles behalten
Befehle
[package_management]
the stat command provides detailed information about a file = "stat /path/to/file_or_directory"
"use locate/find to search for .pac files = "sudo find /etc -name "*.pacsave" -o -name "*.pacnew" or "sudo updatedb" and "locate '*.pacnew *.pacsave'"
get more detailed information about past transactions including any errors that may have occurred during installation or updates = "less /var/log/pacman.log"
identify missing or broken dependencies = "sudo pacman -Dk"
If pacman -Dk indicates missing dependencies you can attempt to resolve them by reinstalling the affected packages along with their dependencies = "sudo pacman -S --needed package_name"
see the dependency tree for a package = "pactree -c package_name"
"packages can conflict with each other which can manifest as a dependency problem = "sudo pacman -Si package_name | grep "Conflicts With"
downgrade = "downgrade [package-name]"
list_files = "pacman -Ql [package-name]"
find_owner = "pacman -Qo [file-path]"
remove_orphans = "sudo pacman -Rs $(pacman -Qdtq)"
backup_installed_packages = "pacman -Qqe > pacman_packages_backup.txt"
lock_package = "sudo echo '[package-name]' >> /etc/pacman.conf"
unlock_package = "sudo sed -i '/[package-name]/d' /etc/pacman.conf"
ignore_package_upgrade = "echo 'IgnorePkg = [package-name]' | sudo tee -a /etc/pacman.conf"
query = "pacman -Q"
list_orphans = "pacman -Qdt"
list_explicitly_installed = "pacman -Qe"
list_foreign = "pacman -Qm"
search_by_name_or_description = "pacman -Qs [search-term]"
check_broken_dependencies = "pacman -Qk"
list_packages_by_size = "pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -hr"
installed_packages_to_file = "pacman -Q > ~/installed_packages.txt"
list_unused_repositories = "pacman -Qdtq | pacman -Qo -"
yay_print_foreign_packages = "yay -Pw"
pull_git_repo = "git pull"
install_package = "pacman -S package_name"
install_package_without_confirming = "pacman -S --noconfirm package_name"
install_package_ignore_package_group = "pacman -S --needed package_name"
install_specific_package_version = "pacman -S package=version"
download_package_files_only = "pacman -Sw package_name"
install_all_packages_from_group = "pacman -S group_name"
list_outdated_packages = "pacman -Qu"
install_or_upgrade_package_from_local_file = "sudo pacman -U /path/to/package-file.pkg.tar.xz"
list_inconsistent_packages = "pacman -Qii"
remove_package_and_dependencies_not_required = "sudo pacman -Rns [package-name]"
remove_package_and_dependencies_dangerously = "sudo pacman -Rdd [package-name]"
remove_package_and_configuration_files
install_package_with_explicit_confirmation = "pacman -S --ask=4 package_name"
install_package_skip_integrity_check = "pacman -S --skipinteg package_name"
install_package_from_a_specific_repo = "pacman -S repo_name/package_name"
install_package_ignore_scriptlets = "pacman -S --noscriptlet package_name"
install_packages_overwriting_files = "pacman -S --overwrite glob_pattern package_name"
install_package_ignore_architecture = "pacman -S --ignorearch package_name"
install_package_with_disabled_dependency_checks = "pacman -S --nodeps package_name"
refresh_package_databases = "pacman -Sy"
update_system = "pacman -Syu"
update_system_without_downloading_any_packages = "pacman -Syuw"
install_or_upgrade_package = "pacman -Syy package_name"
install = "pacman -S"
update_system = "pacman -Syu"
download_only = "pacman -Sw"
clear_cache = "pacman -Sc"
info = "pacman -Si [package-name]"
To install a package locally meaning a package download from the net. = "sudo pacman -U /home/yourusername/Downloads/zoom_x86_64.pkg.tar.xz"
If you want to see the dependency tree of a specific package then run this command can be run. "sudo pactree vlc"
[package_removal]
remove_package = "pacman -R package_name"
To remove a package and its dependencies which are not required by any other installed package = "pacman -Rs package_name"
when removing a group which contains otherwise needed packages. In this case use = "pacman -Rsu package_name"
"To remove a package, its dependencies and all the packages that depend on the target package, (RECURSIVE) = "pacman -Rsc package_name"
remove_package_ignore_dependencies = "pacman -Rdd package_name"
remove_package_skip_dependency_version_checks = "pacman -Rn package_name"
remove_package_and_dependencies_without_dependency_check = "pacman -Rns package_name"
remove_package_verify_files = "pacman -Rk package_name"
Followed by a pacman -D cmd when install reinstalling for reverse dependencies = "sudo pacman -S libnotify"
"Marks the 'said' package as a dependency. = "sudo pacman -D --asdeps libnotify"
"Marks the 'said' package as a explicitly installed. = "sudo pacman -D --asexplicit packagename"
[user_management]
change_shell_to_zsh = "chsh -s $(which zsh)"
add_user_with_groups = "useradd -m -G wheel,input,video -s /bin/bash tom"
modify_user = "usermod"
delete_user = "userdel"
list_users = "cat /etc/passwd"
list_groups = "groups"
list_logged_in_users = "who"
show_current_user = "whoami"
show_user_details = "id <username>"
show_group_details = "id <groupname>"
[system_info]
list_pci_devices = "lspci"
list_cpu_info = "lscpu"
count_processors = "nproc"
systemctl_usage = "systemctl"
ip_link_show = "ip link"
ip_address_show = "ip address"
list_block_devices = "lsblk"
manage_disk_partitions_with_fdisk = "fdisk"
manage_disk_partitions_with_gdisk = "gdisk"
open_gparted = "gparted"
run_script = "./sh"
ssh_command = "ssh"
switch_user = "su"
curl_arch_news = "curl -s https://archlinux.org/feeds/news/"
install_newsboat = "sudo pacman -S newsboat"
open_alacritty_manual = "man 5 alacritty"
[file_system_operations]
links
print_working_directory = "pwd"
edit_systemctl_service = "systemctl edit"
create_empty_file = "touch"
mount_command = "Mount"
edit_with_nano = "nano -w"
disk_free_human_readable = "df -h"
"dd if=/dev/sda of=backup.img bs=1M status=progress = "Try diffenent block sizes"
change_file_mode = "chmod"
change_file_owner = "chown"
print_text = "echo"
search_with_grep = "grep"
pipe = "|"
list_directory_contents = "ls"
remove_file = "rm -f"
copy_file = "cp -r"
move_file = "mv -i"
make_directory = "mkdir -p"
remove_directory = "rmdir --ignore-fail-on-non-empty"
show_file_contents = "cat"
monitor_file_changes = "tail -f"
compare_files = "diff"
count_words = "wc"
find_files = "find"
view_file_less = "less"
view_file_more = "more"
archive_files = "tar"
compress_file = "gzip"
decompress_file = "gunzip"
When you want to keep the unzip file and the original compressed file use the -k flag. = "gunzip -k geeksforgeeks.txt.tar.gz"
The -l option is used to get the information of a compressed or an uncompressed file.gunzip -l = "geeksforgeeks.txt.tar.gz"
to test whether a file is valid or not use the -t option = "gunzip -t [File name]"
show_disk_usage = "du"
redirect_output = ">"
append_output = ">>"
execute_curl = "curl"
execute_git = "git"
mount_all_filesystems = "sudo mount -a"
list_blkid = "sudo blkid"
execute_xbind_key = "xbind-key"
execute_i3 = "exec i3"
edit_bashrc = "sudo vim /etc/skel/.bashrc"
list_etc_skel = "ls -la /etc/skel"
print_date = "date"
set_timezone_to_london = "loadkeys uk"
show_disk_space_for_home = "df -h /home"
set_editor_to_vim = "export EDITOR=vim"
print_editor_env_variable = "echo $EDITOR"
status_of_service = "systemctl status [some].service"
enable_network_manager_service = "systemctl enable NetworkManager.service"
network_manager_cli_device = "nmcli device"
toggle_wifi = "nmcli radio wifi on/off"
[symlinks_and_finding]
create_symlink_for_picom = "ln -s ~/.config/picom.conf /etc/xdg/picom.conf"
list_files_xdg = "sudo ls -lF"
find_symbolic_links = "find . -type l -ls"
find_file_by_name_case_insensitive = "find / -type f -iname 'User-Dirs.Dirs'"
"see where the link points to = readlink /root/.config/nvim/init.vim
[system_logging]
update_database = "sudo updatedb"
"To search for all files and directories that contain a specific keyword, you use
locate keyword basic_locate = "locate keyword"
limit_locate_results = "locate -n 10 keyword"
case_insensitive_locate = "locate -i keyword"
regular_expression_locate = "locate -r 'regex_pattern'"
[real_time_monitoring]
watch_logs = "journalctl -f"
filter_logs_by_service = "journalctl -u lightdm"
logs_since_last_hour = "journalctl --since '1 hour ago'"
error_logs_since_five_minutes = "journalctl -p err --since '5 minutes ago'"
warning_logs_since_five_minutes = "journalctl -p warning --since '5 minutes ago'"
logs_from_current_boot = "journalctl -b"
error_logs_from_current_boot = "journalctl -b -p err"
[kernel_diagnostics]
display_kernel_messages = "dmesg"
filter_kernel_errors = "dmesg | grep -i error"
monitor_kernel_messages = "dmesg -wH | grep -i error"
show_kernel_version = "uname -r"
list_loaded_kernel_modules = "lsmod"
show_kernel_parameters = "sysctl -a"
show_cpu_interrupts = "cat /proc/interrupts"
show_kernel_memory_usage = "cat /proc/meminfo"
show_system_uptime = "uptime"
show_system_load_averages = "cat /proc/loadavg"
[display_graphics]
query_display_settings = "xrandr --query"
set_display_dpi = "xrandr --output <display-name> --dpi <dpi-value>"
set_screen_resolution = "xrandr --output <display-name> --mode <resolution>"
rotate_screen = "xrandr --output <display-name> --rotate <orientation>"
reset_screen_orientation = "xrandr --output <display-name> --rotate normal"
graphics_information = "glxinfo | grep -i opengl"
[usb_devices]
list_usb_devices = "lsusb"
show_usb_details = "lsusb -v"
show_usb_device_path = "lsusb -t"
display_usb_device_tree = "lsusb -t -v"
[network]
detailed_hardware_info = "inxi -Fxz"
show_cpu_info = "lscpu"
display_memory_info = "free -h"
show_block_devices = "lsblk"
show_disk_usage = "df -h"
show_network_info = "ip addr show"
show_sata_info = "sudo hdparm -I /dev/sdX"
show_system_info = "sudo dmidecode --type system"
show_bios_info = "sudo dmidecode --type bios"
show_processor_info = "sudo dmidecode --type processor"
show_number_of_cores = "nproc"
show_disk_space_info = "du -h"
check_connectivity = "ping -c 4 google.com"
display_interfaces = "ip a"
display_routes = "ip r"
trace_route = "traceroute google.com"
network_statistics = "netstat -s"
connection_monitor = "ss -tulpn"
network_debugging_tool = "nc -vz google.com 80"
dns_lookup = "dig google.com"
reverse_dns_lookup = "nslookup 8.8.8.8"
network_discovery = "nmap -v scanme.nmap.org"
arp_table = "arp -a"
manage_wireless = "iwconfig"
packet_capture = "tcpdump -c 10"
configure_firewall = "sudo iptables -L"
view_routing_table = "route -n"
display_link_interfaces = "ip link show"
set_interface_up = "sudo ip link set dev eth0 up"
set_interface_down = "sudo ip link set dev eth0 down"
set_mac_address = "sudo ip link set dev eth0 address 02:01:02:03:04:08"
set_interface_promiscuous = "sudo ip link set dev eth0 promisc on"
set_mtu = "sudo ip link set dev eth0 mtu 1420"
show_network_connections = "nmcli con show"
show_device_status = "nmcli dev status"
connect_wifi = "nmcli dev wifi connect SSID-Name password your-password"
list_available_wifi = "nmcli dev wifi"
modify_connection_autoconnect = "nmcli con mod connection-name autoconnect yes"
add_new_ethernet_connection = "nmcli con add type ethernet con-name MyEthernet ifname eth0"
turn_wifi_on = "nmcli radio wifi on"
turn_wifi_off = "nmcli radio wifi off"
browse_with_lynx = "lynx example.com"
browse_with_links = "links example.com"
browse_with_w3m = "w3m example.com"
browse_with_elinks = "elinks example.com"
search_with_lynx = "lynx 'http://google.com/search?q=search+term'"
search_with_links = "links 'http://google.com/search?q=search+term'"
search_with_w3m = "w3m 'http://google.com/search?q=search+term'"
search_with_elinks = "elinks 'http://google.com/search?q=search+term'"
quit_lynx = "echo 'q' | lynx"
quit_links = "echo 'q' | links"
quit_w3m = "echo 'q' | w3m"
quit_elinks = "echo 'q' | elinks"
download_file = "curl -O [URL]"
view_web_page = "curl [URL]"
send_post_request = "curl -d '[data]' -X POST [URL]"
send_get_request = "curl -G -d '[data]' [URL]"
set_user_agent = "curl -A 'User-Agent' [URL]"
save_cookie = "curl -c cookies.txt [URL]"
load_cookie = "curl -b cookies.txt [URL]"
follow_redirects = "curl -L [URL]"
view_headers = "curl -I [URL]"
download_with_limit_rate = "curl --limit-rate 100k -O [URL]"
upload_file_ftp = "curl -T [path_to_file] ftp://[username]:[password]@[URL]"
send_custom_header = "curl -H 'X-Custom-Header: Value' [URL]"
[miscellaneous]
regenerate_initramfs = "mkinitcpio -P"
update_grub_cfg = "grub-mkconfig -o /boot/grub/grub.cfg"
install_grub = "grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB"
add_module = "modprobe [module_name]"
remove_module = "modprobe -r [module_name]"
force_add_module = "modprobe -f [module_name]"
add_module_with_options = "modprobe [module_name] option1=value1 option2=value2"
check installed fonts = "fc-list"
update fontconfig cache = "fc-cache"
easily select a theme = "rofi-theme-selector"
Kenne ich noch von früher und schätze es immer noch, da es Möglichkeiten hat die Pamac ( noch ) nicht hat.
Früher war es robuster als Pamac aber da wird Pamac auch immer besser.