Bug#1141420: openssh-client: /usr/share/doc/openssh-client is an absolute symlink after upgrade
Sven Joachim <[email protected]> Sat, 04 Jul 2026 11:47:12 +0200
| Newsgroups | gmane.linux.debian.devel.ssh |
|---|---|
| Message-ID | <87fr1znl27.fsf__5498.84287627123$1783160252$gmane$org@turtle.gmx.de> |
Package: openssh-client Version: 1:10.3p1-8 Upgrading from version 1:10.3p1-5 turns /usr/share/doc/openssh-client into a symlink, but it is an absolute symlink rather than a relative one as recommended by policy and shipped by the package: ,---- | # apt install openssh-client | Upgrading: =20 | openssh-client |=20 | Installing dependencies: | openssh-common |=20 | [...] | Preparing to unpack .../openssh-client_1%3a10.3p1-8_amd64.deb ... | Unpacking openssh-client (1:10.3p1-8) over (1:10.3p1-5) ... | Selecting previously unselected package openssh-common. | Preparing to unpack .../openssh-common_1%3a10.3p1-8_amd64.deb ... | Unpacking openssh-common (1:10.3p1-8) ... | Setting up openssh-common (1:10.3p1-8) ... | Setting up openssh-client (1:10.3p1-8) ... | # ls -ld /usr/share/doc/openssh-client | lrwxrwxrwx 1 root root 29 Jul 4 09:25 /usr/share/doc/openssh-client -> = /usr/share/doc/openssh-common `---- I think in debian/*.maintscript a relative path for the symlink target ought to be used, but I have not tested that. Suggested patch: sed -i 's#/usr/share/doc/openssh-common#openssh-common#' debian/*.maintscr= ipt =2D- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386