You are not logged in.

#1 2016-12-27 00:38:51

MatiasR
Member
Registered: 2016-09-20
Posts: 5

Error updating LibreOffice [Solved]

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

#2 2016-12-27 00:59:26

MatiasR
Member
Registered: 2016-09-20
Posts: 5

Re: Error updating LibreOffice [Solved]

I wanted to ask here before trying:

pacman -S --force libreoffice

Offline

#3 2016-12-27 01:31:15

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Error updating LibreOffice [Solved]

I guess the issue is similar to
this

Offline

#4 2016-12-28 19:23:55

MatiasR
Member
Registered: 2016-09-20
Posts: 5

Re: Error updating LibreOffice [Solved]

Docbroke wrote:

I guess the issue is similar to
this

I couldn't find anything helpful there related to my problem. But thank you anyways!

Offline

#5 2016-12-28 19:51:38

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,859
Website

Re: Error updating LibreOffice [Solved]

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'.


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

#6 2016-12-28 21:09:19

MatiasR
Member
Registered: 2016-09-20
Posts: 5

Re: Error updating LibreOffice [Solved]

WorMzy wrote:
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

Board footer

Powered by FluxBB