You are not logged in.
Pages: 1
Hi there!
I get the following issue when I do an 'pacman -Syu' on my Arch Linux Host:
<SNIP>
[matze@thinkpad-t14 ~]$ sudo pacman -Syu
[sudo] Passwort für matze:
Das hat nicht funktioniert, bitte nochmal probieren.
[sudo] Passwort für matze:
:: Paketdatenbanken werden synchronisiert …
core ist aktuell
extra ist aktuell
multilib ist aktuell
:: Vollständige Systemaktualisierung wird gestartet …
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …
Warnung: Abhängigkeits-Zyklus entdeckt:
Warnung: pam wird vor seiner Abhängigkeit systemd-libs installiert werden
Pakete (109) adwaita-fonts-49.0-2 at-spi2-core-2.56.3-1 btrfs-progs-6.15-1 ca-certificates-mozilla-3.113-1 chromium-138.0.7204.49-1 colord-1.4.8-1 colord-sane-1.4.8-1
cryptsetup-2.8.0-1 device-mapper-2.03.33-1 discord-1:0.0.100-1 firefox-140.0.2-1 firefox-i18n-de-140.0.2-1 fontconfig-2:2.17.0-2 gnupg-2.4.8-1 gssdp-1.6.4-1
gst-plugins-bad-libs-1.26.3-1 gst-plugins-base-libs-1.26.3-1 gstreamer-1.26.3-1 gupnp-1:1.6.9-1 iana-etc-20250612-1 iniparser-4.2.6-2 krb5-1.21.3-2
lib32-fontconfig-2:2.17.0-2 lib32-gettext-0.25-1 lib32-libdrm-2.4.125-1 lib32-libffi-3.5.1-1 lib32-libgpg-error-1.55-1 lib32-libpipewire-1:1.4.6-1
lib32-libxml2-2.14.4-2 lib32-mesa-1:25.1.4-2 lib32-nss-3.113-1 lib32-pipewire-1:1.4.6-1 lib32-sqlite-3.50.2-1 lib32-systemd-257.7-1 lib32-util-linux-2.41.1-1
libadwaita-1:1.7.5-1 libblockdev-3.3.1-1 libblockdev-crypto-3.3.1-1 libblockdev-fs-3.3.1-1 libblockdev-loop-3.3.1-1 libblockdev-mdraid-3.3.1-1 libblockdev-nvme-3.3.1-1
libblockdev-part-3.3.1-1 libblockdev-swap-3.3.1-1 libcolord-1.4.8-1 libffi-3.5.1-1 libjpeg-turbo-3.1.1-1 libmm-glib-1.24.0-2 libmpdclient-2.23-1 libopenmpt-0.8.1-1
libpipewire-1:1.4.6-1 libproxy-0.5.10-1 libsidplayfp-2.15.0-1 libssh-0.11.2-1 libunwind-1.8.2-1 liburcu-0.15.3-1 libxml2-2.14.4-2 linux-6.15.4.arch2-1
linux-firmware-20250627-1 linux-firmware-amdgpu-20250627-1 linux-firmware-atheros-20250627-1 linux-firmware-broadcom-20250627-1 linux-firmware-cirrus-20250627-1
linux-firmware-intel-20250627-1 linux-firmware-mediatek-20250627-1 linux-firmware-nvidia-20250627-1 linux-firmware-other-20250627-1 linux-firmware-radeon-20250627-1
linux-firmware-realtek-20250627-1 linux-firmware-whence-20250627-1 lvm2-2.03.33-1 mesa-1:25.1.4-2 mobile-broadband-provider-info-20250613-1 mujs-1.3.7-1 ncdu-2.8.2-3
nettle-3.10.2-1 nss-3.113-1 openucx-1.18.1-3 pam-1.7.1-1 pango-1:1.56.4-1 pciutils-3.14.0-1 pipewire-1:1.4.6-1 pkgconf-2.5.1-1 python-3.13.5-1
python-dulwich-0.23.1-1 python-pbs-installer-2025.06.26-1 python-pypng-0.20250521.0-1 python-urllib3-2.5.0-1 qt6-base-6.9.1-2 ruby-bundler-2.6.9-1 shadow-4.18.0-1
sqlite-3.50.2-1 sudo-1.9.17.p1-1 systemd-257.7-1 systemd-libs-257.7-1 systemd-sysvcompat-257.7-1 thin-provisioning-tools-1.2.0-1 udisks2-2.10.1-6 unrar-1:7.1.8-1
util-linux-2.41.1-1 util-linux-libs-2.41.1-1 vim-9.1.1497-1 vim-runtime-9.1.1497-1 vulkan-radeon-1:25.1.4-2 wine-staging-10.11-2 xfsprogs-6.15.0-1
xorg-server-21.1.18-2 xorg-server-common-21.1.18-2 yt-dlp-2025.06.30-1
Gesamtgröße der installierten Pakete: 2402,85 MiB
Größendifferenz der Aktualisierung: 75,79 MiB
:: Installation fortsetzen? [J/n]
:: Pakete werden empfangen …
(109/109) Schlüssel im Schlüsselbund werden geprüft [####################################################################] 100%
Fehler: Der Vorgang konnte nicht durchgeführt werden (Konnte Paket nicht finden oder lesen) [############################################################--------] 89%
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
[matze@thinkpad-t14 ~]$
</SNIP>
Why couldn't I update my Arch Linux Installation?
Offline
Try generating a new mirrorlist and running `pacman -Syyu`.
To generate a new mirror use the pacman mirror list generator web page or use a tool like rate-mirrors.
Desktop: Ryzen 7 1800X | AMD 7800XT | KDE Plasma
Offline
fluffy-bunny, please use code tags for program output to make things better readable.
Edit your opening post to achieve this.
Fehler: Der Vorgang konnte nicht durchgeführt werden (Konnte Paket nicht finden oder lesen)That suggests this is a problem on your machine, not a mirror issue .
Please post the output of df -h and sudo LC_ALL=C.UTF-8 pacman --debug -Syu
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
fluffy-bunny, please use code tags for program output to make things better readable.
Edit your opening post to achieve this.Fehler: Der Vorgang konnte nicht durchgeführt werden (Konnte Paket nicht finden oder lesen)That suggests this is a problem on your machine, not a mirror issue .
Please post the output of df -h and sudo LC_ALL=C.UTF-8 pacman --debug -Syu
@Lone_Wolf
Thanks for the tip with the Code-Part
!
df -h shows the following:
[matze@thinkpad-t14 ~]$ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
dev 16G 0 16G 0% /dev
run 16G 52M 16G 1% /run
efivarfs 154K 44K 106K 30% /sys/firmware/efi/efivars
/dev/mapper/cryptroot 98G 19G 75G 20% /
tmpfs 16G 26M 16G 1% /dev/shm
tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-journald.service
tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-cryptsetup@home.service
tmpfs 16G 8,0K 16G 1% /tmp
/dev/nvme0n1p7 197M 142M 56M 72% /boot
/dev/mapper/home 899G 804G 49G 95% /home
tmpfs 1,0M 0 1,0M 0% /run/credentials/getty@tty1.service
tmpfs 3,1G 60K 3,1G 1% /run/user/1000And 'sudo LC_ALL=C.UTF-8 pacman --debug -Syu' shows the following:
Sorry, I'm not sure how I can redirect the whole output into an file ![]()
With 'sudo LC_ALL=C.UTF-8 pacman --debug -Syu > pacman_error' or 'sudo LC_ALL=C.UTF-8 pacman --debug -Syu >> pacman_error' it doesn't work and I only get the output of the link....
Offline
My mistake, try
sudo LC_ALL=C.UTF-8 pacman -Syu --debug |& cat -n >> pacman-log.txtDisliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
-
Last edited by Mechanicus (2025-07-01 17:26:11)
Offline
@fluffy-bunny you can use the script specially designed for trouble-free system update: https://aur.archlinux.org/packages/simple-system-update
It downloads the mirrorlist based on your location and uses the most fast mirrors for update.
Please stop promoting this really bad 'solution'. Especially when it has nothing at all to do with the issue in the thread. At this point, this is just spam.
Offline
@Scimmia good luck then with the "good" solutions.
Integrity error means the files are corrupted in the file-system. First sensible step is to perform the cleanup. Second logical step is to update gnupg, archlinux-keyring and gnome-keyring. And only after that the full system update will successfully complete.
Last edited by Mechanicus (2025-07-01 17:30:52)
Offline
First step is to figure what's actually going on => https://bbs.archlinux.org/viewtopic.php … 8#p2249358 (though, https://porkmail.org/era/unix/award#cat
)
The point of that is not to update the system, but trace the failure.
Second step is to inspect the affected package (notably hash) and the relevant mirrors at use (why is this broken)
Third step tbd from there: if the drive is falling apart, you don't want to write anything from there.
signature/keyring related errors would typically look different (though LC_ALL might help greatly with this, I've never run arch localized
)
Also what makes you believe the OP is using GKR at all?
I took a glimpse at your script, if you want to discuss all the things Scimmia doesn't like about it, feel free to open a thread in the programming and scripting board.
Or you just take your ball and go home to play by yourself.
Offline
(though, https://porkmail.org/era/unix/award#cat wink)
I couldn't find the good solution, so posted one that atleast worked.
LC_ALL=C.UTF-8 pacman -Syu --debug > pacman-log.txt 2>&1Looks like that gives the desired output, or is more needed ?
Edit: removed unnecessary =
Last edited by Lone_Wolf (2025-07-02 12:31:26)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I'd probably use tee and (on bash/zsh, |& isn't posix)
LC_ALL=C.UTF-8 pacman -Syu --debug |& tee pacman-log.txt(there's one "=" too much in your line)
Don't take the cat abuse posts too serious - there's an entire meme-page dedicated to it because it happens A LOT (my 0x0.st textblock posts abuse cat so I can use it for files and commands alike ![]()
Offline
My mistake, try
sudo LC_ALL=C.UTF-8 pacman -Syu --debug |& cat -n >> pacman-log.txt
Ah, thanks for correcting the command
... Now I have the following output in my 'pacman-log.txt' :
Offline
3840 llvm-libs-20.1.7-1-x86_64 downloading...
3841 openssl-3.5.1-1-x86_64 downloading...
3842 gst-plugins-bad-libs-1.26.3-2-x86_64 downloading...
3843 gst-plugins-base-libs-1.26.3-2-x86_64 downloading...
3844 gstreamer-1.26.3-2-x86_64 downloading...
3845 lib32-openssl-1:3.5.1-1-x86_64 downloading...
3846 leancrypto-1.5.0-1-x86_64 downloading...
3847 libheif-1.20.1-1-x86_64 downloading...
3848 fontconfig-2:2.17.1-1-x86_64 downloading...
3849 libpng-1.6.50-1-x86_64 downloading...
3850 lib32-fontconfig-2:2.17.1-1-x86_64 downloading...
3851 lib32-libpng-1.6.50-1-x86_64 downloading...
3869 debug: gstreamer-1.26.3-2-x86_64.pkg.tar.zst: response code 200
3879 debug: gst-plugins-base-libs-1.26.3-2-x86_64.pkg.tar.zst: response code 200
3889 debug: gst-plugins-bad-libs-1.26.3-2-x86_64.pkg.tar.zst: response code 200
3899 debug: leancrypto-1.5.0-1-x86_64.pkg.tar.zst: response code 200
3904 debug: libheif-1.20.1-1-x86_64.pkg.tar.zst: response code 200
3919 debug: lib32-openssl-1:3.5.1-1-x86_64.pkg.tar.zst: response code 200
3924 debug: fontconfig-2:2.17.1-1-x86_64.pkg.tar.zst: response code 200
3934 debug: libpng-1.6.50-1-x86_64.pkg.tar.zst: response code 200
3939 debug: openssl-3.5.1-1-x86_64.pkg.tar.zst: response code 200
3954 debug: lib32-libpng-1.6.50-1-x86_64.pkg.tar.zst: response code 200
3961 debug: lib32-fontconfig-2:2.17.1-1-x86_64.pkg.tar.zst: response code 200
3970 debug: llvm-libs-20.1.7-1-x86_64.pkg.tar.zst: response code 200 3975 debug: llvm-libs-20.1.7-1-x86_64.pkg.tar.zst.sig: response code 200
3976 debug: curl_download_internal return code is 0
3977 warning: failed to retrieve some files
3978 error: failed to commit transaction (unexpected error)
3979 debug: unregistering database 'local'wtf?
3538 debug: found cached pkg: /var/cache/pacman/pkg/pkgconf-2.5.1-1-x86_64.pkg.tar.zst.part
3539 debug: using (package - .part) size
3540 debug: setting download size 0 for pkg pkgconflooks sketchy, remove that file and try again.
Offline
3538 debug: found cached pkg: /var/cache/pacman/pkg/pkgconf-2.5.1-1-x86_64.pkg.tar.zst.part 3539 debug: using (package - .part) size 3540 debug: setting download size 0 for pkg pkgconflooks sketchy, remove that file and try again.
Strange.... Now I've removed the file 'var/cache/pacman/pkg/pkgconf-2.5.1-1-x86_64.pkg.tar.zst.part' and now I get the following:
Offline
16337 error: failed to commit transaction (conflicting files)
16338 linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystem
16339 linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystem
16340 linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystem
16341 linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystemhttps://archlinux.org/news/linux-firmwa … ervention/
We're not gonna need the debug output for now if you run into more problems.
Offline
16337 error: failed to commit transaction (conflicting files) 16338 linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystem 16339 linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystem 16340 linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystem 16341 linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystemhttps://archlinux.org/news/linux-firmwa … ervention/
We're not gonna need the debug output for now if you run into more problems.
THANKS a lot!
Now it looks better and the 'pacman -Syu' worked after doing this:
# pacman -Rdd linux-firmware
# pacman -Syu linux-firmwareThe Output is the following:
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Was a weird bug because of a full-size .part download (completed but not renamed?)
Offline
Pages: 1