Bug 224586 - Error in post uninstall script
Summary: Error in post uninstall script
Alias: None
Product: Fedora
Classification: Fedora
Component: echo-icon-theme
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: diana fong
Depends On:
Blocks: FC7Target
TreeView+ depends on / blocked
Reported: 2007-01-26 15:35 UTC by Phil Knirsch
Modified: 2015-03-05 01:18 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2007-02-23 07:05:03 UTC

Attachments (Terms of Use)

Description Phil Knirsch 2007-01-26 15:35:30 UTC
During an automated install/deinstall check the following error has happened:

ERROR: Output running post uninstall script for package
No theme index file in '/usr/share/icons/Echo'.
If you really want to create an icon cache here, use --ignore-theme-index.

Adding --ignore-theme-index to the gtk-update-icon-cache should fix the problem.

postuninstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/echo || :
/usr/bin/gtk-update-icon-cache --ignore-theme-index --quiet
/usr/share/icons/Echo || :

Comment 1 Matthias Clasen 2007-02-02 07:00:19 UTC
Adding --ignore-theme-index would be the wrong fix, though. 

When removing an icon theme, there is no need to update the icon cache for the
no longer existing theme directory...

Comment 2 Matthias Clasen 2007-02-23 06:57:20 UTC
Fixed in echo-icon-theme-0.2-20070223wiki.fc7

Note You need to log in before you can comment on or make changes to this bug.