做了update和upgrade 还是一样
reborn@ubuntu:~$ sudo apt-get upgrade
[sudo] password for reborn:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
ssh : Depends: openssh-server but it is not installed
E: Unmet dependencies. Try using -f.
reborn@ubuntu:~$ sudo apt-get update
Get:1
http://security.ubuntu.com maverick-security Release.gpg [198B]
Ign
http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign
http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en_US
Ign
http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign
http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_US
Ign
http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign
http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_US
Ign
http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Get:2
http://us.archive.ubuntu.com maverick Release.gpg [198B]
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Get:3
http://extras.ubuntu.com maverick Release.gpg [72B]
Ign
http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_US
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_US
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Ign
http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_US
Get:4
http://security.ubuntu.com maverick-security Release [31.4kB]
Get:5
http://us.archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign
http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Hit
http://extras.ubuntu.com maverick Release
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_US
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_US
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_US
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign
http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_US
Hit
http://us.archive.ubuntu.com maverick Release
Hit
http://extras.ubuntu.com maverick/main Sources
Get:6
http://us.archive.ubuntu.com maverick-updates Release [31.4kB]
Get:7
http://security.ubuntu.com maverick-security/main Sources [35.2kB]
Hit
http://extras.ubuntu.com maverick/main i386 Packages
Get:8
http://security.ubuntu.com maverick-security/restricted Sources [14B]
Get:9
http://security.ubuntu.com maverick-security/universe Sources [13.4kB]
Get:10
http://security.ubuntu.com maverick-security/multiverse Sources [649B]
Get:11
http://security.ubuntu.com maverick-security/main i386 Packages [121kB]
Hit
http://us.archive.ubuntu.com maverick/main Sources
Hit
http://us.archive.ubuntu.com maverick/restricted Sources
Hit
http://us.archive.ubuntu.com maverick/universe Sources
Hit
http://us.archive.ubuntu.com maverick/multiverse Sources
Hit
http://us.archive.ubuntu.com maverick/main i386 Packages
Hit
http://us.archive.ubuntu.com maverick/restricted i386 Packages
Hit
http://us.archive.ubuntu.com maverick/universe i386 Packages
Hit
http://us.archive.ubuntu.com maverick/multiverse i386 Packages
Get:12
http://us.archive.ubuntu.com maverick-updates/main Sources [95.5kB]
Get:13
http://security.ubuntu.com maverick-security/restricted i386 Packages [14B]
Get:14
http://security.ubuntu.com maverick-security/universe i386 Packages [54.9kB]
Get:15
http://security.ubuntu.com maverick-security/multiverse i386 Packages [1,660B]
Get:16
http://us.archive.ubuntu.com maverick-updates/restricted Sources [778B]
Get:17
http://us.archive.ubuntu.com maverick-updates/universe Sources [39.0kB]
Get:18
http://us.archive.ubuntu.com maverick-updates/multiverse Sources [1,496B]
Get:19
http://us.archive.ubuntu.com maverick-updates/main i386 Packages [265kB]
Get:20
http://us.archive.ubuntu.com maverick-updates/restricted i386 Packages [1,797B]
Get:21
http://us.archive.ubuntu.com maverick-updates/universe i386 Packages [113kB]
Get:22
http://us.archive.ubuntu.com maverick-updates/multiverse i386 Packages [2,844B]
Fetched 810kB in 29s (27.3kB/s)
Reading package lists... Done
reborn@ubuntu:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
ssh : Depends: openssh-server but it is not installed
E: Unmet dependencies. Try using -f.
reborn@ubuntu:~$ sudo apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
rssh molly-guard openssh-blacklist openssh-blacklist-extra
The following NEW packages will be installed:
openssh-server
0 upgraded, 1 newly installed, 0 to remove and 287 not upgraded.
2 not fully installed or removed.
Need to get 0B/302kB of archives.
After this operation, 819kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 121798 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.5p1-4ubuntu5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.5p1-4ubuntu5_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.5p1-4ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
reborn@ubuntu:~$