On Sun, Mar 23, 2025 at 11:22:43AM +0100, Paul Gevers wrote:
On Wed, 31 Jan 2024 17:15:41 +0100 Matthias Klumpp <mak@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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 161:46:10 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,500 |