apt-get update:无法更改为(无法访问)// – chdir(2:没有此类文件或目录)

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

$ 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) 

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

每当我使用加密的主目录运行sudo apt-get update ,我收到此错误消息,而我在我的主目录中。

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

(Ubuntu Server 13.10)

我今天发生了这件事。 这是因为我当前的目录是用sshfs挂载的。 我不知道它是否会出现在任何FUSE文件系统或只是sshfs,但答案是刚刚离开该目录。 那是:

 cd sudo apt-get update 

重新安装libapt-pkg帮助。

 sudo apt-get install --reinstall libapt-pkg4.12