You are not logged in.
I had simlinked my initial pacman cache being dumb.
I upgraded pacman to 5.2.0 it deleted my simlink and now it's broken. I have no pacman or makepkg command.
I went in with the arch ISO and mounted my partitions to try to repair pacman. When I ran
pacman --sysroot /mnt -Syu it syncs the databases but doesn't upgrade anything.
find /mnt/usr/lib -size 0
returns a bunch of files. I run
pacman --sysroot /mnt -Syu pacman
It offers to reinstall pacman.
However when I say yes, it says could not open file /etc/mtab not a file or dir
Couldn't determine filesystem mount points
And doesn't install anything.
Help would be much appreciated.
Offline
change the pacman config on the ISO, remove CheckSpace, then it should let you reinstall it from there.
Offline
and look into pacman.conf to change paths in the future.
Offline
I removed checkspace in pacman.conf. It downloaded the files, but it gives me a bunch of lines of the same error.
error: GPME error: invalid crypto engine
It then says package is missing required signature and then asked if I want to delete it for each package. How do I get gpg working again?
Last edited by Catlover8695 (2019-10-23 22:18:04)
Offline
Please post the full command and its output. Also is the command being run from the installed system, the live media before chroot, live media chrooted to the installation e.t.c.?
Last edited by loqs (2019-10-23 23:23:24)
Offline
This is not in a chroot environment in the default arch iso env.
Command:
pacman --sysroot /mnt -Syu pacman
Output:
error: GPGME error: Invalid crypto engine
error: <package>: missing required signature
File package.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
And an option to delete it. I have tried a different https mirror. Horrible security hygene but is it possible to force it to use it anyway?
Offline
pacman --debug --sysroot /mnt -Syu pacman &> debug.log
Please post the generated debug.log. See the tip box from pastebin to upload the file from the live media.
Offline
Here is the output of
pacman --debug --noconfirm --sysroot /mnt -Syu pacman &> debug.log
Offline
What if you use
pacman --debug --noconfirm --root /mnt -Syu pacman
Offline