Comment 2 for bug 125383

judoka (mgottesfeld) wrote :

I experienced the same problem and I think I've narrowed it down to the end of the evince.postinst file:

stix@excalibur:/var/lib/dpkg/info$ cat

if which gtk-update-icon-cache >/dev/null 2>&1; then
        for dir in /usr/share/icons/hicolor; do
            echo "trying $dir"
                gtk-update-icon-cache --force --quiet "$dir"
stix@excalibur:/var/lib/dpkg/info$ sudo ./
trying /usr/share/icons/hicolor
bad image index
The generated cache was invalid.

When I comment out the gtk-update-icon-cache line the package installs fine.
It may also be worth noting that I very recently upgraded from feisty to gutsy.