synchronize multiple instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
auto-apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If multiple instances are executing commands which detect both files to be installed in auto-mode with `-x -i -y`, one start the installation and the other fails because it can't require the `dpkg` lock. It'd be great if the second (and others) would wait, until the lock becomes available rather than just fail.
The same issue applies to the situation when multiple instances are started in concurrent build (started with `CONCURRENCY_LEVEL` > 1).
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: auto-apt 0.3.24
ProcVersionSign
Uname: Linux 3.16.0-23-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Jan 3 13:29:50 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-01-03 (0 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: auto-apt
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |