updating sources.list problem

because of my windows OS can’t connect to the internet due to some unknown problem then I decided to install ubuntu to solve this problem and to my amazement it does work. the internet connection in ubuntu work charmingly rather than when I use windows. I think there is some great flaws in windows XP system.

so anyway when I decided to update the sources.list, I encountered this trouble.

 jacobian@ubuntu:~$ sudo 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/

I really don’t know what caused it, but then searcing around the internet I found the workaround below.

you need to type this into your terminal.

jacobian@ubuntu:~$ sudo rm /var/lib/apt/lists/* -vf

now the problem is solved then I can use sudo apt-get update with no problem whatsoever.
Ubuntu is just a life saver when you feel windows let you down.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s