On Tue, Oct 11, 2005 at 11:54:09AM +0200, [EMAIL PROTECTED] wrote: > On Tue, Oct 11, 2005 at 02:54:09AM +0200, Christophe Grandsire wrote: > > Package: base > > Severity: normal > > > > When adding packages with a menu file for the Debian menu (with Synaptic > > or simply apt-get), the Debian menu is not automatically updated. To have it > > updated, one must run update-menus separately in a root terminal > > (*after* stopping Synaptic, otherwise one gets a message that dpkg is > > blocking update-menus). > > > > The Debian menu should be automatically updated without need for > > specific user action besides installing a package. > What is most likely to happen to you is that Synaptic is grabbing the > dpkg lock and update-menus is waiting in the background for this lock > to be released (look with ps). > > Next time try to close Synaptic. After 2 seconds, update-menus should > start running so you should get the menu update 20 seconds after > Synaptic is closed. > > So I reassign this bug to synaptic. > Synaptic should not hold the dpkg lock permanently, it should release it > after changes are made.
Synaptic will release the lock when commiting the changes to the system (runing dpkg). update-menus should just run after dpkg was run or hook itself into apts "DPkg::Post-Invoke" somehow. Synaptic needs to hold the lock otherwise people runing apt-get from the commandline invalidate the cache that synaptic is working on. Cheers, Michael -- Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

