You are not logged in.

#26 2024-04-18 07:38:17

seth
Member
Registered: 2012-09-03
Posts: 51,883

Re: [SOLVED] System cannot boot after pacman upgrade crash

https://bbs.archlinux.org/viewtopic.php … 2#p2162662

How "reliably"? (if the answer is "100%", that's obviously a very good test case)
Can you impact this by
a) blacklisting nvidia_uvm
b)

sudo touch /etc/systemd/do-not-udevadm-trigger-on-update

- https://bugs.archlinux.org/task/77789

Online

#27 2024-04-18 08:22:31

troymcfont
Member
Registered: 2019-06-09
Posts: 27

Re: [SOLVED] System cannot boot after pacman upgrade crash

Since I added the file it has not happened again. But I do not know if this is directly related or not.

Offline

#28 2024-04-18 13:01:10

seth
Member
Registered: 2012-09-03
Posts: 51,883

Re: [SOLVED] System cannot boot after pacman upgrade crash

Ok, keep an eye on it and please keep us informed if it happens again (anything including a systemd update is more prone to cause this now since the udev hook gets ignored)

Online

#29 Today 13:01:29

troymcfont
Member
Registered: 2019-06-09
Posts: 27

Re: [SOLVED] System cannot boot after pacman upgrade crash

Hey, so this happened again. I have tried to follow the same procedure as before, but now when using the live USB medium and running

pacman --root /mnt -Qnq | pacman --cachedir /mnt/var/cache/pacman/pkg --root /mnt -S --dbonly -

I get the error

error: glib2: singature from ... is invalid
:: FIle /mnt/var/cache/pacman/pkg/glib2....pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))
Do you want to delete it? [Y/n]

And so on for many packages. Should I delete them all of them? If doing so, wouldnt they not be available in cache anymore so reinstall would not work?
Also here is "how bad it is": http://0x0.st/X8L9.txt (seems very bad indeed)

Offline

#30 Today 13:17:49

seth
Member
Registered: 2012-09-03
Posts: 51,883

Re: [SOLVED] System cannot boot after pacman upgrade crash

warning: archlinux-keyring: /mnt/var/lib/pacman/local/archlinux-keyring-20240429-1/install (MD5 checksum mismatch)
warning: archlinux-keyring: /mnt/usr/bin/archlinux-keyring-wkd-sync (MD5 checksum mismatch)
warning: archlinux-keyring: /mnt/usr/lib/systemd/system/archlinux-keyring-wkd-sync.service (MD5 checksum mismatch)
warning: archlinux-keyring: /mnt/usr/lib/systemd/system/archlinux-keyring-wkd-sync.timer (MD5 checksum mismatch)
warning: archlinux-keyring: /mnt/usr/share/pacman/keyrings/archlinux-revoked (MD5 checksum mismatch)
warning: archlinux-keyring: /mnt/usr/share/pacman/keyrings/archlinux-trusted (MD5 checksum mismatch)
warning: archlinux-keyring: /mnt/usr/share/pacman/keyrings/archlinux.gpg (MD5 checksum mismatch)
archlinux-keyring: 17 total files, 7 altered files

Is the iso you're operating from somewhat up-to-date? Are there trust "issues"?
https://bbs.archlinux.org/viewtopic.php … 9#p2168299

It's not unlikely though that you've a bunch of corrupted packages in the cache. The list list of broken files is humongous.
https://wiki.archlinux.org/title/Pacman … ure_errors
=> Delete the package cache first.

Online

#31 Today 13:24:32

troymcfont
Member
Registered: 2019-06-09
Posts: 27

Re: [SOLVED] System cannot boot after pacman upgrade crash

Yes, the iso is a few months old now. I will update it and try again. You mean to remove the system pacman cache right?

rm -r /mnt/var/cache/pacman/pkg/*

Offline

#32 Today 14:27:54

seth
Member
Registered: 2012-09-03
Posts: 51,883

Re: [SOLVED] System cannot boot after pacman upgrade crash

Right, but first see whether you get away w/ the newer install iso.

Online

Board footer

Powered by FluxBB