Affected release: Ubuntu 14.04.5
Version of package: 14.12-0ubuntu5.14.04
Steps to reproduce:
1. Run do-release-upgrade to upgrade to 16.04.2.
2. Trigger the package-reporter to kick in while do-release-upgrade is working but not having the package database locked.
3. Package database is locked by package-reporter, do-release-upgrade fails to access it and exits.
Expected result:
Landscape detects that there's an release upgrade in progress and will wait for it to finish.
Actual result:
package-reporter locks the apt database, do-release-upgrade cannot access it, exits with an error and may leave the system in an unusable state.
Affected release: Ubuntu 14.04.5 14.04
Version of package: 14.12-0ubuntu5.
Steps to reproduce:
1. Run do-release-upgrade to upgrade to 16.04.2.
2. Trigger the package-reporter to kick in while do-release-upgrade is working but not having the package database locked.
3. Package database is locked by package-reporter, do-release-upgrade fails to access it and exits.
Expected result:
Landscape detects that there's an release upgrade in progress and will wait for it to finish.
Actual result:
package-reporter locks the apt database, do-release-upgrade cannot access it, exits with an error and may leave the system in an unusable state.