apt-get update : Unable to change to (unreachable)// - chdir (2: No such file or directory)

Pat*_*ryk 5 updates package-management apt

今天我尝试更新包列表,但遇到了奇怪的错误

$ sudo apt-get update
...
Ign http://archive.ubuntu.com saucy-security/universe Translation-en_US
Ign http://archive.ubuntu.com saucy-proposed/main Translation-en_US
Ign http://archive.ubuntu.com saucy-proposed/restricted Translation-en_US
Ign http://archive.ubuntu.com saucy-proposed/universe Translation-en_US
Fetched 496 kB in 38s (13.0 kB/s)
E: Unable to change to (unreachable)// - chdir (2: No such file or directory)
Run Code Online (Sandbox Code Playgroud)

我现在应该改变什么?东西在/etc/apt/sources.list

Bar*_*lly 11

每次运行sudo apt-get update加密的主目录时,我都会收到此错误消息,而我在主目录中。

如果我先cd /,错误就消失了。

(Ubuntu 服务器 13.10)


Pat*_*ryk 3

重新安装libapt-pkg有帮助。

sudo apt-get install --reinstall libapt-pkg4.12
Run Code Online (Sandbox Code Playgroud)