Bug 500163

Summary: gtk-update-icon-cache: Failed to open file /usr/share/icons/hicolor/.icon-theme.cache : File already exists.
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: gtk2Assignee: Matthias Clasen <mclasen>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bnocera, mcepl, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-11 16:04:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.