rmehra@ubuntu:~/Desktop/ssh_package$ sudo dpkg -i openssh-client_1%3a5.3p1-3ubuntu7_i386.deb
(Reading database ... 172254 files and directories currently installed.)
Preparing to unpack openssh-client_1%3a5.3p1-3ubuntu7_i386.deb ...
Unpacking openssh-client:i386 (1:5.3p1-3ubuntu7) over (1:5.3p1-3ubuntu7) ...
dpkg: dependency problems prevent configuration of openssh-client:i386:
openssh-client:i386 depends on libc6 (>= 2.11).
openssh-client:i386 depends on libedit2 (>= 2.5.cvs.20010821-1).
openssh-client:i386 depends on libgssapi-krb5-2 (>= 1.7+dfsg).
openssh-client:i386 depends on libssl0.9.8 (>= 0.9.8k-1).
openssh-client:i386 depends on zlib1g (>= 1:1.1.4).
dpkg: error processing package openssh-client:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
openssh-client:i386
rmehra@ubuntu:~/Desktop/ssh_package$
答案1
而不是运行:
sudo dpkg -r openssh-client
sudo apt-get install ssh