Bug 500163 - gtk-update-icon-cache: Failed to open file /usr/share/icons/hicolor/.icon-theme.cache : File already exists.
Summary: gtk-update-icon-cache: Failed to open file /usr/share/icons/hicolor/.icon-the...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk2
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-11 13:25 UTC by Matěj Cepl
Modified: 2018-04-11 18:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-11 16:04:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matěj Cepl 2009-05-11 13:25:37 UTC
When upgrading I get couple of messages

gtk-update-icon-cache: Failed to open file /usr/share/icons/hicolor/.icon-theme.cache : File exists.

Being advised on #desktop I should use -f. This is the result:


[root@hubmaier ~]# LANG=C gtk-update-icon-cache -f /usr/share/icons/hicolor/
gtk-update-icon-cache: Failed to open file /usr/share/icons/hicolor/.icon-theme.cache : File exists
[root@hubmaier ~]# 


Version-Release number of selected component (if applicable):
[root@hubmaier ~]# rpm -qf $(which gtk-update-icon-cache)
gtk2-2.16.1-4.fc11.x86_64
gtk2-2.16.1-4.fc11.i586
[root@hubmaier ~]# 


How reproducible:
100%

Steps to Reproduce:
1.see above
2.
3.
  
Actual results:
error message

Expected results:
no error message and updated icon cache.

Additional info:

Comment 1 Matthias Clasen 2009-05-11 16:04:48 UTC
I've committed a fix for this upstream, we'll get it with the next GTK+ release.


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