Comment 1 for bug 1054903

Revision history for this message
Tamlin (storyjesse-gmail) wrote :

This bug affects me also.
I'm assuming it is something related to /var/cache being mounted as a tmpfs

I haven't tried the [Unity notification "Update Manager" icon -> Install updates] trick. Do you right click on the icon to get this option? When I run...
     ~$ update-manager
from a terminal it doesn't work even if I right click on the icon. How do I get the unity notification?

When running from the command line I get these warnings...

     ~$ update-manager
     WARNING:root:directory '/var/cache/apt/archives' does not exists
     ERROR:root:Not enough free space: ['/var/cache']
     WARNING:root:directory '/var/cache/apt/archives' does not exists
     ERROR:root:Not enough free space: ['/var/cache']
     gpg: /tmp/tmpGDw2Px/trustdb.gpg: trustdb created

I check manually for /var/cache/apt/archives...

     ~$ ls /var/cache/apt/
     pkgcache.bin srcpkgcache.bin

I create /var/cache/apt/archives...

     ~$ sudo mkdir /var/cache/apt/archives
     [sudo] password for jesse:

I run update-manager again...
     ~$ update-manager

SUCCESS!!!

I try installing updates...

The updates work but I get the following list of error messages in the terminal...

<quote>

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

(update-manager:20288): Gtk-WARNING **: /build/buildd/gtk+3.0-3.4.2/./gtk/gtkliststore.c:851: Unable to convert from glong to gint

debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied

</quote>

I'm wondering if these are just messages that would appear anyway and are not related to this bug? Any one know? I'm assuming that they are.

As a permanent fix/workaround I added the following line to /etc/init.rc before the "exit 0" line

<quote>
if [ /var/cache/apt/archives ]; then echo "/var/cache/apt/archives exists"; else mkdir /var/cache/apt/archives; fi || die "Command failed: mkdir /var/cache/apt/archives"
</quote>

Now need to go tell the writers of the howto's etc on SSD that recommended putting /var/cache on tmpfs ;-)