[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
Is it considered acceptable that doing anything involving package management can fail due to bad luck? Perhaps the dist-upgrade should be holding the lock for a much shorter time, and/or perhaps the error message could say what the actual problem is (for example by identifying the process holding the lock). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/427029 Title: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/427029/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
Thanks for the output. Update-manager can't get the lock because there is apt-get running in the background. This is the daily job which updates the package cache. 2912 ?Ss 0:00 anacron -s 3251 ?S 0:00 \_ /bin/sh -c nice run-parts --report /etc/cron.daily 3252 ?SN 0:00 \_ run-parts --report /etc/cron.daily 3258 ?SN 0:00 \_ /bin/sh /etc/cron.daily/apt 3904 ?SN 0:00 \_ apt-get -qq -y -d dist-upgrade 3906 ?RN 0:03 \_ /usr/lib/apt/methods/http -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
Thanks for the analysis. So updating the daily cache and running the Update Manager are two separate things and it just so happened one was run while the other was not yet finished, right? Last time, the Update Manager came up automatically and updated just fine without a lock error. I guess the previous lock error was just bad luck then. -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
I have the same problem. I am not exactly sure no other apt(itude) is running but I am quite sure I did not manually start one. Here is my ps.txt created with $ ps afs /tmp/ps.txt This is while the Update Manager window and error window are still open. Thank you for looking into this. ** Attachment added: Output of ps after error with Update Manager and error window open http://launchpadlibrarian.net/38819054/ps.txt -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
Here is also the output after the error occurred and with error window and Update Manager closed. ** Attachment added: Output of ps after error with Update Manager and error window closed http://launchpadlibrarian.net/38819074/ps_after.txt -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
Another info: When I manually start the Update Manager, everything works fine. The error has been around since at least Karmic, but I remember having the problem in Jaunty once, too. -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again! ** Changed in: update-manager (Ubuntu) Status: Incomplete = Invalid -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
Could you please run (in a terminal) when this happens: $ ps afx /tmp/ps.txt and attach the file ps.txt ? ** Changed in: update-manager (Ubuntu) Status: New = Incomplete -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/31552873/Dependencies.txt -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 427029] Re: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
It appears you have a stale lock file. This can happen if the program that created the lock file didn't terminate correctly. If you're sure you don't have any package management programs running (Synaptic, apt- get, dpkg, etc.), then remove the lock file. -- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory https://bugs.launchpad.net/bugs/427029 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs