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

Today I have tried to update the package lists and I have encountered strange error

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

What should I change now ? Something in /etc/apt/sources.list ?


I got this error message every time I ran sudo apt-get update with an encrypted home directory, while I was in my home directory.

If I cd'd to / first, the error went away.

(Ubuntu Server 13.10)


I had this happen today. It was because my current directory was mounted with sshfs. I don't know if it would occur with any FUSE file system or just sshfs, but the answer was to just get out of that directory. That is:

cd
sudo apt-get update

Reinstalling libapt-pkg helped .

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