2016-11-30 20:22:24 |
Steve Langasek |
bug |
|
|
added bug |
2016-11-30 22:47:05 |
Steve Langasek |
bug task added |
|
ubuntu-release-upgrader (Ubuntu) |
|
2016-12-01 23:14:10 |
Brian Murray |
tags |
amd64 apport-bug yakkety |
amd64 apport-bug rls-z-incoming yakkety |
|
2016-12-21 19:36:22 |
Steve Langasek |
update-manager (Ubuntu): status |
New |
In Progress |
|
2016-12-21 19:36:22 |
Steve Langasek |
update-manager (Ubuntu): assignee |
|
Steve Langasek (vorlon) |
|
2016-12-21 21:29:20 |
Steve Langasek |
update-manager (Ubuntu): status |
In Progress |
Won't Fix |
|
2016-12-21 21:31:13 |
Steve Langasek |
nominated for series |
|
Ubuntu Yakkety |
|
2016-12-21 21:31:13 |
Steve Langasek |
bug task added |
|
update-manager (Ubuntu Yakkety) |
|
2016-12-21 21:31:13 |
Steve Langasek |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Yakkety) |
|
2016-12-21 21:31:13 |
Steve Langasek |
nominated for series |
|
Ubuntu Xenial |
|
2016-12-21 21:31:13 |
Steve Langasek |
bug task added |
|
update-manager (Ubuntu Xenial) |
|
2016-12-21 21:31:13 |
Steve Langasek |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Xenial) |
|
2016-12-21 21:31:39 |
Steve Langasek |
update-manager (Ubuntu Xenial): status |
New |
Won't Fix |
|
2016-12-21 21:31:50 |
Steve Langasek |
update-manager (Ubuntu Yakkety): status |
New |
Won't Fix |
|
2016-12-21 21:32:06 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): status |
New |
In Progress |
|
2016-12-21 21:32:06 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): assignee |
|
Steve Langasek (vorlon) |
|
2016-12-21 21:56:19 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu Xenial): status |
New |
In Progress |
|
2016-12-21 21:56:22 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu Xenial): assignee |
|
Steve Langasek (vorlon) |
|
2016-12-21 23:16:54 |
Garrett Tillotson |
bug |
|
|
added subscriber Garrett Tillotson |
2016-12-22 00:01:14 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-core-dev/ubuntu-release-upgrader/yakkety |
|
2016-12-22 00:11:22 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu-release-upgrader |
|
2016-12-22 02:44:29 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu): status |
In Progress |
Fix Released |
|
2016-12-22 05:39:52 |
Steve Langasek |
description |
I have a /boot partition which is sized just right to accommodate 3 kernels, plus a little bit of overhead.
$ df -h /boot/
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 280M 144M 118M 56% /boot
$
Previously, update-manager had no problem letting me upgrade kernels. With the latest kernel update in 16.10, I got an error message that I needed more free space on this filesystem.
After bypassing update-manager with 'sudo apt dist-upgrade', the filesystem's usage looks like this:
$ df -h /boot/
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 280M 206M 56M 79% /boot
$
So update-manager is getting the disk usage requirement for /boot off by a factor of 2 (at least? I didn't save the error message from the dialog).
It's better to refuse to upgrade than to fail mid-upgrade due to disk space, but not if that means getting stuck forever with an old kernel unnecessarily.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: update-manager 1:16.10.7
ProcVersionSignature: Ubuntu 4.8.0-27.29-generic 4.8.1
Uname: Linux 4.8.0-27-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Nov 30 12:10:25 2016
GsettingsChanges:
b'com.ubuntu.update-manager' b'show-details' b'true'
b'com.ubuntu.update-manager' b'window-height' b'551'
b'com.ubuntu.update-manager' b'first-run' b'false'
b'com.ubuntu.update-manager' b'window-width' b'813'
b'com.ubuntu.update-manager' b'launch-time' b'1480522730'
InstallationDate: Installed on 2010-09-24 (2259 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: Upgraded to yakkety on 2016-10-28 (32 days ago) |
[SRU Justification]
In some configurations, update-manager will refuse to upgrade kernel packages, citing lack of space in /boot even though there is enough space in /boot and if the upgrade is done with 'apt dist-upgrade', it succeeds. Affected users may as a result fail to have security updates applied to their system, unless they know how to run apt from the commandline or have unattended upgrades enabled.
[Test case]
1. Check the space currently used on /boot with du -sh.
2. Create a partition 120MB larger than the space used on /boot.
3. Copy the contents of your /boot directory into this partition.
4. Mount this partition as /boot.
5. Configure your system so that a newer kernel ABI is available (e.g., by enabling -proposed; or by waiting for the next kernel update to publish; or by downgrading the kernel using apt-get and rebooting).
6. Run update-manager.
7. Verify that update-manager refuses to upgrade, citing a lack of space in /boot.
8. Install python3-distupgrade and ubuntu-release-upgrader-core from -proposed.
9. Re-run update-manager.
10. Verify that update-manager proceeds with the upgrade, and that the upgrade succeeds, with no failure due to lack of disk space on /boot.
11. Repeat steps 2-9 with a partition that is only 60MB larger than the space used on /boot.
12. Verify that update-manager still refuses to proceed with the upgrade, with the packages from -proposed.
[Regression potential]
Since this changes the limit at which update-manager refuses to upgrade due to lack of free space, if the new calculation of the minimum required free space is too low, users may see update-manager proceed with the upgrade, then fail at the dpkg stage, requiring manual recovery.
[Original report]
I have a /boot partition which is sized just right to accommodate 3 kernels, plus a little bit of overhead.
$ df -h /boot/
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 280M 144M 118M 56% /boot
$
Previously, update-manager had no problem letting me upgrade kernels. With the latest kernel update in 16.10, I got an error message that I needed more free space on this filesystem.
After bypassing update-manager with 'sudo apt dist-upgrade', the filesystem's usage looks like this:
$ df -h /boot/
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 280M 206M 56M 79% /boot
$
So update-manager is getting the disk usage requirement for /boot off by a factor of 2 (at least? I didn't save the error message from the dialog).
It's better to refuse to upgrade than to fail mid-upgrade due to disk space, but not if that means getting stuck forever with an old kernel unnecessarily.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: update-manager 1:16.10.7
ProcVersionSignature: Ubuntu 4.8.0-27.29-generic 4.8.1
Uname: Linux 4.8.0-27-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Nov 30 12:10:25 2016
GsettingsChanges:
b'com.ubuntu.update-manager' b'show-details' b'true'
b'com.ubuntu.update-manager' b'window-height' b'551'
b'com.ubuntu.update-manager' b'first-run' b'false'
b'com.ubuntu.update-manager' b'window-width' b'813'
b'com.ubuntu.update-manager' b'launch-time' b'1480522730'
InstallationDate: Installed on 2010-09-24 (2259 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: Upgraded to yakkety on 2016-10-28 (32 days ago) |
|
2016-12-22 05:43:39 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu Yakkety): importance |
Undecided |
High |
|
2016-12-22 05:43:41 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu Yakkety): status |
New |
In Progress |
|
2016-12-22 05:43:43 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu Yakkety): assignee |
|
Steve Langasek (vorlon) |
|
2016-12-22 05:45:53 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): importance |
Undecided |
High |
|
2016-12-22 06:08:12 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu Xenial): importance |
Undecided |
High |
|
2017-01-05 18:08:15 |
Łukasz Zemczak |
ubuntu-release-upgrader (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-01-05 18:08:19 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-01-05 18:08:21 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2017-01-05 18:08:24 |
Łukasz Zemczak |
tags |
amd64 apport-bug rls-z-incoming yakkety |
amd64 apport-bug rls-z-incoming verification-needed yakkety |
|
2017-01-05 18:12:57 |
Steve Langasek |
update-manager (Ubuntu): status |
Won't Fix |
Triaged |
|
2017-01-25 22:37:16 |
Brian Murray |
tags |
amd64 apport-bug rls-z-incoming verification-needed yakkety |
amd64 apport-bug rls-z-incoming verification-done-xenial yakkety |
|
2017-01-26 17:27:52 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-01-26 17:27:49 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-01-26 17:58:13 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu Yakkety): status |
In Progress |
Fix Committed |
|
2017-01-26 17:58:17 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-01-26 17:58:25 |
Brian Murray |
tags |
amd64 apport-bug rls-z-incoming verification-done-xenial yakkety |
amd64 apport-bug rls-z-incoming verification-done-xenial verification-needed yakkety |
|
2017-01-27 23:33:21 |
Brian Murray |
tags |
amd64 apport-bug rls-z-incoming verification-done-xenial verification-needed yakkety |
amd64 apport-bug rls-z-incoming verification-done verification-done-xenial yakkety |
|
2017-02-02 22:45:34 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Yakkety): status |
Fix Committed |
Fix Released |
|
2017-02-23 16:48:59 |
Brian Murray |
tags |
amd64 apport-bug rls-z-incoming verification-done verification-done-xenial yakkety |
amd64 apport-bug verification-done verification-done-xenial yakkety |
|
2017-03-08 17:53:15 |
Steve Langasek |
update-manager (Ubuntu): status |
Triaged |
Fix Committed |
|
2017-03-08 17:53:36 |
Launchpad Janitor |
branch linked |
|
lp:update-manager |
|
2017-03-08 20:32:09 |
Launchpad Janitor |
update-manager (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-05-10 01:45:18 |
Mathew Hodson |
update-manager (Ubuntu): importance |
Undecided |
Low |
|
2017-05-10 01:45:25 |
Mathew Hodson |
update-manager (Ubuntu Yakkety): importance |
Undecided |
Low |
|
2017-05-10 01:45:29 |
Mathew Hodson |
update-manager (Ubuntu Xenial): importance |
Undecided |
Low |
|