尝试使用dpkg安装.deb软件包后apt-get卡住了

时间:2017-12-18 15:14:08

标签: apt dpkg

我在下载.deb文件后尝试安装软件包。命令是:

dpkg -i minergate-cli-release.deb

该软件包显然需要访问不再在线的链接,因此我获得了无数的超时:

Setting up minergate-cli (4.05) ...
--2017-12-18 16:04:21--  https://minergate.com/repo/deb/repo-pub.key
Resolving minergate.com (minergate.com)... 136.243.102.167, 88.99.142.163, 94.130.143.162, ...
Connecting to minergate.com (minergate.com)|136.243.102.167|:443... failed: Connection timed out.

所以我用Ctrl + C杀了它。但是现在每当我尝试使用apt-get安装或删除软件包时,它都会回到尝试连接到minergate镜像的状态。

我尝试了更多绝望的东西,但它始终以E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.结束。

dpkg --configure -a恢复了Connecting to minergate.com的事情。

如何中断初始dpkg -i ...命令任何帮助都会受到极大的赞赏!

1 个答案:

答案 0 :(得分:0)

1.您从https://minergate.com/download/deb-cli下载.deb文件,然后解压缩,将'minergate'文件夹上传到linux,执行./minergate-cli脚本启动,无需安装。

  1. 检查你的http连接到Internet,这意味着linux和Minergate之间的http连接不正常。
相关问题