Bug 224586 - Error in post uninstall script
Error in post uninstall script
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: echo-icon-theme (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Zeuthen
diana fong
:
Depends On:
Blocks: FC7Target
  Show dependency treegraph
 
Reported: 2007-01-26 10:35 EST by Phil Knirsch
Modified: 2015-03-04 20:18 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-23 02:05:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Phil Knirsch 2007-01-26 10:35:30 EST
During an automated install/deinstall check the following error has happened:

ERROR: Output running post uninstall script for package
echo-icon-theme-0:0.1-6.fc7.noarch
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 02:00:19 EST
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 01:57:20 EST
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.