Bug#1002817: [openssh-client] package setup error: <link> and <path> can't be the same

Lyndon Brown <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <afc4b47e459f80ce671176b03fab7967be2a9714.camel__14737.5846676127$1640771850$gmane$org@gmail.com>
Package: openssh-client
Version: 1:8.7p1-3

Upgrading to this new version just now on Sid I encountered errors.

Relevant `sudo aptitude upgrade` output:

Preparing to unpack .../openssh-client_1%3a8.7p1-3_amd64.deb ...
Unpacking openssh-client (1:8.7p1-3) over (1:8.7p1-2) ...
Preparing to unpack .../libpipeline1_1.5.4-2_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.4-2) over (1.5.4-1) ...
Preparing to unpack .../archives/lzip_1.22-5_amd64.deb ...
Unpacking lzip (1.22-5) over (1.22-4) ...
Setting up libpipeline1:amd64 (1.5.4-2) ...
Setting up openssh-client (1:8.7p1-3) ...
update-alternatives: <link> and <path> can't be the same

Use 'update-alternatives --help' for program usage information.
dpkg: error processing package openssh-client (--configure):
 installed openssh-client package post-installation script subprocess returned error exit status 2
Setting up lzip (1.22-5) ...
update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip (lzip) in auto mode
update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-compressor (lzip-compressor) in auto mode
update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-decompressor (lzip-decompressor) in auto mode
Processing triggers for libc-bin (2.33-1) ...
Processing triggers for man-db (2.9.4-4) ...
Processing triggers for install-info (6.8-3) ...
Errors were encountered while processing:
 openssh-client
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up openssh-client (1:8.7p1-3) ...
update-alternatives: <link> and <path> can't be the same

Use 'update-alternatives --help' for program usage information.
dpkg: error processing package openssh-client (--configure):
 installed openssh-client package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 openssh-client
                                         
Current status: 0 (-3) upgradable
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.