[Bug 1721882] Re: Generic instructions for dealing with full partitions don't help much
Brian Murray
brian at ubuntu.com
Mon Oct 30 20:06:35 UTC 2017
I tested this on an Ubuntu 16.04 using the instructions from the bug
description. After filling up my boot partition and using 'do-release-
upgrade -p' I received instructions about removing old kernels. Setting
to v-done for zesty since that is what Ubuntu 16.04 will upgrade to.
** Tags removed: verification-needed-zesty
** Tags added: verification-done-zesty
--
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/1721882
Title:
Generic instructions for dealing with full partitions don't help much
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Xenial:
Fix Committed
Status in ubuntu-release-upgrader source package in Zesty:
Fix Committed
Status in ubuntu-release-upgrader source package in Artful:
Fix Released
Bug description:
This a parallel to bug 1477455 regarding update-manager and a full
/boot partition.
[Impact]
ubuntu-release-upgrader provides generic instructions if a system being upgrade is calculated to not have enough free space for the upgrade to succeed. The instructions include using apt clean and emptying trash. This message won't help if you have a separate boot partition that is low on free space though.
[Test Case]
1) Create a file to be used as a /boot partition (dd if=/dev/zero of=fake-boot bs=1024 count=204800)
2) mkfs -t ext3 fake-boot
3) copy your real /boot somewhere
4) sudo mount -t ext3 fake-boot /boot
5) copy the files from step 3 to /boot
6) fill up /boot so there is less 30MB free space
7) run 'do-release-upgrade -p' (-p is for proposed)
With the current version of ubuntu-release-upgrader you'll see an
error message with instructions to "empty your trash and remove
temporary packages." With the version of ubuntu-release-upgrader in
-proposed you'll receive a message regarding using "sudo apt
autoremove".
[Regression Potential]
We are just changing the strings used in the error message, which will introduce untranslated strings but that is better than leaving people with systems that cannot update.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1721882/+subscriptions
More information about the foundations-bugs
mailing list