Skip to main content
Topic: Error when running pacman -Syu (Read 344 times) previous topic - next topic
wanwalk and 2 Guests are viewing this topic.

Error when running pacman -Syu

I restarted after my machine froze repeatedly right after login, and then finally run fdisk on a partition, as requested by grub, and it worked.
I then proceeded immediately to run
Code: [Select]
sudo pacman /syu 
and got the long message which I have placed at: https://paste.artixlinux.org/56246de8

No idea of how I can fix this, other than re-installing, but I understand that is not the Linux way, and that is why I am seeking help.


Re: Error when running pacman -Syu

Reply #1
This directory is reported missing:
 /var/lib/pacman/local/gpgmepp-2.0.0-2/files

These 3 directories need to exist:
/var/lib/pacman/local/gpgmepp-2.0.0-2/desc
/var/lib/pacman/local/gpgmepp-2.0.0-2/files
/var/lib/pacman/local/gpgmepp-2.0.0-2/mtree

Create the missing one(s) manually and try pacman again.

artist

Re: Error when running pacman -Syu

Reply #2
This directory is reported missing:
 /var/lib/pacman/local/gpgmepp-2.0.0-2/files

These 3 directories need to exist:
/var/lib/pacman/local/gpgmepp-2.0.0-2/desc
/var/lib/pacman/local/gpgmepp-2.0.0-2/files
/var/lib/pacman/local/gpgmepp-2.0.0-2/mtree

Create the missing one(s) manually and try pacman again.

artist
They are not directories they are files.

@wanwalk
First thing i would try is just installing gpgmepp again.
Code: [Select]
sudo pacman -S gpgmepp
if that complains I'd try force removing it then installing again.
Code: [Select]
sudo pacman -Rdd gpgmepp
sudo pacman -S gpgmepp
Hopefully that should work ?
Also I'd check the consistency of local pacman database
Code: [Select]
pacman -Dk