Hi, I had a similar problem here: [1] cb@fermi:~ $LC_ALL=C sudo apt-get install -f Reading package lists... Done Building dependency tree... Done Correcting dependencies... Done The following extra packages will be installed: openssh-client openssh-server Suggested packages: ssh-askpass rssh molly-guard The following NEW packages will be installed: openssh-client openssh-server 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded. 430 not fully installed or removed. Need to get 0B/826kB of archives. After unpacking 1966kB of additional disk space will be used. Do you want to continue [Y/n]?· Preconfiguring packages ... (Reading database ... 49808 files and directories currently installed.) Unpacking openssh-client (from .../openssh-client_1%3a4.3p2-7_i386.deb) ... Transferring ownership of conffile /etc/ssh/moduli ... Transferring ownership of conffile /etc/ssh/ssh_config ... dpkg: error processing /var/cache/apt/archives/openssh-client_1%3a4.3p2-7_i386.deb (--unpack): trying to overwrite `/etc/ssh/ssh_config', which is also in package ssh Aborting ownership transfer of conffile /etc/ssh/moduli ... Aborting ownership transfer of conffile /etc/ssh/ssh_config ... Unpacking openssh-server (from .../openssh-server_1%3a4.3p2-7_i386.deb) ... Transferring ownership of conffile /etc/default/ssh ... Transferring ownership of conffile /etc/init.d/ssh ... Transferring ownership of conffile /etc/pam.d/ssh ... dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a4.3p2-7_i386.deb (--unpack): trying to overwrite `/etc/init.d/ssh', which is also in package ssh dpkg-deb: subprocess paste killed by signal (Broken pipe) Aborting ownership transfer of conffile /etc/default/ssh ... Aborting ownership transfer of conffile /etc/init.d/ssh ... Aborting ownership transfer of conffile /etc/pam.d/ssh ... Errors were encountered while processing: /var/cache/apt/archives/openssh-client_1%3a4.3p2-7_i386.deb /var/cache/apt/archives/openssh-server_1%3a4.3p2-7_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [127] cb@fermi:~ $LC_ALL=C apt-cache policy ssh openssh-client openssh-server ssh: Installed: 1:4.3p2-7 Candidate: 1:4.3p2-7 Version table: *** 1:4.3p2-7 0 700 http://ftp2.de.debian.org etch/main Packages 100 /var/lib/dpkg/status 1:3.8.1p1-8.sarge.6 0 700 http://security.debian.org sarge/updates/main Packages 1:3.8.1p1-8.sarge.4 0 700 http://ftp2.de.debian.org sarge/main Packages openssh-client: Installed: (none) Candidate: 1:4.3p2-7 Version table: 1:4.3p2-7 0 700 http://ftp2.de.debian.org etch/main Packages openssh-server: Installed: (none) Candidate: 1:4.3p2-7 Version table: 1:4.3p2-7 0 700 http://ftp2.de.debian.org etch/main Packages relevant parts from /var/log/dpkg.log, doing a dist-upgrade: 2006-12-14 13:53:36 upgrade ssh 1:3.8.1p1-8.sarge.4 1:4.3p2-7 2006-12-14 13:53:36 status half-configured ssh 1:3.8.1p1-8.sarge.4 2006-12-14 13:53:37 status unpacked ssh 1:3.8.1p1-8.sarge.4 2006-12-14 13:53:37 status half-installed ssh 1:3.8.1p1-8.sarge.4 2006-12-14 13:53:37 status half-installed ssh 1:3.8.1p1-8.sarge.4 2006-12-14 13:53:37 status unpacked ssh 1:4.3p2-7 2006-12-14 13:53:37 status unpacked ssh 1:4.3p2-7 2006-12-14 13:53:38 install openssh-server <keine> 1:4.3p2-7 2006-12-14 13:53:38 status half-installed openssh-server 1:4.3p2-7 2006-12-14 13:53:46 status not-installed openssh-server <keine> 2006-12-14 13:53:46 install libedit2 <keine> 2.9.cvs.20050518-2.2 2006-12-14 13:53:46 status half-installed libedit2 2.9.cvs.20050518-2.2 2006-12-14 13:53:46 status unpacked libedit2 2.9.cvs.20050518-2.2 2006-12-14 13:53:46 status unpacked libedit2 2.9.cvs.20050518-2.2 2006-12-14 13:53:47 install openssh-client <keine> 1:4.3p2-7 2006-12-14 13:53:47 status half-installed openssh-client 1:4.3p2-7 2006-12-14 13:53:50 status not-installed openssh-client <keine> The first command above was from a later try. I fixed the problem with apt-get remove ssh, after which openssh-{server,client} installed fine. Christoph -- cb@df7cb.de | http://www.df7cb.de/
Attachment:
signature.asc
Description: Digital signature