You are not logged in.

#1 2025-07-01 11:13:05

fluffy-bunny
Member
Registered: 2016-04-17
Posts: 38

Issue at 'pacman -Syu'

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

#2 2025-07-01 11:37:45

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 263

Re: Issue at 'pacman -Syu'

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

#3 2025-07-01 12:19:14

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,565

Re: Issue at 'pacman -Syu'

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

#4 2025-07-01 12:38:34

fluffy-bunny
Member
Registered: 2016-04-17
Posts: 38

Re: Issue at 'pacman -Syu'

Lone_Wolf wrote:

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 smile!

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/1000

And 'sudo LC_ALL=C.UTF-8 pacman --debug -Syu' shows the following:

https://paste.xinu.at/nUf/

Sorry, I'm not sure how I can redirect the whole output into an file sad
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

#5 2025-07-01 13:09:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,565

Re: Issue at 'pacman -Syu'

My mistake, try

sudo LC_ALL=C.UTF-8 pacman -Syu --debug |& cat -n  >> pacman-log.txt

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

#6 2025-07-01 17:11:06

Mechanicus
Member
Registered: 2025-01-13
Posts: 126

Re: Issue at 'pacman -Syu'

-

Last edited by Mechanicus (2025-07-01 17:26:11)

Offline

#7 2025-07-01 17:14:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,354

Re: Issue at 'pacman -Syu'

Mechanicus wrote:

@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

#8 2025-07-01 17:26:02

Mechanicus
Member
Registered: 2025-01-13
Posts: 126

Re: Issue at 'pacman -Syu'

@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

#9 2025-07-01 19:42:12

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,572

Re: Issue at 'pacman -Syu'

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 wink)
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 lol)
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

#10 2025-07-02 10:45:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,565

Re: Issue at 'pacman -Syu'

seth wrote:

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>&1

Looks 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

#11 2025-07-02 11:57:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,572

Re: Issue at 'pacman -Syu'

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 wink

Offline

#12 2025-07-03 10:39:57

fluffy-bunny
Member
Registered: 2016-04-17
Posts: 38

Re: Issue at 'pacman -Syu'

Lone_Wolf wrote:

My mistake, try

sudo LC_ALL=C.UTF-8 pacman -Syu --debug |& cat -n  >> pacman-log.txt

Ah, thanks for correcting the command smile... Now I have the following output in my 'pacman-log.txt' :

---> https://paste.xinu.at/lrp2I/

Offline

#13 2025-07-03 15:58:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,572

Re: Issue at 'pacman -Syu'

  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 pkgconf

looks sketchy, remove that file and try again.

Offline

#14 2025-07-03 20:38:41

fluffy-bunny
Member
Registered: 2016-04-17
Posts: 38

Re: Issue at 'pacman -Syu'

  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 pkgconf

looks 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:

----> https://paste.xinu.at/z17/

Offline

#15 2025-07-03 20:41:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,572

Re: Issue at 'pacman -Syu'

 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 filesystem

https://archlinux.org/news/linux-firmwa … ervention/

We're not gonna need the debug output for now if you run into more problems.

Offline

#16 2025-07-03 20:51:38

fluffy-bunny
Member
Registered: 2016-04-17
Posts: 38

Re: Issue at 'pacman -Syu'

seth wrote:
 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 filesystem

https://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-firmware

The Output is the following:

--> https://paste.xinu.at/sTxts/

Offline

#17 2025-07-03 21:03:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,572

Re: Issue at 'pacman -Syu'

\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

Board footer

Powered by FluxBB