My last Discover update rally did a number on Pacman. Now I can’t start LibreOffice. I get the following error message. I was about to Remove /var/lib/pacman/local/libreoffice-fresh-7.4.3-3/desc but wanted to seek wise council before.
warning: libreoffice-fresh-7.4.3-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/libreoffice-fresh-7.4.3-3/desc: No such file or directory
warning: could not fully load metadata for package libreoffice-fresh-7.4.3-3
error: failed to prepare transaction (invalid or corrupted package)
-> error installing repo packages
The use of any package manager using packagekit is not recommended on Arch (-based distros) since it would obfuscate the install/update process and no opportunity is given to the user if/when there is a need for manual intervention.
Ah, I understand better now. I’m not sure how it’s used. The terminal doesn’t list everything. I guess I need to redirect it to pastebin or privatebin. I’m just not sure how that works. I’m trying to look it up.
@pebcak
If the OP is only having an issue with installing libreoffice wouldn’t removing pacman cache be the answer? It is most likely the cached package that is corrupted?
sudo touch /var/lib/pacman/local/libreoffice-fresh-7.4.3-3/desc
[sudo] password for suoni:
touch: cannot touch '/var/lib/pacman/local/libreoffice-fresh-7.4.3-3/desc': No such file or directory
[xxx]$ sudo rm /var/lib/pacman/db.lck
rm: cannot remove '/var/lib/pacman/db.lck': No such file or directory
After doing -Sc and -SYyu still same problem.
Should I flush out the pacman database again? Would that help?