Interesting, because I am the only user (I just installed the system) and there's no other process using dpkg. Were defendants at the Nuremberg trial allowed to deny the holocaust? Abha Network 28.298 görüntüleme 1:56 sudo apt-get update && sudo apt-get ugprade - Süre: 9:58. Javaweb4u 4.103 görüntüleme 5:51 How to Reset Root Password In Ubuntu 12.04 | 14.04 | 15.04 | 16.04 LTS - Süre: 4:07. http://sinistro.org/unable-to/could-not-get-lock-var-lib-apt-lists-lock-ubuntu.html
What is the problem? Ekle Bu videoyu daha sonra tekrar izlemek mi istiyorsunuz? Here's a run down of the issues: "E: Could not get lock /var/lib/dpkg/lock" error This happens when I tried to use apt-get update
Archives Archives Select Month December 2016 (4) Otherwise you can kill it using kill
Thank YouReplyDeletejobtodayinfo comFebruary 16, 2016 at 9:34 AMVERY USEFUL FOR MEReplyDeleteDivgun SethiJuly 12, 2016 at 7:35 PMapt-get updateAfter all above steps following lines appear,help!0% [Connecting to 192.168.0.3 (192.168.0.3)] [Connecting to 192.168.0.3 share|improve this answer answered Sep 24 at 11:19 Pavel Vlasov 15317 add a comment| up vote 0 down vote I have had this issue numerous times. If this is the case just wait few seconds or launch Update Manager to check the status. Ps Aux | Grep Apt Daha fazla göster Dil: Türkçe İçerik konumu: Türkiye Kısıtlı Mod Kapalı Geçmiş Yardım Yükleniyor...
Just throwing this out there in case anyone else encounters this issue. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu This site is not affiliated with Linus Torvalds or The Open Group in any way. Libertine and TIPA Sans Serif What is the purpose of Subject-Verb agreement? http://askubuntu.com/questions/452638/how-can-i-solve-unable-to-lock-the-administration-directory-var-lib-dpkg The time now is 06:33 AM.
I didn't try removing the lock file, though, since that can cause problems with the system. /var/cache/debconf/config.dat Is Locked By Another Process Killing an apt-get or aptitude process is in general much safer. User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Spllitting a line into two Large loan at zero interest or very little interest?
You decide which version you want. https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=56827 You can also share any other method that works.SHARE Facebook Twitter tweet Previous articleWho Says Linux is Not Growing?Next articleHow To Empty Trash From Terminal in Ubuntu Enock Seth Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Yükleniyor... Could Not Get Lock /var/lib/dpkg/lock Kali How to send the ESC signal to vim when my esc key doesn't work?
But to reduce the risk of corrupting an installation, it is better to first close the program that's holding the lock (which in essence is covered by step #2 above). Check This Out A Page of Puzzling Safe two-ticket connection time in Sydney (international > domestic) What to do when using your private key from another computer? shafiqueksg 958 görüntüleme 3:30 Kernel headers problem solved (linux-headers-$(uname -r)) - Süre: 5:51. If you use this carelessly you can end up with a broken system. Unable To Lock Directory /var/cache/apt/archives/
apt dpkg share|improve this question edited Dec 24 '15 at 1:22 Braiam 40.2k1696158 asked Apr 22 '14 at 7:39 Yelmaaz 111118 marked as duplicate by Radu Rădeanu, Danatela, Avinash Raj, karel, andres gonzales 1.398 görüntüleme 2:12 arreglar Problem with MergeList /var/lib/apt/lists/ - Süre: 9:29. Oturum aç 22 0 Bu videoyu beğenmediniz mi? Source Don't be so fast in removing anything before trying other solutions.
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... Rm Cannot Remove Var Lib Apt Lists Lock No Such File Or Directory Does a byte contain 8 bits, or 9? I then used "fuser" as described in earlier posts and apt worked, but I was getting complaints about needing to run dpkg -a -reconfigure.
I left the PC works with this, one day, waiting for the end of this but nothing happened). E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: share|improve this answer answered May 16 at 22:02 Wh33t 385 add a comment| up vote 0 down vote In my case I was getting the same message by not realizing I have a peek here Board index The team Delete all board cookies All times are UTC
This should be done only if everything else fails... Solution: Open terminal and run this command: $ sudo fuser -vki /var/lib/apt/lists/lock And now re-run your command, everything should work as expected. You can force the lock off by removing the file, but it's not recommended without first closing the program that's holding the lock safely, since you could cause corruption or interrupt However, once you are sure that's not the case, the following usually works for me.
This occurs Why? Employer offering Roth 401k as well as traditional 401(k), established in career Is the effect of dollar sign the same as textit? Maybe some old apt thread is locking the file, you need to find out which and kill it or just rebooting will do it. –Bruno Pereira Jan 29 '12 at 11:19 If you try ps aux | grep apt that will catch processes containing the word apt, at least.
share|improve this answer edited Oct 17 at 17:10 Denja 2501422 answered Apr 22 '14 at 7:41 kushvarma 66838 I am running no other dpkg program :\ –Yelmaaz Apr 22