Bug#466083: debhelper: problem with update-icon-caches
Simon Pepping
spepping at leverkruid.eu
Sun Feb 17 10:15:54 UTC 2008
On Sat, Feb 16, 2008 at 08:21:15PM +0100, Josselin Mouette wrote:
> reassign 466083 libgtk2.0-bin
> thanks
>
> On sam, 2008-02-16 at 14:14 +0100, Simon Pepping wrote:
> > Package: debhelper
> > Version: 6.0.5
> > Severity: normal
> >
> > After installation of a third party package with autopackage, the
> > generated cache for /usr/share/icons/hicolor was invalid. No further
> > information was given. This error prevents removal and upgrades of
> > packages where update-icon-caches is the last command in the postrm
> > script and thus determines the exit code, e.g. openoffice.org-common.
> >
> > While the problem with the icon cache was real and not related to
> > update-icon-caches, the information is too little and the consequences
> > of serious upgrade problems are too severe. This should be improved.
>
> I guess we can display a big warning if gtk-update-icon-cache fails, and
> exit without error to allow the upgrade to proceed nevertheless.
>
> Would that be OK for you?
Would it not be better to keep the error exit code but make sure that
it is not the exit code of the postrm script? A straightforward way to
do that would be to add the true command after the update-icon-caches
command. This shows that a failure of the update-icon-caches command
is not fatal for the upgrade process.
Simon Pepping
More information about the pkg-gnome-maintainers
mailing list