Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an awful lot of problems on my system, but this seems to be the starting point. So I'd like to start with it, I'll ask the rest later.

Whenever I'm trying to perform a command, I get a message:

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

I tried the thread called >How do I fix a “Could not get lock /var/lib/dpkg/lock” problem?< and executed the commands:

sudo rm /var/lib/apt/lists/lock

Which results in a:

rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory

user@user-laptop:~$

When I tried:

sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock

it froze my system solid.

So, any ideas? Thank you very much!

NOTE: I'm a complete beginner in terms of linux, I have no idea how it works, so please, give me a grandma explanation, as much as possible. Thank you

share|improve this question
    
Post the original command that resulted in the original error message. If you system is frozen, hard reboot ? Also this problem is perhaps with apt, but unrelated to gnome. It could also be a symptom of a larger problem such as with your hardware. –  bodhi.zazen Oct 28 '13 at 17:32
    
The whole thing began when I wanted to install AdBlock. It wanted me to install Chrome (which I am using just now), but than it complained about broken dependencies. I don't remember what the exact command was. –  Barney Oct 28 '13 at 17:52
    
well, reboot and try again. if you still have a problem we need more info and the commands with the error message. –  bodhi.zazen Oct 28 '13 at 18:45
    
Re Tried: sudo sh -c "apt-get update;apt-get dist-upgrade;apt-get autoremove;apt-get autoclean" Which ends: –  Barney Oct 28 '13 at 19:05
    
E: Some index files failed to download, they have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree Reading state information... Done You might want to run apt-get -f install' to correct these. The following packages have unmet dependencies: linux-image-generic: Depends: linux-image-2.6.32-46-generic but it is not installed E: Unmet dependencies. Try using -f. Reading package lists... Done Building dependency tree Reading state information... Done You might want to run apt-get -f install' to correct these. –  Barney Oct 28 '13 at 19:05
show 10 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.