Home > Unable To > E: Unable To Lock Directory /var/cache/apt/archives/

E: Unable To Lock Directory /var/cache/apt/archives/


If it's not suitable try this askubuntu.com/a/315791/378845 before you remove locks –Menuka Ishan Oct 23 at 7:03 add a comment| up vote 9 down vote This will happen if you have They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 88 Star 1,173 Fork 153 smira/aptly Code Issues 134 Pull requests 23 Projects http://scriptkeeper.net/unable-to/unable-to-open-connection-to-com1-unable-to-open-serial-port.html

History Link existing bug Create bug report Link to a FAQ Create a new FAQ To post a message you must log in. Not the answer you're looking for? At delivery time, client criticises the lack of some features that weren't written on my quote. If those answers do not fully address your question, please ask a new question.

E: Unable To Lock Directory /var/cache/apt/archives/

Get:1 http://archive.ubuntu.com hardy/universe rawstudio 0.7-1 [238kB] Fetched 238kB in 7s (32.2kB/s) Selecting previously deselected package rawstudio. (Reading database ... 359492 files and directories currently installed.) Unpacking rawstudio (from .../rawstudio_0.7-1_i386.deb) ... ca_mongrel View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by ca_mongrel 01-23-2010, 01:23 PM #5 tibal LQ Newbie Registered: Jan 2010 Location: Arif Arham (arhamlinux) said on 2008-07-01: #7 Reinstall apt! 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

Reload to refresh your session. I'm running my script every night. If so, what was the issue? Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked ca_mongrel, Aug 7, 2009 #3 falko Super Moderator ISPConfig Developer What's the output of Code: updatedb locate master.lock ?

Thus if the problem returns you will know the first. That makes the file world writable, and having world writable executables is quite bad for security. I did not try it, but other people > report positive results. http://askubuntu.com/questions/346143/e-could-not-get-lock-var-lib-dpkg-lock-open-11-resource-temporarily-unavai This all happened right after system boot.

but that's another story.. Rm: Cannot Remove ‘/var/lib/apt/lists/lock’: No Such File Or Directory I think tar should be somehow fixed for this issue, otherwise it cannot realy copy locked files. Pen Tester's Programming Style A guy scammed me, but he gave me a bank account number & routing number. dpkg uses this file to obtain a lock in Ubuntu: /var/lib/dpkg/lock So you need to (as root) #rm /var/lib/dpkg/lock Also, aptitude uses this file to obtain a lock: /var/lock/aptitude INSTEAD OF

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

I believe this will make backups working again. http://www.linuxquestions.org/questions/linux-server-73/open-lock-file-var-lib-postfix-master-lock-cannot-open-file-permission-denied-700674/ There's certainly race condition between aptly mirror list and aptly snapshot list. E: Unable To Lock Directory /var/cache/apt/archives/ 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. Could Not Get Lock /var/lib/dpkg/lock Kali Snapshot jessie/main-2014-10-07 successfully created.

Last edited: Dec 23, 2010 tester321, Dec 15, 2010 #6 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Tweet Log in with Facebook check over here It is not good idea to wait by default for possibly infinitely long period of time -- we really don't know how long the lease will be taken. SMS verification, is it secure? Taken from: http://askubuntu.com/a/15469/68707 share|improve this answer edited Jun 7 '12 at 10:04 Yi Jiang 91611227 answered Jun 6 '12 at 7:17 Nabeel Ahmed 28534 1 This was the problem in /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable

Click Here to receive this Complete Guide absolutely free. Adverb for "syntax" more hot questions about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. his comment is here It is Fedora's policy to close all bug reports from releases that are no longer maintained.

The different twins Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture? E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. Try to use --lease-wait-count=100 (for waiting at most one second per file). Done The following packages will be upgraded: capplets-data deskbar-applet espeak espeak-data file-roller foomatic-db gnome-control-center gnome-orca libespeak1 libgnome-window-settings1 libgnomeui-0 libgnomeui-common libusplash0 openprinting-ppds splix usplash vino 17 packages upgraded, 0 newly installed, 0

Note You need to log in before you can comment on or make changes to this bug.

Go to http://packages.ubuntu.com/hardy/apt (if you use Hardy), and download one package: apt. I ended up opening terminal: sudo nautilus navigating to the folders/files, and changing permissions to ME - FOLDER:FULL ACCESS / FILES: READ WRITE ROOT - FOLDER: FULL ACCESS / FILES: READ I am considering a Postfix uninstall/reinstall if I can't fix this issue. Sudo Rm /var/lib/apt/lists/lock Debian 6. - Tim Can you help with this problem?

Done Building tag database... Killing an apt-get or aptitude process is in general much safer. rpm -q tar tar-1.26-6.fc17.x86_64 This tar problem is known. weblink This is usually the cause of these errors.

share|improve this answer edited Oct 22 '13 at 20:19 answered Oct 22 '13 at 17:11 pst007x 3,166123562 add a comment| up vote -2 down vote sudo -s (gives the root access) Adv Reply Page 1 of 2 12 Last Jump to page: Quick Navigation Installation & Upgrades Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Any ideas or help would be appreciated, as the uninstall & reinstall may not be as simple as I need at this time.

I have not touched the relevant directories or files. Comment 1 Pavel Raiskup 2012-07-11 13:27:17 EDT Hi, thanks for the report. > Current tar version often fails with exit code 2, because of locking problem. > tar: /home/ccccccc/ffffff.pdf: Cannot open: