Home > Could Not > Unable To Lock The Administration Directory /var/lib/dpkg/ Are You Root

Unable To Lock The Administration Directory /var/lib/dpkg/ Are You Root

Contents

Do streams take advantage of branch-prediction? Second law of thermodynamics doubt How to find punctures in inner tubes? It is usually the case that you need root privileges to install system packages, which is what apt-get does. Not the answer you're looking for? navigate here

share|improve this answer edited Nov 5 at 8:36 Younghyo Kim 33 answered Feb 7 '12 at 2:22 zurdo 3,87511318 4 ok... I'm perplexed. Browse other questions tagged linux linux-mint or ask your own question. Seven Impatient Knights Should a colleague receive authorship for identifying a research gap and reviewing a manuscript? http://askubuntu.com/questions/223484/permission-denied-are-you-root

Could Not Open Lock File /var/lib/dpkg/lock - Open (2: No Such File Or Directory)

Why wouldn't the part of the Earth facing the Sun a half year before be facing away from it now at noon? How important it is to drain all the oil when doing an oil change? Thanks in advance with any assistance on this. Adv Reply October 12th, 2011 #2 matt_symes View Profile View Forum Posts Private Message Visit Homepage I'm back baby.

  • You have two errors here. 1.
  • Do SSDs reduce the usefulness of Databases Colony on the moon - how fast can Santa deliver?
  • asked 2 years ago viewed 63698 times active 2 years ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title?
  • It appears that you do not have the sudo program installed.
  • If you are not root, the install command will not work at all.

If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. asked 6 years ago viewed 1124260 times active 1 month ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title? I didn't try removing the lock file, though, since that can cause problems with the system. Rm: Cannot Remove ‘/var/lib/dpkg/lock’: Permission Denied E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

apt-fast MAY be responsible for not unlocking properly; this happens sometimes when you abort apt-get or dpkg too. Unable To Lock The Administration Directory (/var/lib/dpkg/), Is Another Process Using It? Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. because you are not. Otherwise this is a sign that something else is installing or removing software and has locked the apt database while it performs the actions.

You are missing a GPG key 2. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. Did this just get changed in an update? Probably you run 2 instances of program or you have synaptic or some another package manager. –2707974 Apr 22 '14 at 7:41 @Parto Thanks it is solved :D –Yelmaaz Thank you jelche (campbell-justin-k) said on 2008-11-10: #4 Well, I've tired to install Beagle (apt-get install beagle); VLC ( apt-get install vlc ) so I guess the command is the (apt-get

Unable To Lock The Administration Directory (/var/lib/dpkg/), Is Another Process Using It?

This happens when you have just started the ubuntu. https://ubuntuforums.org/showthread.php?t=1858466 Close the program and run it again it should work.You may either have synaptic open, or have another terminal window open running apt-get, or have the update manager running.Check it and Could Not Open Lock File /var/lib/dpkg/lock - Open (2: No Such File Or Directory) Make sure that you are not running aptitude, synaptic or adept. Could Not Open File /var/lib/dpkg/lock What is the Method of Moments and how is it different from MLE?

However, once you are sure that's not the case, the following usually works for me. check over here The message itself tells you where the problem is: are you root? Leibowitz? The way to fix this is using sudo before the command: ➜ ~ apt-get update E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock Could Not Open Lock File /var/lib/dpkg/status Cydia

I never had to type sudo twice before... I got it by reading many answers to questions like this one. share|improve this answer edited Mar 14 at 17:39 Mokubai♦ 38.8k1196112 answered Jun 20 '12 at 4:51 roopunk 183115 add a comment| Your Answer draft saved draft discarded Sign up or his comment is here If you decide to do it, you can add this text to your question. –Eliah Kagan Jun 6 '12 at 9:10 1 I would suggest one more thing that you

Hope this helps jelche (campbell-justin-k) said on 2008-11-10: #6 I got as far as: sudo aptitude install libdvdread3 libdvdnav4 libdvdcss2 and I get this: E: Could not get lock /var/lib/dpkg/lock - Could Not Get Lock /var/lib/dpkg/lock Kali apt package-management dpkg share|improve this question edited Jul 2 at 10:33 Volker Siegel 6,37122145 asked Nov 30 '10 at 2:12 La Ode Adam Saputra 2,2203108 6 This is also true share|improve this answer edited Jul 21 at 14:16 terdon♦ 44.2k688155 answered Nov 30 '10 at 2:17 Martin Owens -doctormo- 16k34395 5 I was updating my software when I got the

Interview question "How long will you stay with us?" Is it possible to have 3 real numbers that have both their sum and product equal to 1?

What is the Method of Moments and how is it different from MLE? I am able to verify my username, (whoami returns my username), and I haven't been able to find any leads through Google or the StackExchange sites I have tried (superuser and This worked for me, as it was trying to finish something it stared before the machine was stopped previously, and couldn't figure it out on his own. –morynicz Sep 14 '13 Error Reading Lock File Not Enough Data Read Play mp3 and dvd under Ubuntu First please install https://help.ubuntu.com/community/RestrictedFormats You need to have extra repositories enabled..

Try runing the comand like this: /usr/bin/sudo apt-get install flashplugin-installer In some linux distros you can't change to root so every command mas be run with sudo. =) share|improve this answer How does it ever intersect with the hyperbola, seeing as it goes along the asymptote? "include a talk of" vs "include talk of" Why do compact cameras keep using 4:3 and I then used "fuser" as described in earlier posts and apt worked, but I was getting complaints about needing to run dpkg -a -reconfigure. http://blacklex.com/could-not/unable-to-obtain-lock.html Do SSDs reduce the usefulness of Databases Why do compact cameras keep using 4:3 and not 3:2 like DSLRs?

The Anti-Santa: Dealing with the Naughty List Why wouldn't the part of the Earth facing the Sun a half year before be facing away from it now at noon? For the error mentioned in the comment: Errors were encountered while processing: /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Try fixing it by running these commands: sudo apt-get clean Please try the other answers before doing this. Review of my T-shirt design Output the sign Colony on the moon - how fast can Santa deliver?

When using sudo you will be prompted for your password. Not the answer you're looking for?