FS#20346 - [gparted] gtk-update-icon-cache: The generated cache was invalid.

Attached to Project: Arch Linux
Opened by Karl Mauch (kama) - Tuesday, 03 August 2010, 11:05 GMT
Last edited by Giovanni Scafora (giovanni) - Thursday, 26 August 2010, 21:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Please add slashes in gparted.install before the usr.


Additional info:
Revision 86668

Steps to reproduce:
"gtk-update-icon-cache -q -t -f usr/share/icons/hicolor" fails
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Thursday, 26 August 2010, 21:49 GMT
Reason for closing:  Not a bug
Comment by Eric Belanger (Snowman) - Tuesday, 03 August 2010, 17:00 GMT
There's not supposed to be a slash before usr. The error was probably caused by something else.
Comment by Jan de Groot (JGC) - Tuesday, 03 August 2010, 19:12 GMT
Works fine here. Pacman moves to / before running this command, and from / it works fine.
Comment by Karl Mauch (kama) - Wednesday, 04 August 2010, 14:13 GMT
If I run
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
in the commandline, I get an error: gtk-update-icon-cache: Failed to open file usr/share/icons/hicolor/.icon-theme.cache : Datei oder Verzeichnis nicht gefunden (file or folder not found)
So I thought it needs a
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
But now I see an other error:
gtk-update-icon-cache: The generated cache was invalid.

What to do?
Comment by Karl Mauch (kama) - Wednesday, 04 August 2010, 14:16 GMT
pacman -S gparted
->
gtk-update-icon-cache: The generated cache was invalid.
Fehler: Befehl konnte nicht korrekt ausgeführt werden

I see, it's not an error in the gparted.install
Comment by Jan de Groot (JGC) - Wednesday, 04 August 2010, 14:48 GMT
Try running "gtk-update-icon-cache -f /usr/share/icons/hicolor"

You have a corrupted or non-standard icon in /usr/share/icons/hicolor somewhere, so gtk can't update the cache correctly.

Loading...