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

aptpackage-managementupdates

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 ?

Best Answer

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