Release dpkg lock file when synaptic is idle

Bug #165064 reported by Fabien Lusseau
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic
New
Undecided
Unassigned
synaptic (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: synaptic

Synaptic (and adept) block use of apt-get aptitude, or any other package manager, but when synaptic is idle, it is nor necessary.

This but could prevent bug of newbie, that install module-assistant with synaptic to install his webcam, but have this error:

E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Because he haven't close synaptic (to use it latter for example).

I know a lot a newbies that have the same error, and for us, it is critical ...

And because this line:

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

is not translatable, and is not very comprehensive, (an error message displaying: "is another package manager is running ?" at place of "is another process using it?" and making it translatable, could close this bug too !)

Revision history for this message
Matthew Woerly (nattgew) wrote :

You know when you run these apps, on the command line or in Synaptic in the bottom right corner, they set up dependencies and scan lists and stuff? I think the whole point is that they don't want things messing with those files after the application has loaded. Maybe you want there to be a more friendly error message about this?

Daniel T Chen (crimsun)
Changed in synaptic:
importance: Undecided → Wishlist
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in synaptic (Ubuntu):
status: New → Triaged
summary: - Synaptic shouldn't block apt when he is idle !
+ Release dpkg lock file when synaptic is idle
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Yeah, the lock is placed there for a reason. (So that things like apt-get update won't change the package cache from under Synaptic's feet.) The real problem is that the error message apt-get gives is quite cryptic. This is being tracked at bug 74134.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.