Yükleniyor... What is the problem? A Page of Puzzling How to respond to a ridiculous request from a senior colleague? So if you try again in a few minutes that should fix it. http://sinistro.org/unable-to/could-not-get-lock-var-lib-apt-lists-lock-ubuntu.html
Bu özellik şu anda kullanılamıyor. McClane is a NYPD cop. Search for processesps -A | grep apt-get2. If there is a lock with no apparent process running, this may mean the process got stuck for some reason. https://ubuntuforums.org/showthread.php?t=1986288
Because, There is a process in progress that is making use of ‘apt-get'. Wife Works in LA. Yet another piece of Chess software Is the form "double Dutch" still used?
If the above does not work for you, then you may want to take a look at this: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? You can change this preference below. What should I do? Rm: Cannot Remove ‘/var/cache/apt/archives/lock’: No Such File Or Directory shafiqueksg 958 görüntüleme 3:30 Kernel headers problem solved (linux-headers-$(uname -r)) - Süre: 5:51.
Uygunsuz içeriği bildirmek için oturum açın. Could Not Get Lock /var/lib/dpkg/lock Kali ps aux | grep apt or ps aux | grep dpkg. –Faheem Mitha Aug 1 '14 at 21:04 add a comment| 1 Answer 1 active oldest votes up vote 7 down It cover most popular distros like Ubuntu, LinuxMint, Fedora, Centos. I then used "fuser" as described in earlier posts and apt worked, but I was getting complaints about needing to run dpkg -a -reconfigure.
This is the error message I get: Code: sudo apt-get update && sudo apt-get upgrade Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) I have tried repeatedly but
I can reach the Internet with Firefox. Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Sever-sort an array Were defendants at the Nuremberg trial allowed to deny the holocaust? Rm Cannot Remove Var Lib Apt Lists Lock No Such File Or Directory CentOS How to install Univention Corporate Server Linux tutorials POPULAR CATEGORYLinux distributions1476Software570Linux tutorials461News428Frequently Asked Questions313Opensource271Releases139CentOS118Unix113 ABOUT USUnixmen provide Linux Howtos, Tutorials, Tips & Tricks ,Opensource News.
Period. –Jay Sullivan Nov 18 '14 at 3:36 2 for me, this resulted in an error dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the Theorems demoted back to conjectures Does a byte contain 8 bits, or 9? If you think that there is nothing currently installing or uninstalling, then just reboot your system with the command sudo reboot. Source 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.
Oturum aç 1 Yükleniyor... Unable To Lock Directory /var/cache/apt/archives/ Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). Quick Notepad Tutorial 315 görüntüleme 1:16 Ubuntu Server apt-get update error SOLVED - Süre: 4:34.
Düşüncelerinizi paylaşmak için oturum açın. 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) 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 do it with sudo kill Process-id is the process number that you identified from step 1.If that doesn't work, then try (like Vivek suggested)kill -9 Also, note that it is not
Not the answer you're looking for? share|improve this answer edited Oct 6 '15 at 6:40 kos 20.4k55092 answered Jan 15 '15 at 9:54 Wessi 9112 This looks like a comment rather than an answer. Explain it to me like I'm a physics grad: Greenhouse Effect Employer offering Roth 401k as well as traditional 401(k), established in career Does gunlugger AP ammo affects all armor? have a peek here If those answers do not fully address your question, please ask a new question. 1 @Mitch With the note that it is about /var/lib/apt/lists/lock rather than /var/lib/dpkg/lock. –gertvdijk Aug 22
Is there a non-medical name for the curve where index finger and thumb meet? Fix could not get lock error in ubuntu - "E: Could not get lock /var/lib/apt/lists/lock" or "E: Could not get lock /var/lib/dpkg/lock" problem. Here are few of them:Solution 1
sudo rm /var/lib/apt/lists/*
sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock
Force package to reconfig
sudo dpkg --configure -a
Solution 2Apply Don't recommend deleting lock file...
May be a background application is updating automatically. Before trying any solution that needs a manual modification to the system environment, reboot the system to see if the problem is solved.Vivek Kumar had suggested a fairly reasonable approach above. sudo apt-get install vlc (for example) –ArCiGo Aug 1 '14 at 21:04 Check for existing processes. Killing an apt-get or aptitude process is in general much safer.
Why jitter continuous value in a scatterplot? Why do manufacturers detune engines? Why did Tarkin undertake this course of action at the end of Rogue One? Yükleniyor...
How to respond to a ridiculous request from a senior colleague? Video kiralandığında oy verilebilir. Theorems demoted back to conjectures Is ATC communication subject to FCC profanity regulations? Attached Images Screenshot from 2013-09-15 17:35:11.png (29.6 KB, 6 views) Last edited by kinetonat; September 15th, 2013 at 06:52 PM.
In any case, if the process got stuck, you probably don't have a choice but to kill it. I used the System Monitor to confirm it was still running and not stuck. Not the answer you're looking for? How To Fix "E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)" in Ubuntu By Enock Seth Nyamador Share on Facebook Tweet on Twitter tweet Question: Hello, I