pebcak
December 14, 2022, 2:21pm
2
Try creating the missing file manually and then reinstall the package:
sudo touch /var/lib/pacman/local/libreoffice-fresh-7.4.3-3/desc
sudo pacman -S libreoffice-fresh
Your local package database and/or metadata may become corrupted if an update process is interrupted, for example if you hard power off during an update.
Metadata corruption will generally manifest in a message similar to:
error: could not open file /var/lib/pacman/local/$pkgname-$pkgver-$pkgrel/desc: No such file or directory
error: could not open file /var/lib/pacman/local/$pkgname-$pkgver-$pkgrel/files: No such file or directory
error: could not open file /var/lib/pacman/local/$pkgname-$pkg…
33Nicolas:
My last Discover update
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.