It is also a pretty bad idea, as you point out, the OP should first look for running apt processes and kill them. –terdon♦ Nov 29 '13 at 4:18 but why happened this? –Jaime Hablutzel May 26 '12 at 22:40 15 @jaime: probably apt-get (or some GUI frontend to it) was halted while executing, leaving apt in a locked Cracker & Patcher 7.166 görüntüleme 2:58 حل مشكلة "E: Could not get lock /var/lib/dpkg/lock" على ubuntu/elementary os/linux mint - Süre: 7:25. عمر ويب 11.111 görüntüleme 7:25 Fixing E: Could not get 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 http://sinistro.org/unable-to/could-not-get-lock-var-lib-dpkg-lock-open-11-resource.html
Yükleniyor... Turns out that there was a background process in the Ubuntu Software Center that was waiting for me to manually install some updates. –jvriesem May 12 at 21:16 add a comment| share|improve this answer answered Jun 26 '12 at 22:13 Levon 4,53512033 I am downloading some software from the software center... how to solve this issue please help. http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process
Quick Notepad Tutorial 315 görüntüleme 1:16 Ubuntu Server apt-get update error SOLVED - Süre: 4:34. All of this was very strange as I've never seen it before. Problem: Here what i did to install to python libraries. # apt-get install python-twisted Sample output: Reading package lists...
Can sometimes happen running aptitude remotely and losing connection while dpkg was waiting for user input (eg, to tell it what to do with a modified config file) –Shadur Jun 27 Oturum aç Çeviri Yazısı İstatistikler 4.465 görüntüleme 21 Bu videoyu beğendiniz mi? I left the PC works with this, one day, waiting for the end of this but nothing happened). Ps Aux | Grep Apt Unsold Atari videogames dumped in a desert?
After this operation, 16.9 MB of additional disk space will be used. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu ubuntu debian package-management apt dpkg share|improve this question edited Jun 27 '12 at 0:13 Gilles 385k747051156 asked Jun 26 '12 at 22:08 Ben7005 12814 Have you tried just rebooting? 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... http://askubuntu.com/questions/335794/could-not-get-lock-var-lib-apt-lists-lock For me, it was almost always caused by apt-get or some GUI that called it getting hung for some reason.
Sıradaki Could not open lock file /var/lib/apt/lists/lock [SOLVED] - Süre: 2:58.
Not the answer you're looking for? Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked How should night time be determined and logged in a fast westbound plane? Could Not Get Lock /var/lib/dpkg/lock Kali Being Skilled 3.905 görüntüleme 5:57 Daha fazla öneri yükleniyor...
Running the command then resolved the issue. Check This Out Can someone explain what that error means, and how to deal with it? Don't use sudo unless you know what you are doing. CLOSE Home Linux distributions Linux tutorials News Frequently Asked Questions Opensource Unix Ask/unixmen Saturday, December 24, 2016About Us Advertising on Unixmen Become a Contributor Unixmen collaborated with Unixstickers Contact Us Home E: Unable To Lock Directory /var/cache/apt/archives/
I have 6 systems with a mix of both... :PReplyDeleteEmmanuel OlukaNovember 11, 2015 at 4:42 PMYou can delete the lock file with the following command:sudo rm /var/lib/apt/lists/locksudo rm /var/cache/apt/archives/locksudo apt-get updateReplyDeleteUnknownDecember in fact trying to use both of those GUI programs at the same time will result in the same error message, so I'd not be surprised you'd get this with the An error like that usually indicates that another package manager has locked the whole system. Source 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
Don't recommend deleting lock file... /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable Silly, but it might still explain the error for some. Ekle Bu videoyu daha sonra tekrar izlemek mi istiyorsunuz?
How to Install Broadcom Wireless Driver (BCM4313) ... If they are not, you may not be able to acquire the lock as the package installer will not be able to access the filesystem. Done Building dependency tree Reading state information... Rm: Cannot Remove ‘/var/cache/apt/archives/lock’: No Such File Or Directory Daha fazla göster Dil: Türkçe İçerik konumu: Türkiye Kısıtlı Mod Kapalı Geçmiş Yardım Yükleniyor...
How do I answer a question on graduate school applications on textbooks used in my classes, when my class didn't use a textbook? Unsold Atari videogames dumped in a desert? The programs that can do this are: The Software Center The Update Manager The apt link installer (I think this now goes through SC) The apt-get or aptitude command line utilities. have a peek here Cheers!SHARE Facebook Twitter tweet Previous articleHow To Install LIVES In Ubuntu In UbuntuNext articleKippo - A SSH Honeypot To Monitor Brute Force Attacks On Debian 7 / Ubuntu 13.10
Yet another piece of Chess software Word for fake religious people Getting error message when integrating a simple piecewise function How do you make a Canon 70D show the photo you Done The following extra packages will be installed: python-crypto python-openssl python-pam python-pkg-resources python-pyasn1 python-serial python-twisted-bin python-twisted-conch python-twisted-core python-twisted-lore python-twisted-mail python-twisted-names python-twisted-news python-twisted-runner python-twisted-web python-twisted-words python-zope.interface Suggested more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed If this is the case just wait few seconds or launch Update Manager to check the status.