[Bug 1054903] [NEW] update-manager says "Not enough free disk space" but there is enough space

Oliver Hessling oliver at hessling.fr
Sun Sep 23 09:06:24 UTC 2012


Public bug reported:

Unity notification "Update Manager" icon -> Show updates -> Install
Updates:

    Not enough free disk space
    The upgrade needs a total of 65,7 M free space on disk '/var/cache'. Please free at least an additional 65,7 M of disk space on '/var/cache'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

There is 715 M available on /var/cache :

$ df -hT 
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda3      ext4       90G   80G  5,4G  94% /
udev           devtmpfs  3,9G  4,0K  3,9G   1% /dev
tmpfs          tmpfs     789M  8,0K  789M   1% /tmp
tmpfs          tmpfs     1,6G  848K  1,6G   1% /run
none           tmpfs     5,0M     0  5,0M   0% /run/lock
none           tmpfs     3,9G   76K  3,9G   1% /run/shm
tmpfs          tmpfs     789M     0  789M   0% /var/tmp
tmpfs          tmpfs     789M  656K  788M   1% /var/log
tmpfs          tmpfs     789M     0  789M   0% /var/log/apt
tmpfs          tmpfs     789M   74M  715M  10% /var/cache

$ sudo du -hsc /var/cache
74M     /var/cache
74M     total

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dbus dbus-x11 gstreamer0.10-plugins-bad gvfs gvfs-backends gvfs-bin gvfs-common gvfs-daemons gvfs-fuse gvfs-libs isc-dhcp-client isc-dhcp-common kde-zeroconf kdenetwork kget kopete krdc krfb libdbus-1-3 libdbus-1-3:i386
  libgstreamer-plugins-bad0.10-0 libkopete4 openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib php5 php5-cgi php5-cli php5-common php5-curl php5-gd tzdata tzdata-java
33 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 65,7 MB of archives.
After this operation, 416 kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

However this works:
Unity notification "Update Manager" icon -> Install updates

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1054903

Title:
  update-manager says "Not enough free disk space" but there is enough
  space

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  Unity notification "Update Manager" icon -> Show updates -> Install
  Updates:

      Not enough free disk space
      The upgrade needs a total of 65,7 M free space on disk '/var/cache'. Please free at least an additional 65,7 M of disk space on '/var/cache'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

  There is 715 M available on /var/cache :

  $ df -hT 
  Filesystem     Type      Size  Used Avail Use% Mounted on
  /dev/sda3      ext4       90G   80G  5,4G  94% /
  udev           devtmpfs  3,9G  4,0K  3,9G   1% /dev
  tmpfs          tmpfs     789M  8,0K  789M   1% /tmp
  tmpfs          tmpfs     1,6G  848K  1,6G   1% /run
  none           tmpfs     5,0M     0  5,0M   0% /run/lock
  none           tmpfs     3,9G   76K  3,9G   1% /run/shm
  tmpfs          tmpfs     789M     0  789M   0% /var/tmp
  tmpfs          tmpfs     789M  656K  788M   1% /var/log
  tmpfs          tmpfs     789M     0  789M   0% /var/log/apt
  tmpfs          tmpfs     789M   74M  715M  10% /var/cache

  $ sudo du -hsc /var/cache
  74M     /var/cache
  74M     total

  $ sudo apt-get dist-upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following packages will be upgraded:
    dbus dbus-x11 gstreamer0.10-plugins-bad gvfs gvfs-backends gvfs-bin gvfs-common gvfs-daemons gvfs-fuse gvfs-libs isc-dhcp-client isc-dhcp-common kde-zeroconf kdenetwork kget kopete krdc krfb libdbus-1-3 libdbus-1-3:i386
    libgstreamer-plugins-bad0.10-0 libkopete4 openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib php5 php5-cgi php5-cli php5-common php5-curl php5-gd tzdata tzdata-java
  33 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 65,7 MB of archives.
  After this operation, 416 kB disk space will be freed.
  Do you want to continue [Y/n]? n
  Abort.

  However this works:
  Unity notification "Update Manager" icon -> Install updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1054903/+subscriptions




More information about the foundations-bugs mailing list