Public bug reported: # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 21.04 Release: 21.04 Codename: hirsute
/usr/lib/libreoffice/program/soffice is symlinked twice into /usr/bin as libreoffice and soffice ** root@agnes ** /usr/bin ** Thu Sep 16 11:09:37 # ls -la *office lrwxrwxrwx 1 root root 36 Sep 16 10:56 libreoffice -> ../lib/libreoffice/program/soffice -rwxr-xr-x 1 root root 53 Aug 2 01:31 loffice lrwxrwxrwx 1 root root 36 Sep 16 11:05 soffice -> ../lib/libreoffice/program/soffice However, soffice is a shell script which derefs the symlink and then fails to find "../lib" If one recreates the symlinks with full paths, all is well ** root@agnes ** /usr/bin ** Thu Sep 16 11:16:37 # ls -la *office lrwxrwxrwx 1 root root 36 Sep 16 10:56 libreoffice -> /usr/lib/libreoffice/program/soffice -rwxr-xr-x 1 root root 53 Aug 2 01:31 loffice lrwxrwxrwx 1 root root 36 Sep 16 11:05 soffice -> /usr/lib/libreoffice/program/soffice ** Affects: libreoffice (Ubuntu) Importance: Undecided Status: New ** Tags: libreoffice -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1943838 Title: libreoffice install should not use relative sym-link Status in libreoffice package in Ubuntu: New Bug description: # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 21.04 Release: 21.04 Codename: hirsute /usr/lib/libreoffice/program/soffice is symlinked twice into /usr/bin as libreoffice and soffice ** root@agnes ** /usr/bin ** Thu Sep 16 11:09:37 # ls -la *office lrwxrwxrwx 1 root root 36 Sep 16 10:56 libreoffice -> ../lib/libreoffice/program/soffice -rwxr-xr-x 1 root root 53 Aug 2 01:31 loffice lrwxrwxrwx 1 root root 36 Sep 16 11:05 soffice -> ../lib/libreoffice/program/soffice However, soffice is a shell script which derefs the symlink and then fails to find "../lib" If one recreates the symlinks with full paths, all is well ** root@agnes ** /usr/bin ** Thu Sep 16 11:16:37 # ls -la *office lrwxrwxrwx 1 root root 36 Sep 16 10:56 libreoffice -> /usr/lib/libreoffice/program/soffice -rwxr-xr-x 1 root root 53 Aug 2 01:31 loffice lrwxrwxrwx 1 root root 36 Sep 16 11:05 soffice -> /usr/lib/libreoffice/program/soffice To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1943838/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp