NewbieNik
July 5th, 2009, 07:48 PM
OK, so I updated Jaunty 64bit around 3 weeks ago. Since then I cannot run any apt-get commands even using sudo and su.
Each time I get the error that says:-
E: Could not open lock file /var/lib/dpkg/lock - open (21 Is a directory)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Looking in the /var/lib/dpkg directory there is indeed a "lock" folder. I have tried renaming, removing and verbally abusing this folder, but each time it is immediately recreated. I have tried killing the update process, but not sure this worked as there was no difference (If someone could pass me the correct method to kill this process, it would be appreciated)
As this affects all apt-get commands I cannot run updates, purges nor forces.
So how do I fix this problem? I REALLY don't want to do another re-install (3rd one on this system)
Thanks in advance.
Each time I get the error that says:-
E: Could not open lock file /var/lib/dpkg/lock - open (21 Is a directory)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Looking in the /var/lib/dpkg directory there is indeed a "lock" folder. I have tried renaming, removing and verbally abusing this folder, but each time it is immediately recreated. I have tried killing the update process, but not sure this worked as there was no difference (If someone could pass me the correct method to kill this process, it would be appreciated)
As this affects all apt-get commands I cannot run updates, purges nor forces.
So how do I fix this problem? I REALLY don't want to do another re-install (3rd one on this system)
Thanks in advance.