![]() |
not able to install vlc through terminal in ubuntu12.04
hey
i want to install vlc from terminal.i typed sudo apt-get update it shows E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ don't know what to do can anybody help me out with regards ajay |
That will happen if you have the Software Manager open when you run the command. If you don't, I'm not sure what the problem is.
|
Check whether any other process holding the lock First.If not rename the lock and try to update
Rename lock to lock.bak sudo mv /var/lib/dpkg/lock /var/lib/dpkg/lock.bak sudo apt-get update |
Quote:
i typed the followind commands sudo fuser -cuk /var/lib/dpkg/lock sudo rm -f /var/lib/dpkg/lock from first command the computer screen goes blank and i have to press the start up button to restart the computer then after rebooting i typed the second command in the terminal and after that i typed sudo apt-get update it works fine but the speed is very-very-very slow and it is stuck at 25%working ,in between it shows Err https://extras.ubuntu.com precise/main Sources Couldn't resolve host 'extras.ubuntu.com' Err https://extras.ubuntu.com precise/main i386 Packages Couldn't resolve host 'extras.ubuntu.com' how to get rid of this? i changed http to https does it make any differences?? should i download apt-fast before sudo apt-get update?? |
try typing
Code:
sudo apt-get -f installCode:
sudo apt-get update && apt-get upgrade |
Quote:
Err https://extras.ubuntu.com precise/main Sources couldn't connect to host Err https://extras.ubuntu.com precise/main i386 Packages couldn't connect to host Ign https://archive.ubuntu.com precise-backports Release did my linux distro is corrupted or not?? internet is very slow in linux what can i do?? |
I am not an expert but I think your connection will have something to do with this problem. Are you able to test your system in a different location with a hot spot? perhaps in a coffee shop or in a library?
I don't think your installation is corrupted and perhaps with a different connection it might work. but really I don't know much . Good luck to you. |
Quote:
Code:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) |
Quote:
thanks for reply with regards ajay |
| All times are GMT -5. The time now is 05:46 AM. |