Bug#743951: openssh-client: upgrading from 1:6.0p1-4 to 1:6.0p1-4+deb7u1 fails in configure phase with error in update-alternatives
Package: openssh-client
Version: 1:6.0p1-4+deb7u1
Severity: important
Dear Maintainer,
* What led up to the situation?
apt-get update && apt-get dist-upgrade on a stable wheezy system
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
Unpacking replacement openssh-client ...
Preparing to replace openssl 1.0.1e-2+deb7u4 (using
.../openssl_1.0.1e-2+deb7u6_amd64.deb) ...
...
Setting up openssh-client (1:6.0p1-4+deb7u1) ...
update-alternatives: unknown argument `--quiet'
Usage: update-alternatives --install <link> <name> <path> <priority>
update-alternatives --remove <name> <path>
update-alternatives --help
<link> is the link pointing to the provided path (ie. /usr/bin/foo).
<name> is the name in /usr/lib/opkg/alternatives/alternatives (ie. foo)
<path> is the name referred to (ie. /usr/bin/foo-extra-spiffy)
<priority> is an integer; options with higher numbers are chosen.
dpkg: error processing openssh-client (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of openssh-server:
openssh-server depends on openssh-client (= 1:6.0p1-4+deb7u1); however:
Package openssh-client is not configured yet.
dpkg: error processing openssh-server (--configure):
dependency problems - leaving unconfigured
Setting up openssl (1.0.1e-2+deb7u6) ...
Processing triggers for menu ...
Errors were encountered while processing:
openssh-client
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
* What outcome did you expect instead?
Successful upgrade.
*** End of the template - remove these lines ***
-- System Information:
Debian Release: 7.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10.34+cf-s10 (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openssh-client depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii dpkg 1.16.12
ii libc6 2.13-38+deb7u1
ii libedit2 2.11-20080614-5
ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u1
ii libselinux1 2.1.9-5
ii libssl1.0.0 1.0.1e-2+deb7u6
ii passwd 1:4.1.5.1-1
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages openssh-client recommends:
ii openssh-blacklist 0.4.1+nmu1
ii openssh-blacklist-extra 0.4.1+nmu1
ii xauth 1:1.0.7-1
Versions of packages openssh-client suggests:
pn keychain <none>
pn libpam-ssh <none>
pn monkeysphere <none>
pn ssh-askpass <none>
-- no debconf information
Reply to: