You are not logged in.
Hi,
a way to have programs from /opt in the $PATH is to make symbolic links in a bin directory.
One day (begin of July) all link targets in /usr/local/bin changed from absolut paths to relative paths.
Most likely during an upgrade. On excalibur, not on daedalus.
cd /usr/local/bin
ls -l kpackage
kpackage -> /opt/trinity/bin/kpackage # original
kpackage -> ../../../opt/trinity/bin/kpackage # now
Why?
Offline
probably because usrmerge was pulled by some update, testing and unstable require usrmerge while stable doesn't.
Online
Thanks fro the reply. The accident happened about three weeks ago. usrmerge was installed months ago, before switching to excalibur.
After more digging, I guess it was the package symlinks, or a "cleaning" job using it.
All symbolic links in /usr/local/bin (pointing to another directory) have the same updated timestamp. In my case "2024-07-01 19:25:17", or 20 seconds after installation of the package "symlinks".
# /var/log/dpkg.log
(...)
2024-07-01 19:16:23 startup packages configure
2024-07-01 19:24:58 startup archives unpack
2024-07-01 19:24:58 install symlinks:amd64 <none> 1.4-4
2024-07-01 19:24:58 status half-installed symlinks:amd64 1.4-4
2024-07-01 19:24:58 status triggers-pending man-db:amd64 2.12.1-2
2024-07-01 19:24:58 status unpacked symlinks:amd64 1.4-4
2024-07-01 19:24:58 startup packages configure
2024-07-01 19:24:58 configure symlinks:amd64 1.4-4 <none>
2024-07-01 19:24:58 status unpacked symlinks:amd64 1.4-4
2024-07-01 19:24:58 status half-configured symlinks:amd64 1.4-4
2024-07-01 19:24:58 status installed symlinks:amd64 1.4-4
2024-07-01 19:24:58 trigproc man-db:amd64 2.12.1-2 <none>
2024-07-01 19:24:58 status half-configured man-db:amd64 2.12.1-2
2024-07-01 19:24:59 status installed man-db:amd64 2.12.1-2
2024-07-02 15:23:51 startup archives unpack
(...)
package: symlinks
summary: scan/change symbolic links
version: 1.4-4
description: Symlinks scans directories for symbolic links and lists them on stdout.
Each link is prefixed with a classification of relative, absolute, dangling, messy, lengthy or other_fs. .
Symlinks can also convert absolute links (within the same filesystem)
to relative links and can delete messy and dangling links.
Offline
Today I looked at some back-up copies in /root/_backup/usr/local/bin/ ... and found symliks "corrected" too.
That's not funny!
apt purge symlinks
Offline