update incorrectly assesses free space in /usr

Bug #897853 reported by Brian J. Murrell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When trying to update the kernel group of packages (i.e. kernel, headers, etc.) update-manager stops and tells me:

The upgrade needs a total of 263 M free space on disk '/usr'. Please free at least an additional 88.9 M of disk space on '/usr'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

But since we know that the only package that's going to want space in "/usr" is the kernel-headers and since we know the kernel-headers package actually wants space in /usr/src, we can determine that update-manager is incorrectly assuming /usr/src/ is in /usr. /usr/src here has lots of room for another kernel-headers package:

$ df -h /usr /usr/src
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rootvol-ubuntu_usr
                      9.9G 9.2G 166M 99% /usr
linux:/usr/src 85G 80G 735M 100% /usr/src

I'm sure if /usr/src had GBs free the complaint would still be the same since we can see that 735M is well clear of 263M.

Sure enough, I freed space in /usr:

$ df -h /usr /usr/src
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rootvol-ubuntu_usr
                      9.9G 9.1G 341M 97% /usr
linux:/usr/src 85G 80G 735M 100% /usr/src

and the update proceeded.

So, update manager assuming that /usr/src == /usr is bad and broken.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: update-manager 1:0.150.5.1
ProcVersionSignature: Ubuntu 2.6.38-12.51-generic 2.6.38.8
Uname: Linux 2.6.38-12-generic i686
NonfreeKernelModules: ksplice_lks0vd8k_sunrpc_new ksplice_lks0vd8k_lockd_new ksplice_lks0vd8k ksplice_bizjdf26_vmlinux_new ksplice_bizjdf26 ksplice_k2sez3vz ksplice_3l7ltbzk ksplice_r1my3sdv_vmlinux_new ksplice_r1my3sdv ksplice_gs6x6g13_vmlinux_new ksplice_gs6x6g13 ksplice_vc7wclc8_vmlinux_new ksplice_vc7wclc8 nvidia
Architecture: i386
Date: Tue Nov 29 14:55:50 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=C:en
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to natty on 2007-04-05 (1699 days ago)

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :
Revision history for this message
dino99 (9d9) wrote :

That version is no more maintained

Changed in update-manager (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.