Public bug reported: 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) ** Affects: update-manager (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/897853 Title: update incorrectly assesses free space in /usr To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/897853/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs