Bug 589983 - gtk-update-icon-cache: No theme index file.
gtk-update-icon-cache: No theme index file.
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: redhat-logos (Show other bugs)
6.0
All Linux
low Severity low
: rc
: ---
Assigned To: Ray Strode [halfline]
desktop-bugs@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-07 09:02 EDT by Michal Nowak
Modified: 2013-03-07 21:09 EST (History)
3 users (show)

See Also:
Fixed In Version: redhat-logos-60.0.11-2.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-10 16:28:36 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 Michal Nowak 2010-05-07 09:02:42 EDT
Description of problem:

When updated redhat-logos I got this msg:

  Cleanup        : redhat-logos-60.0.6-1.el6.noarch
  gtk-update-icon-cache: No theme index file.

Version-Release number of selected component (if applicable):

redhat-logos-60.0.6-1.el6.noarch

Actual results:

gtk-update-icon-cache: No theme index file.

Expected results:

No such msg.
Comment 1 Ray Strode [halfline] 2010-05-07 10:03:39 EDT
So strangely, we should be already okay:

$ rpm -q --scripts redhat-logos
postinstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor || :
touch --no-create /usr/share/icons/System || :
touch --no-create /usr/share/kde-settings/kde-profile/default/share/icons/Fedora-KDE ||:
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  if [ -f /usr/share/icons/hicolor/index.theme ]; then
    gtk-update-icon-cache --quiet /usr/share/icons/hicolor || :
  fi
  if [ -f /usr/share/icons/System/index.theme ]; then
    gtk-update-icon-cache --quiet /usr/share/icons/System || :
  fi
fi


gtk-update-icon-cache must be returning an incorrect error message.  Anyway, the modern way of calling gtk-update-icon-cache is unconditionally with error messages sent to /dev/null, so we can potentially change things up to do that.
Comment 2 RHEL Product and Program Management 2010-05-07 10:07:40 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.
Comment 3 Tomas Pelka 2010-05-27 10:25:06 EDT
Giving qa_ack, reproducer in description and c1.
Comment 4 Tomas Pelka 2010-06-16 04:40:55 EDT
No such message message (gtk-update-icon-cache: No theme index file.) when installing redhat-logos-60.0.11-2.el6.

Putting to verified.
Comment 5 releng-rhel@redhat.com 2010-11-10 16:28:36 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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