You are not logged in.

#1 2021-08-25 18:05:40

slackline
Member
Registered: 2016-05-11
Posts: 10

[SOLVED]/var/lib/pacman/local/libreoffice-fresh-7.1.5-2/desc: No such

Trying to upgrade I'm hitting this error...

root@fisher/etc 31 pacman -Syu 
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community                                 5.7 MiB  34.3 KiB/s 02:49 [######################################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/libreoffice-fresh-7.1.5-2/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package libreoffice-fresh-7.1.5-2
error: failed to prepare transaction (invalid or corrupted package)

I read this thread suggesting it may be new keys and tried the suggested pacman -S archlinux-keyring but no difference.

Tried deleting /var/lib/local/libreoffice-fresh-7.1.5.2 as I read in another thread it would trigger a fresh download but still no joy.

Any suggestions for what to try next and why this arises so I can understand would be appreciated.

Last edited by slackline (2021-08-31 19:18:32)

Offline

#2 2021-08-25 18:32:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,616

Re: [SOLVED]/var/lib/pacman/local/libreoffice-fresh-7.1.5-2/desc: No such

Touch the file

touch /var/lib/pacman/local/libreoffice-fresh-7.1.5-2/desc

so that something is there that can be properly replaced. FWIW the path you mentioned to have tried deleting lacks the pacman  between /var/lib and /local which could also be contributing to the failure.

Offline

#3 2021-08-26 06:18:32

slackline
Member
Registered: 2016-05-11
Posts: 10

Re: [SOLVED]/var/lib/pacman/local/libreoffice-fresh-7.1.5-2/desc: No such

V1del wrote:

Touch the file

touch /var/lib/pacman/local/libreoffice-fresh-7.1.5-2/desc

so that something is there that can be properly replaced.

Brilliant, thank you that did the trick although I also had to

touch /var/lib/pacman/local/libreoffice-fresh-7.1.5-2/files

...too.

V1del wrote:

FWIW the path you mentioned to have tried deleting lacks the pacman  between /var/lib and /local which could also be contributing to the failure.

That's my being crap and transcribing/typing and not copying and pasting.

Offline

#4 2021-08-26 07:16:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,616

Re: [SOLVED]/var/lib/pacman/local/libreoffice-fresh-7.1.5-2/desc: No such

Please mark as [SOLVED] by editing the title in your first post (... might have to shorten it a little)

Offline

Board footer

Powered by FluxBB