Bug 1221771 - error message: "gtk-update-icon-cache: The generated cache was invalid" caused by package zypp-gui
Summary: error message: "gtk-update-icon-cache: The generated cache was invalid" cause...
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: xiaoguang wang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-20 16:19 UTC by Giacomo Comes
Modified: 2024-06-28 07:35 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Comes 2024-03-20 16:19:59 UTC
When installing different packages I see the following error message:

gtk-update-icon-cache: The generated cache was invalid.
warning: %triggerin(gtk3-tools-3.24.34-150400.3.6.1.x86_64) scriptlet failed, exit status 1

This happens after installing the package zypp-gui
because such package installs some icons in
/usr/share/icons/hicolor/16x16/places
that have spaces in their name.

The issue was fixed upstream in zypp-gui since version 0.2.0
therefore tumbleweed is not affected by this bug.
But Leap 15.5 and 15.6 are.

There are two possible ways to fix the issue in Leap:
1) upgrade zypp-gui to version 0.2.0 or later
2) modify the spec file in this way:

 %prep
 %autosetup
+for i in data/icons/country/*\ * ; do mv "$i" ${i// /.} ; done
 
 %build
Comment 1 OBSbugzilla Bot 2024-06-28 07:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1221771) was mentioned in
https://build.opensuse.org/request/show/1183796 15.6 / zypp-gui
https://build.opensuse.org/request/show/1183799 15.5 / zypp-gui