Hi,
to shed some light on this. We have observed the problem with updating
sun-java5-bin using the Debian packages on an Ubuntu Gutsy system:
Setting up sun-java5-bin (1.5.0-14-2) ...
/usr/share/icons/sun-java5.png is not a directory
dpkg: error processing sun-java5-bin (--configure):
On an uptodate Debian sid system the update went smoothly. It appears
that the reason for this is in the update-icon-caches script. The
version installed on Debian sid checks that the parameter is a directory
before passing it to gtk-update-icon-cache:
if [ ! -d "$dir" ]; then
continue
fi
The version on Ubuntu (and perhaps other versions of the
update-icon-caches script) bails out with an error:
if [ ! -d "$dir" ]; then
echo "$dir is not a directory"
exit 2
fi
In any case, calling update-icon-caches with a filename is wrong. With
one version of the script this will fail silently (the icon-cache will
not be updated), with the other version of the script the package update
will break. So in my opinion this definitely needs to be fixed.
Sven
--
Sven Neumann
Software Development
JPK Instruments AG
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]