(DURING UPDATE) warning: could not fully load metadata for package linux515-5.15.72-1

:: Synchronizing package databases…
*** core is up to date***
*** extra is up to date***
*** community is up to date***
*** multilib is up to date***
:: Starting full system upgrade…
resolving dependencies…
error: could not open file /var/lib/pacman/local/noto-fonts-20220810-1/desc: No such file or directory
looking for conflicting packages…
error: could not open file /var/lib/pacman/local/linux515-5.15.72-1/files: No such file or directory
warning: could not fully load metadata for package linux515-5.15.72-1
error: failed to prepare transaction (invalid or corrupted package)

This is the message i am getting after My computer was shut down during an update .
Now i cant update or install any new package, even in pacman (add/remove software) same thing happens

I am new so please explain in easy terms

run this:

sudo touch /var/lib/pacman/local/noto-fonts-20220810-1/desc
sudo touch /var/lib/pacman/local/linux515-5.15.72-1/files

reinstall them:
sudo pacman -S noto-fonts linux515

warning: noto-fonts-20220810-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…
error: could not open file /var/lib/pacman/local/noto-fonts-20220810-1/files: No such file or directory
warning: could not fully load metadata for package noto-fonts-20220810-1
error: failed to prepare transaction (invalid or corrupted package)

It shows this

so now run this:

sudo touch /var/lib/pacman/local/noto-fonts-20220810-1/files

reinstall again:
sudo pacman -S noto-fonts linux515

edit: removed the ‘file’ from the touch command

Hey,

I included the /file

at last it showed : error detected , could not upgrade(or similar)

But when i used pacman it started working again

Is there anything to worry about(since i did not exclude /files)?

i meant i used this:

sudo touch file /var/lib/pacman/local/noto-fonts-20220810-1/files`

the ‘file’ after touch … but it looks like it worked also with it… if the update worked, and you have no errors, then thats it.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.