Bug#483560: Unable to load image-loading modules

Ted Percival ted at midg3t.net
Fri May 30 13:49:20 UTC 2008


Loïc Minier wrote:
> /var/lib/dpkg/info/libgtk2.0-0.postinst:
> 
> # versions prior to 2.10.1-1 used the 2.4.0 binary version and generated module
> # files below /etc/gtk-2.0 which will we can not leave behind (since they
> # reference modules not on the system anymore)
> if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "2.10.3-2"; then
>     echo "Removing generated module files coming from the previous Gtk binary version..."
>     rm -v -f /etc/gtk-2.0/gdk-pixbuf.loaders
>     rm -v -f /etc/gtk-2.0/gtk.immodules
> fi

That dpkg --compare-versions "lt" looks like it should be a "gt". 
Changing that and re-running the postinst configure does the trick.

Thanks for your help :)






More information about the pkg-gnome-maintainers mailing list