Quote:
Originally Posted by arun5002
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
|
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??