After running a package upgrade with little RAM available, my Paper icon theme install is broken. apt-get purge
ing and reinstalling the package, with reboots after every step, hasn't helped. When I select the Paper icon theme in Unity Tweak Tool, the icons revert back to the default (hideous) Gnome ones.
Just before the icons broke, the following error came up in the graphical update manager:
Unpacking paper-icon-theme (version) over (version) ...
gtk-update-icon-cache-3.0: **
Gtk:ERROR/build/gtk+3.0-3sSotQ/gtk+3.0-3.10.8/./gtk/updateiconcache.c:1117:write_bucket: assertion failed: (*offset == ftell (cache))
Aborted (core dumped)
WARNING: icon cache generation failed for /usr/share/icons/Paper
Unfortunately, when I pressed 'Report problem', there was apparently not enough free memory to analyse the problem and send a bug report.
How can I fix the theme?
I solved the problem by deleting
icon-theme.cache
in/usr/share/icons/Paper/
. To recreate the cache file (which apparently reduces disk usage, according to the man page), runand reselect the icon theme in Unity Tweak Tool. A reboot shouldn't be necessary.