lost and found ( for me ? )

small tips : Ubuntu : apt-get error : open (11: Resource temporarily unavailable)



# apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

Just remove /var/lib/apt/lists/lock file.
# rm /var/lib/apt/lists/lock
# rm: remove regular empty file `/var/lib/apt/lists/lock'? y

After removing the lock file , you will perform apt-get w/o the error.
# apt-get update
Ign http://jp.archive.ubuntu.com oneiric InRelease
Ign http://jp.archive.ubuntu.com oneiric-updates InRelease

In my case , this occurred after the network connectivity had been lost and I had aborted the apt-get command.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.