apt-get update 在“正在读取软件包列表......”后永远挂起并且无法完成

apt-get update 在“正在读取软件包列表......”后永远挂起并且无法完成

我在 Windows 10 主机上有一个运行 Ubuntu 14.04.1 LTS 的 VM 客户机。我通过 Vagrant 访问它。

最近,我在 Windows 上更新了 VirtualBox,但没有意识到我的 Guest Additions 在 Ubuntu 客户机上落后了。我试图更新一些东西,但是当我在apt-get update执行完操作后运行vagrant ssh以连接到该框时,它看起来正在运行,然后就Reading package lists...永远挂在这个阶段(就像我从来没有看到它完成一样,即使运行了一整夜)。

以下是全文:

$ v ssh
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-36-generic i686)

 * Documentation:  https://help.ubuntu.com/

  System information as of Wed Nov 15 05:41:36 UTC 2017

  System load:  0.22               Processes:           93
  Usage of /:   11.7% of 39.34GB   Users logged in:     0
  Memory usage: 3%                 IP address for eth0: 10.0.2.15
  Swap usage:   0%

  Graph this data and manage this system at:
    https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

339 packages can be updated.
238 updates are security updates.

New release '16.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


sudo apt-get install virtualbox-guest-dkms
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package virtualbox-guest-dkms
sudo apt-get update
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Ign http://toolbelt.heroku.com ./ InRelease
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:3 http://security.ubuntu.com trusty-security/main Sources [146 kB]
Hit http://toolbelt.heroku.com ./ Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://toolbelt.heroku.com ./ Release
Get:4 http://security.ubuntu.com trusty-security/universe Sources [66.4 kB]
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://toolbelt.heroku.com ./ Packages
Get:5 http://security.ubuntu.com trusty-security/main i386 Packages [632 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main Sources [407 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:7 http://security.ubuntu.com trusty-security/universe i386 Packages [193 kB]
Ign http://toolbelt.heroku.com ./ Translation-en_US
Ign http://toolbelt.heroku.com ./ Translation-en
Get:8 http://archive.ubuntu.com trusty-updates/universe Sources [195 kB]
Get:9 http://security.ubuntu.com trusty-security/main Translation-en [370 kB]
Get:10 http://security.ubuntu.com trusty-security/universe Translation-en [111 kB]
Get:11 http://archive.ubuntu.com trusty-updates/main i386 Packages [977 kB]
Get:12 http://archive.ubuntu.com trusty-updates/universe i386 Packages [432 kB]
Get:13 http://archive.ubuntu.com trusty-updates/main Translation-en [511 kB]
Get:14 http://archive.ubuntu.com trusty-updates/universe Translation-en [234 kB]
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 4,405 kB in 10s (402 kB/s)
Reading package lists...

我不知道为什么它无法完成,或者如何判断它是否正在取得进展。我的目标是更新 Virtualbox Guest Additions。我的下一步应该是什么?

相关内容