我在 cmd 下运行
sudo dpkg -i openssh-client_1%3a5.3p1-3ubuntu7_i386.deb
并收到此错误:
(Reading database ... 197494 files and directories currently installed.)
Preparing to unpack openssh-client_1%3a5.3p1-3ubuntu7_i386.deb ...
Unpacking openssh-client (1:5.3p1-3ubuntu7) over (1:5.3p1-3ubuntu7) ...
dpkg: dependency problems prevent configuration of openssh-client:
openssh-client depends on libssl0.9.8 (>= 0.9.8k-1).
dpkg: error processing package openssh-client (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
openssh-client
请提出建议
答案1
如果您尝试安装特定版本的 openssh 服务器,您可以通过 APT 来执行此操作,而不必使用 dpkg 来执行此操作。
sudo apt-get install openssh-client=1%3a5.3p1-3ubuntu7:i386
这样,APT 将为您安装任何依赖项(例如 libssl)。
我会检查版本字符串的格式,因为它看起来有点奇怪。