and this:
sudo pacman -Syy gnupg archlinux-keyring manjaro-keyring
sudo pacman-key --init && pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys
Same errors as earlier, “file too short”, “invalid or corrupted package”
gpg: error while loading shared libraries: /usr/lib/libsqlite3.so.0: file too short
error: manjaro-keyring: missing required signature
If you can’t download pacman-static inside chroot, you could download it outside and copy it to the mounted location and use it then.
After the update, I would recommend reinstalling all your packages, something really bad happened during the update.
However, if this fails, you probably ran out of disk space or broken RAM or disk during the update and fixing it might take insufferable more time than a new install.
Nice, gonna try that. Where exactly does it go?
so go to /etc/pacman.conf
, and locate the following section:
SigLevel = Required DatabaseOptional
• and change the SigLevel
to:
SigLevel = Required DatabaseNever
run this command sudo nano /etc/pacman.conf
and locate the line
then save the file and exit it, when you done report
I have done that already
so try this instead:
SigLevel = Never
Wherever you want. I’d put it to /usr/local/bin/pacman-static. (inside chroot, so probably /mnt before, but I don’t know how manjaro-chroot mounts your partitions)
Did that
so again run these commands:
rm -f /var/lib/pacman/sync/*
rm -rf /etc/pacman.d/gnupg
pacman -Scc
pacman-key --init
pacman-key --populate manjaro archlinux
pacman-key --refresh
pacman -Syyu
still the same output
then again edit the pacman.conf file and set Never as policy on ALL places with a sig policy. thats the main one and then the sections like core comon etc…
run the commands again
still no difference
try this:
sudo pacman -Syu --overwrite="*"
Now, I managed to reinstall the kernel, so the computer will boot. But the GUI won’t appear.
and the update didnt work?
seems like pacman updates, but there are still many errors. And pamac still gives file too short errors.
found this command:
sudo pacman-static -S pacman --overwrite "*"