2016-07-13 07:07:22 |
errors.ubuntu.com bug bridge |
bug |
|
|
added bug |
2016-07-13 07:07:23 |
errors.ubuntu.com bug bridge |
bug |
|
|
added subscriber Daniel van Vugt |
2016-09-20 03:38:04 |
Adolfo Jayme Barrientos |
unattended-upgrades (Ubuntu): importance |
Undecided |
High |
|
2016-09-21 22:47:49 |
Brian Murray |
unattended-upgrades (Ubuntu): status |
New |
Confirmed |
|
2017-04-05 13:33:05 |
Wagner Kolberg |
bug |
|
|
added subscriber Wagner Kolberg |
2017-10-15 10:29:24 |
Nino van Hooff |
bug |
|
|
added subscriber Nino van Hooff |
2018-06-07 17:29:50 |
Balint Reczey |
description |
The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-upgrades. This problem was most recently seen with version 0.90, the problem page at https://errors.ubuntu.com/problem/19f99745d7dce5aea118eb31bfffcbdcdf238c4f contains more details. |
[Impact]
* Unattended-upgrades fails to autoremove packages after installing updates or fails to install updates due to a parallel process acquiring apt or dpkg lock while u-u is running.
[Test Case]
* Set up a system with packages (> 30) to be upgraded. In case of Bionic -security has a low number of updates, thus set up the system to install -updates to have more packages for u-u to upgrade:
echo 'Unattended-Upgrade::Allowed-Origins:: "${distro_id}:${distro_codename}-updates";' > /etc/apt/apt.conf.d/51-updates
* Set up two shells to run commands in parallel
* In shell "A" run sudo apt update && sudo unattended-upgrade --dry-run --verbose --debug
* After u-u started run the following command in shell "B":
while sleep 1; do python3 -c 'import apt; import apt_pkg; print(apt_pkg.pkgsystem_lock())' ; done
* Observe the following exception repeated while running u-u and True being printed after u-u is finished:
...
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
True
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
True
True
True
True
...
[Regression Potential WIP]
* Unattended-upgrade may crash
[Original Bug Text]
The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-upgrades. This problem was most recently seen with version 0.90, the problem page at https://errors.ubuntu.com/problem/19f99745d7dce5aea118eb31bfffcbdcdf238c4f contains more details. |
|
2018-06-11 01:11:22 |
Balint Reczey |
bug task added |
|
python-apt (Ubuntu) |
|
2018-06-11 01:15:13 |
Balint Reczey |
description |
[Impact]
* Unattended-upgrades fails to autoremove packages after installing updates or fails to install updates due to a parallel process acquiring apt or dpkg lock while u-u is running.
[Test Case]
* Set up a system with packages (> 30) to be upgraded. In case of Bionic -security has a low number of updates, thus set up the system to install -updates to have more packages for u-u to upgrade:
echo 'Unattended-Upgrade::Allowed-Origins:: "${distro_id}:${distro_codename}-updates";' > /etc/apt/apt.conf.d/51-updates
* Set up two shells to run commands in parallel
* In shell "A" run sudo apt update && sudo unattended-upgrade --dry-run --verbose --debug
* After u-u started run the following command in shell "B":
while sleep 1; do python3 -c 'import apt; import apt_pkg; print(apt_pkg.pkgsystem_lock())' ; done
* Observe the following exception repeated while running u-u and True being printed after u-u is finished:
...
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
True
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
True
True
True
True
...
[Regression Potential WIP]
* Unattended-upgrade may crash
[Original Bug Text]
The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-upgrades. This problem was most recently seen with version 0.90, the problem page at https://errors.ubuntu.com/problem/19f99745d7dce5aea118eb31bfffcbdcdf238c4f contains more details. |
[Impact]
* Unattended-upgrades fails to autoremove packages after installing updates or fails to install updates due to a parallel process acquiring apt or dpkg lock while u-u is running.
[Test Case]
* Set up a system with packages (> 30) to be upgraded. In case of Bionic -security has a low number of updates, thus set up the system to install -updates to have more packages for u-u to upgrade:
echo 'Unattended-Upgrade::Allowed-Origins:: "${distro_id}:${distro_codename}-updates";' > /etc/apt/apt.conf.d/51-updates
* Set up two shells to run commands in parallel
* In shell "A" run sudo apt update && sudo unattended-upgrade --dry-run --verbose --debug
* After u-u started run the following command in shell "B":
while sleep 1; do python3 -c 'import apt; import apt_pkg; print(apt_pkg.pkgsystem_lock())' ; done
* Observe the following exception repeated while running u-u and True being printed after u-u is finished:
...
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
True
Traceback (most recent call last):
File "<string>", line 1, in <module>
apt_pkg.Error: E:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable), E:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
True
True
True
True
...
[Regression Potential WIP]
* Unattended-upgrade may crash
[Other Info]
It looks like python-apt also releases the lock sometimes unexpectedly thus the both packages need to be fixed to avoid loosing the lock.
[Original Bug Text]
The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-upgrades. This problem was most recently seen with version 0.90, the problem page at https://errors.ubuntu.com/problem/19f99745d7dce5aea118eb31bfffcbdcdf238c4f contains more details. |
|
2018-06-11 01:15:23 |
Balint Reczey |
nominated for series |
|
Ubuntu Xenial |
|
2018-06-11 01:15:23 |
Balint Reczey |
bug task added |
|
python-apt (Ubuntu Xenial) |
|
2018-06-11 01:15:23 |
Balint Reczey |
bug task added |
|
unattended-upgrades (Ubuntu Xenial) |
|
2018-06-11 01:15:38 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
Confirmed |
Fix Released |
|
2018-06-11 01:16:06 |
Balint Reczey |
nominated for series |
|
Ubuntu Bionic |
|
2018-06-11 01:16:06 |
Balint Reczey |
bug task added |
|
python-apt (Ubuntu Bionic) |
|
2018-06-11 01:16:06 |
Balint Reczey |
bug task added |
|
unattended-upgrades (Ubuntu Bionic) |
|
2018-06-21 20:00:44 |
Brian Murray |
unattended-upgrades (Ubuntu Bionic): status |
New |
Fix Committed |
|
2018-06-21 20:00:47 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-06-21 20:00:50 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2018-06-21 20:00:56 |
Brian Murray |
tags |
xenial |
verification-needed verification-needed-bionic xenial |
|
2018-06-22 12:46:48 |
Julian Andres Klode |
python-apt (Ubuntu): status |
New |
Fix Committed |
|
2018-07-10 20:51:19 |
Balint Reczey |
attachment added |
|
u-u-1.1ubuntu1.18.04.1-shell-B.log https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1602536/+attachment/5162110/+files/u-u-1.1ubuntu1.18.04.1-shell-B.log |
|
2018-07-10 20:51:44 |
Balint Reczey |
tags |
verification-needed verification-needed-bionic xenial |
verification-done verification-done-bionic xenial |
|
2018-07-10 21:26:30 |
Launchpad Janitor |
unattended-upgrades (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-07-10 21:26:36 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-12-03 19:14:09 |
Brian Murray |
unattended-upgrades (Ubuntu Xenial): status |
New |
Fix Committed |
|
2018-12-03 19:14:12 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-12-03 19:14:18 |
Brian Murray |
tags |
verification-done verification-done-bionic xenial |
verification-done-bionic verification-needed verification-needed-xenial xenial |
|
2019-03-13 17:05:38 |
Balint Reczey |
marked as duplicate |
|
1260041 |
|
2019-04-17 03:29:21 |
Mathew Hodson |
bug |
|
|
added subscriber Mathew Hodson |
2019-04-25 10:50:00 |
Launchpad Janitor |
unattended-upgrades (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2019-04-26 03:23:40 |
Mathew Hodson |
bug task deleted |
python-apt (Ubuntu Bionic) |
|
|
2019-04-26 03:23:48 |
Mathew Hodson |
bug task deleted |
python-apt (Ubuntu Xenial) |
|
|
2019-04-26 03:23:54 |
Mathew Hodson |
bug task deleted |
python-apt (Ubuntu) |
|
|
2019-04-26 03:24:00 |
Mathew Hodson |
removed duplicate marker |
1260041 |
|
|
2019-04-26 03:24:21 |
Mathew Hodson |
removed subscriber Mathew Hodson |
|
|
|