Update manager starts when the apt download lock isn't yet released
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: update-manager
steps to reproduce:
-have selected "Download the updates but don't install them automatically" (i've also checked to check for updates every day)
-wait for updates to happen
-wait for updates to be downloaded in background
-when update-manager is launched, click on "install updates" (and eventually insert the password)
-a popup shows up, reading(in italian):
"E: Impossibile ottenere il lock /var/cache/
E: Impossibile bloccare la directory di scaricamento"
workaround: close update-manager, reopen it, click on "install updates"... it'll work fine
this is the error that happens when apt-get or synaptic, or "add/remove software" is running... but this isn't the case since by closing and reopening update-manager, which is the only one running, the problem goes away...
i guess that it's due to the fact that it's launched after downloads have been completed, but before the process that has done the downloads has released the apt lock...
due to the length of the second step to reproduce, i'm not 100% certain that this bug shows up with all updates, but i've definitely seen this bug more than 2 times...
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: update-manager 1:0.111.9
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=it_IT.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
Uname: Linux 2.6.28-13-generic x86_64
When this happens to me
* I'm irritated, because *why are you asking me for permission to do a thing you then say you cannot do*, stupid software?
* I see /etc/cron.daily/apt running apt-get -qq -d dist-upgrade in the background
It's possible, and I would say likely, that it's not restarting update-manager that makes the problem go away, it's the delay that makes the background apt-get download finish.