[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#402808: upgrade-reports: sarge -> etch: ssh conflicts with old version



Package: upgrade-reports
Severity: normal


Situation: Upgrading from sarge to etch

Procedure used: 
* Replaced "sarge" with "etch" in soures.list.
  Resulting sources.list: See below
* apt-get update
* apt-get dist-upgrade

Result: apt-get dist-upgrade failed, with error message:
Errors were encountered while processing:
 /var/cache/apt/archives/openssh-server_1%3a4.3p2-7_i386.deb
 /var/cache/apt/archives/openssh-client_1%3a4.3p2-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Another error message was found in the earlier output.  I have unfortunately lost
it, but its point seemed to be that the file /etc/init.d/ssh already existed in 
the old ssh package.  (The old ssh package was a transitional package that could have 
been removed, according to info found using aptitude.)

Solution: Removing the old ssh package using aptitude seemed to solve the problem.




-----------------
undring:~# apt-cache policy openssh-server ssh ; dpkg -L ssh
openssh-server:
  Installed: (none)
  Candidate: 1:4.3p2-7
  Version Table:
     1:4.3p2-7 0
        500 http://ftp.no.debian.org etch/main Packages
ssh:
  Installed: 1:4.3p2-7
  Candidate: 1:4.3p2-7
  Version Table:
 *** 1:4.3p2-7 0
        500 http://ftp.no.debian.org etch/main Packages
        100 /var/lib/dpkg/status
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/openssh-client
/usr/share/doc/ssh
/etc/pam.d/ssh
/etc/default/ssh
/etc/init.d/ssh
/etc/ssh/moduli
/etc/ssh/ssh_config






sources.list:
#deb http://ftp.no.debian.org/debian/ etch main

deb http://ftp.no.debian.org/debian/ etch main non-free contrib
deb-src http://ftp.no.debian.org/debian/ etch main non-free contrib

deb http://security.debian.org/ etch/updates main non-free contrib
#deb http://security.debian.org/ etch/updates main 

deb http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free
deb-src http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free

# Debian unofficial
# 2006-01-28, for bladeenc
#deb http://ftp.debian-unofficial.org/debian etch main contrib non-free restricted


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-3-k7
Locale: LANG=nn_NO, LC_CTYPE=nn_NO (charmap=ISO-8859-1)



Reply to: