You are not logged in.
Hello everyone!
Today I wanted to update my system and something weird happened. First I got this message:
[mati@TheTemple Labo]$ sudo pacman -Syu
:: 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...
:: Replace fuse with extra/fuse2? [Y/n] y
error: could not open file /var/lib/pacman/local/libreoffice-fresh-5.2.3-4/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package libreoffice-fresh-5.2.3-4
error: failed to prepare transaction (invalid or corrupted package)
Packages were not up to date, because I've not been on the computer for a while and I knew there were updates. After trying:
sudo pacman -Syu --ignore libreoffice-fresh
things improved a little bit, and I was able to update everything, but libreoffice. Then, I removed libreoffice and reinstalled it, but I got the following message:
error: failed to commit transaction (conflicting files)
libreoffice-fresh: /usr/lib/libreoffice/CREDITS.fodt exists in filesystem
libreoffice-fresh: /usr/lib/libreoffice/LICENSE exists in filesystem
...
libreoffice-fresh: /usr/lib/libreoffice/program/uri-encode exists in filesystem
libreoffice-fresh: /usr/lib/libreoffice/program/xid-fullscreen-on-all-monitors exists in filesystem
Errors occurred, no packages were upgraded.
The error message was too long to paste it here, the complete error message can be read here: http://pastebin.com/7su6JMJS/ (but it's just more of the same I just copied).
I've also tried updating archlinux-keyring but the libreoffice problem kept appearing.
I use LibreOffice a lot for my university projects, so these are bad news.
Anyways, thank you for your time!
Last edited by MatiasR (2016-12-28 21:10:02)
Offline
I wanted to ask here before trying:
pacman -S --force libreoffice
Offline
I guess the issue is similar to
this
Arch is home!
https://github.com/Docbroke
Offline
I guess the issue is similar to
this
I couldn't find anything helpful there related to my problem. But thank you anyways!
Offline
I wanted to ask here before trying:
pacman -S --force libreoffice
This should be a last resort, so well done for asking before doing it.
The problem here is that your pacman database entry for libreoffice-fresh has gotten damaged somehow. What I would do is manually remove the /var/lib/pacman/local/libreoffice-fresh-5.2.3-4 directory, then recreate the database entry by reinstalling the same version of libreoffice-fresh (from pacman's cache or the ALA) using pacman's '--dbonly' flag. Then complete the update with 'pacman -Syu'.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
MatiasR wrote:I wanted to ask here before trying:
pacman -S --force libreoffice
This should be a last resort, so well done for asking before doing it.
The problem here is that your pacman database entry for libreoffice-fresh has gotten damaged somehow. What I would do is manually remove the /var/lib/pacman/local/libreoffice-fresh-5.2.3-4 directory, then recreate the database entry by reinstalling the same version of libreoffice-fresh (from pacman's cache or the ALA) using pacman's '--dbonly' flag. Then complete the update with 'pacman -Syu'.
It worked, thank you very much!
Marked as solved.
Offline