[Bug 1646222] Re: calculation of needed free space in /boot is inaccurate and causes refusal to upgrade
Steve Langasek
steve.langasek at canonical.com
Tue Dec 6 08:33:38 UTC 2016
Output of update-manager --debug, per request:
$ update-manager --debug
(update-manager:14909): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code12: Failed to write file '/home/vorlon/.config/dconf/user.YF08RY': write() failed: No space left on device
DEBUG:AptClient.DebconfProxy:debconf socket: /tmp/aptdaemon-0_qlhknq/debconf.socket
DEBUG:root:debconf.start()
DEBUG:root:debconf.stop()
INFO:root:holding back phased update libsnapd-glib1 (0 < 53)
INFO:root:holding back phased update snapd-login-service (0 < 53)
DEBUG:root:App candidate for mythtv-frontend: /usr/share/app-install/desktop/mythtv-frontend:mythtv.desktop
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:Useless call to _add_deps. Package was None or didn't have a candidate.
DEBUG:root:WARNING: can not get name for '<Gtk.TreeViewAccessible object at 0x7f969520b828 (GtkTreeViewAccessible at 0x55bc8851f300)>'
DEBUG:root:WARNING: can not get name for '<Gtk.LabelAccessible object at 0x7f969520f9d8 (GtkLabelAccessible at 0x55bc88c0e6c0)>'
DEBUG:root:WARNING: can not get name for '<Gtk.TreeSelection object at 0x7f969520fe58 (GtkTreeSelection at 0x55bc88dce080)>'
DEBUG:root:WARNING: can not get name for '<Gtk.TextViewAccessible object at 0x7f969519c240 (GtkTextViewAccessible at 0x55bc88bd4730)>'
(update-manager:14909): Gtk-WARNING **: Could not get code point of
keysym \
(update-manager:14909): Gtk-WARNING **: Could not get code point of
keysym )
(update-manager:14909): Gtk-WARNING **: compose file
/home/vorlon/.XCompose does not include any keys besides keys in en-us
compose file
(update-manager:14909): Gtk-WARNING **: Could not get code point of
keysym \
(update-manager:14909): Gtk-WARNING **: Could not get code point of
keysym )
(update-manager:14909): Gtk-WARNING **: compose file /home/vorlon/.XCompose does not include any keys besides keys in en-us compose file
DEBUG:root:cache aufs_rw_dir: /tmp/
DEBUG:root:Free space on /: 3645808640
DEBUG:root:Free space on /usr: 1834479616
DEBUG:root:Dir /var mounted on /
DEBUG:root:Free space on /boot: 122780672
DEBUG:root:Dir /var/cache/apt/archives mounted on /
DEBUG:root:Dir /tmp mounted on /
DEBUG:root:Free space on /home: 0
DEBUG:root:Dir /tmp mounted on /
DEBUG:root:fs_free contains: '{'/home': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7da0>, '/boot': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7cf8>, '/var/cache/apt/archives': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7c18>, '/usr': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7b70>, '/var': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7c18>, '/': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7c18>, '/tmp': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7c18>}'
DEBUG:root:linux-image-4.8.0-30-generic (new-install) added with 65969653 to boot space
DEBUG:root:dir '/var/cache/apt/archives' needs '83022492' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7c18>' (3645808640.000000)
DEBUG:root:dir '/usr' needs '314591232' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7b70>' (1834479616.000000)
DEBUG:root:dir '/usr' needs '52428800' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7b70>' (1519888384.000000)
DEBUG:root:dir '/boot' needs '131939306' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7cf8>' (122780672.000000)
DEBUG:root:dir '/tmp' needs '5242880' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7c18>' (3562786148.000000)
DEBUG:root:dir '/' needs '10485760' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7c18>' (3557543268.000000)
DEBUG:root:dir '/tmp' needs '0.0' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7c18>' (3547057508.000000)
DEBUG:root:dir '/usr' needs '0.0' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7f96951b7b70>' (1467459584.000000)
ERROR:root:Not enough free space: ['/boot']
(update-manager:14909): dconf-WARNING **: failed to commit changes to
dconf:
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code12:
Failed to write file '/home/vorlon/.config/dconf/user.JXT7RY': write()
failed: No space left on device
(update-manager:14909): dconf-WARNING **: failed to commit changes to
dconf:
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code12:
Failed to write file '/home/vorlon/.config/dconf/user.2TS7RY': write()
failed: No space left on device
--
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/1646222
Title:
calculation of needed free space in /boot is inaccurate and causes
refusal to upgrade
Status in ubuntu-release-upgrader package in Ubuntu:
New
Status in update-manager package in Ubuntu:
New
Bug 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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1646222/+subscriptions
More information about the foundations-bugs
mailing list