Control: reassign -1 synaptic Control: retitle -1 synaptic: releases frontend lock while running dpkg
On Fri, Apr 04, 2025 at 11:55:34PM +0200, Julian Andres Klode wrote: > On Sun, Mar 23, 2025 at 11:22:43AM +0100, Paul Gevers wrote: > > On Wed, 31 Jan 2024 17:15:41 +0100 Matthias Klumpp <m...@debian.org> wrote: > > > Do you have any idea how this would be possible? Both PK and Synaptic > > > should hold the APT frontend lock, so they should never be able to run > > > at the same time. > > > > If packagekit checks for the lock (I assume you claim it does), isn't it > > synaptics fault to not grab the lock? I.e. isn't this bug filed against the > > wrong package? > > Both synaptic and PackageKit need to support the frontend lock, I don't > know if they do, that may involve calling UnLockInner() rather than > UnLock(), and LockInner() rather than Lock() to regain released inner > locks in some places. synaptic calls releaseLock() before running dpkg; which in turn calls APT's UnLock(). I believe, but am not sure, that we can drop that call entirely and APT should do the right thing. I don't quite know and I'd need to do more investigation and a trial and error attempt :D -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en
signature.asc
Description: PGP signature