apt-get 安装不起作用

apt-get 安装不起作用

sudo apt-get install <anything>在我的终端上不起作用每当我尝试执行此操作时,它都会显示以下错误消息:-

Err http://in.archive.ubuntu.com/ubuntu/ precise-updates/main vim-runtime all 2:7.3.429-2ubuntu2.1
  Could not connect to 111.125.139.199:8105 (111.125.139.199). - connect (111: Connection refused)
Err http://in.archive.ubuntu.com/ubuntu/ precise-updates/main vim amd64 2:7.3.429-2ubuntu2.1
  Unable to connect to 111.125.139.199:8105:
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/v/vim/vim-runtime_7.3.429-2ubuntu2.1_all.deb  Could not connect to 111.125.139.199:8105 (111.125.139.199). - connect (111: Connection refused)
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/v/vim/vim_7.3.429-2ubuntu2.1_amd64.deb  Unable to connect to 111.125.139.199:8105:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

答案1

我怀疑您使用的镜像中的档案有问题。

尝试打开“更新管理器”,单击“设置”,然后在“Ubuntu 软件”选项卡上选择不同的“从...下载”服务器。

然后再次检查更新,然后apt-get install重试。

相关内容