Description of problem: Error / warning messages during %post Version-Release number of selected component (if applicable): gnome-icon-theme-2.12.0-1 How reproducible: Install or upgrade the package. Actual results: 1:gnome-icon-theme ########################################### [100%] No theme index file in '/usr/share/icons/Bluecurve-inverse'. If you really want to create an icon cache here, use --ignore-theme-index. No theme index file in '/usr/share/icons/handhelds'. If you really want to create an icon cache here, use --ignore-theme-index. No theme index file in '/usr/share/icons/locolor'. If you really want to create an icon cache here, use --ignore-theme-index. No theme index file in '/usr/share/icons/redglass'. If you really want to create an icon cache here, use --ignore-theme-index. No theme index file in '/usr/share/icons/whiteglass'. If you really want to create an icon cache here, use --ignore-theme-index. error: %post(gnome-icon-theme-2.12.0-1.noarch) scriptlet failed, exit status 1 Expected results: Nothing :) Additional info: Also a problem were some empty directories in /usr/share/icons that appear to have been left behind by kde packages that I've removed.
I suspect that "--ignore-theme-index" might be the RTTD, but the empty lingering directories are obviously a packaging problem. Might it not be better to only run the gtk-update-icon-cache on directories that were installed by the package itself?
Still have a problem with latest rawhide release. The %post scriptlet is calling gtk-update-icon-cache on directories that it didn't install to, and thus picking on directories that don't have any index.theme in, such as the ones installed by xcursor-themes, or Bluecurve-inverse which belongs to redhat-artwork. Updating : gnome-themes ##################### [103/278] No theme index file in '/usr/share/icons/Bluecurve-inverse'. If you really want to create an icon cache here, use --ignore-theme-index. No theme index file in '/usr/share/icons/handhelds'. If you really want to create an icon cache here, use --ignore-theme-index. No theme index file in '/usr/share/icons/locolor'. If you really want to create an icon cache here, use --ignore-theme-index. No theme index file in '/usr/share/icons/redglass'. If you really want to create an icon cache here, use --ignore-theme-index. No theme index file in '/usr/share/icons/whiteglass'. If you really want to create an icon cache here, use --ignore-theme-index.
*** This bug has been marked as a duplicate of 167957 ***