libreoffice install should not use relative sym-link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
/usr/lib/
** root@agnes ** /usr/bin ** Thu Sep 16 11:09:37
# ls -la *office
lrwxrwxrwx 1 root root 36 Sep 16 10:56 libreoffice -> ../lib/
-rwxr-xr-x 1 root root 53 Aug 2 01:31 loffice
lrwxrwxrwx 1 root root 36 Sep 16 11:05 soffice -> ../lib/
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/
-rwxr-xr-x 1 root root 53 Aug 2 01:31 loffice
lrwxrwxrwx 1 root root 36 Sep 16 11:05 soffice -> /usr/lib/