What is the correct procedure to switch from libreoffice-still to libreoffice-fresh?

Hi all,

I want to switch from libreoffice-still to libreoffice-fresh.

Is it correct to:

  1. uninstall libreoffice-still
  2. reboot
  3. install libreoffice-fresh

Mybe I have to do some cleanup?

There are issues or caveat?

Thanks in advance

I have only ever done this

sudo pacman -Syu libreoffice-fresh

But to be on the safe side you could move the related ~/.config/libreoffice to a backup location.

1 Like

The two packages conflict. Just tell pacman to install libreoffice-fresh, and you’ll be prompted to remove libreoffice-still.

4 Likes

Hi @linux-aarhus the procedure didn’t work.

It doesn’t ask to replace libreoffice-still and gives an error

[mirto@bianco500 ~]$ LANG=C sudo pacman -Syu libreoffice-fresh
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace iptables-nft with core/iptables? [Y/n] 
:: Replace libakonadi with extra/akonadi? [Y/n] 
:: Replace linux619 with core/linux-meta? [Y/n] 
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libreoffice-fresh-26.2.3-1 and libreoffice-still-25.8.6-5 are in conflict
[mirto@bianco500 ~]$ 

Maybe I have to uninstall libreoffice-still by hand?

It’s because you’re updating at the same time, if you’d just tried to install it then pacman would’ve asked if you wanted to remove libreoffice-still.

Not sure why the behaviour differs between install and update, but it’s easy to forget the difference.

As you’ve started an update you need to finish it.

sudo pacman -S libreoffice-fresh
sudo pacman -Syu

# or
sudo pacman -R libreoffice-still
sudo pacman -Syu libreoffice-fresh

Hi @dmt it worked:

[mirto@bianco500 ~]$ LANG=C sudo pacman -S libreoffice-fresh
[sudo] password for mirto: 
resolving dependencies...
looking for conflicting packages...
:: libreoffice-fresh-26.2.3-1 and libreoffice-still-25.8.5-3 are in conflict. Remove libreoffice-still? [y/N] y

Packages (2) libreoffice-still-25.8.5-3 [removal]  libreoffice-fresh-26.2.3-1

Total Download Size:   145,16 MiB
Total Installed Size:  417,38 MiB
Net Upgrade Size:        3,87 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 libreoffice-fresh-26.2.3-1-x86_64                                                                                145,2 MiB  10,4 MiB/s 00:14 [#######################################################################################] 100%
(1/1) checking keys in keyring                                                                                                                [#######################################################################################] 100%
(1/1) checking package integrity                                                                                                              [#######################################################################################] 100%
(1/1) loading package files                                                                                                                   [#######################################################################################] 100%
(1/1) checking for file conflicts                                                                                                             [#######################################################################################] 100%
(2/2) checking available disk space                                                                                                           [#######################################################################################] 100%
:: Processing package changes...
(1/1) removing libreoffice-still                                                                                                              [#######################################################################################] 100%
(1/1) installing libreoffice-fresh                                                                                                            [#######################################################################################] 100%
Optional dependencies for libreoffice-fresh
    java-runtime: adds java support [installed]
    java-environment>=17: required by extension-wiki-publisher and extension-nlpsolver [installed]
    pstoedit: translates PostScript and PDF graphics into other vector formats
    libmythes: for use in thesaurus
    beanshell: interactive java -- good for prototyping/macros
    libwpg: library for importing and converting WordPerfect Graphics format [installed]
    sane: for scanner access [installed]
    unixodbc: adds ODBC database support [installed]
    gst-plugins-base-libs: for multimedia content, e.g. in Impress [installed]
    libpaper: takes care of papersize [installed]
    postgresql-libs: for postgresql-connector
    mariadb-libs: for mysql-connector
    coin-or-mp: required by the Calc solver
    gtk3: for GTK3 integration [installed]
    gtk4: for GTK4 integration (experimental) [installed]
    kio: for KF6 KDE desktop integration [installed]
    qt6-multimedia: for Qt6 desktop integration [installed]
    rhino: for JavaScript support
:: Running post-transaction hooks...
(1/4) Updating the MIME type database...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
[mirto@bianco500 ~]$ 
1 Like

Hi @dmt I’m sorry.

The installation worked; but libreoffice do not start:

[mirto@bianco500 ~]$ LANG=C libreoffice
/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libboost_locale.so.1.91.0: cannot open shared object file: No such file or directory
[mirto@bianco500 ~]$ 

BTW I see 4 packages containing this lib; but I don’t know what is the correct one

boost183-libs  1.83.0-2                                                                                                                                                                                                                  AUR
    Free peer-reviewed portable C++ source libraries (runtime libraries)
boost1.86-libs  1.86.0-1                                                                                                                                                                                                                 AUR
    Free peer-reviewed portable C++ source libraries (version 1.86) (runtime libraries)
boost-65-compat-libs  1.65.1-11                                                                                                                                                                                                          AUR
    Free peer-reviewed portable C++ source libraries - compat version - runtime libraries
boost-libs  1.91.0-1 [Installed]                                                                                                                                                                                                       extra
    Free peer-reviewed portable C++ source libraries (runtime libraries)
[mirto@bianco500 ~]$ 

What can I do?

Did you finish the update?

sudo pacman -Syu

Hi @dmt you are right: I didn’t finish the update.,
I finished the update, rebooted and everything works.

Thanks a lot.

1 Like