After running a package upgrade with little RAM available, my Paper icon theme install is broken.
apt-get purgeing 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?