root@i-v0dxq3zy:/etc/apt# apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
openssh-client
Suggested packages:
ssh-askpass libpam-ssh keychain monkeysphere openssh-blacklist openssh-blacklist-extra rssh molly-guard ufw
The following packages will be upgraded:
openssh-client openssh-server
2 upgraded, 0 newly installed, 0 to remove and 286 not upgraded.
Need to get 1,282 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1
http://cn.archive.ubuntu.com/ubuntu/ precise-security/main openssh-server amd64 1:5.9p1-5ubuntu1.10 [339 kB]
Get:2
http://cn.archive.ubuntu.com/ubuntu/ precise-security/main openssh-client amd64 1:5.9p1-5ubuntu1.10 [943 kB]
Fetched 1,282 kB in 1s (1,140 kB/s)
Preconfiguring packages ...
(Reading database ... 71251 files and directories currently installed.)
Preparing to replace openssh-server 1:5.9p1-5ubuntu1.1 (using .../openssh-server_1%3a5.9p1-5ubuntu1.10_amd64.deb) ...
Unpacking replacement openssh-server ...
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.9p1-5ubuntu1.10_amd64.deb (--unpack):
unable to make backup link of `./usr/sbin/sshd' before installing new version: Operation not permitted
Preparing to replace openssh-client 1:5.9p1-5ubuntu1.1 (using .../openssh-client_1%3a5.9p1-5ubuntu1.10_amd64.deb) ...
Unpacking replacement openssh-client ...
dpkg: error processing /var/cache/apt/archives/openssh-client_1%3a5.9p1-5ubuntu1.10_amd64.deb (--unpack):
unable to make backup link of `./usr/bin/ssh' before installing new version: Operation not permitted
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for ureadahead ...
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.9p1-5ubuntu1.10_amd64.deb
/var/cache/apt/archives/openssh-client_1%3a5.9p1-5ubuntu1.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)