[Bug 1897778] Re: DistUpgradeController to release apt lock during PostInstallScripts
Launchpad Bug Tracker
1897778 at bugs.launchpad.net
Tue Sep 29 19:44:42 UTC 2020
** Merge proposal linked:
https://code.launchpad.net/~chad.smith/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/391183
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1897778
Title:
DistUpgradeController to release apt lock during PostInstallScripts
Status in ubuntu-release-upgrader package in Ubuntu:
In Progress
Bug description:
In order for custom PostInstallScript to add/remove apt packages and
call apt update, DistUpgradecontroller needs to release the apt cache
directory lock before that stage.
If the lock is still in place,
DistUpgradeController.runPostUpgradeScripts hits errors such as:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1897778/+subscriptions
More information about the foundations-bugs
mailing list