Bug 15509

Summary: Upgrade Error: Script failed for ibus-gtk3-1.5.4-4.mga4
Product: Mageia Reporter: claire robinson <eeeemail>
Component: RPM PackagesAssignee: Olav Vitters <olav>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: ennael1, fundawang, grenoya, luigiwalser, yochenhsieh
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 15521    
Attachments: report.bug.xz

Description claire robinson 2015-03-17 17:48:03 CET
Upgrade from mga4 to mga5 using DVD 64


Error: Script failed for ibus-gtk3-1.5.4-4.mga4

Reproducible: 

Steps to Reproduce:
Comment 1 claire robinson 2015-03-17 17:49:09 CET
Created attachment 6075 [details]
report.bug.xz
claire robinson 2015-03-17 17:49:43 CET

Assignee: bugsquad => yochenhsieh

claire robinson 2015-03-17 17:50:12 CET

CC: (none) => fundawang, grenoya

claire robinson 2015-03-17 17:50:33 CET

CC: (none) => ennael1, luigiwalser

Comment 2 David Walser 2015-03-17 18:51:09 CET
%postun gtk3
%{_bindir}/gtk-query-immodules-3.0-%{__isa_bits} --update-cache

That's in Mageia 4.

In Mageia 5, the command is just called gtk-query-immodules-3.0 and it's called automatically by a new filetrigger in libgtk+3_0.

So one fix for this would be to update the Mageia 4 ibus package and make the %postun test for the existence of the command before calling it.  However, this issue will affect all packages that are doing the same thing, so the same thing would need to be done for them.  The others affected are fcitx (fcitx-gtk3), imhangul (imhangul), hime (hime-gtk3), maliit-framework (maliit-framework-gtk3), gcin (gcin-gtk3), and scim (scim-gtk3).

I think it would be better if the Mageia 5 gtk+3.0 package had a symlink with the old executable name pointing to the new one.  I have requested a freeze push for gtk+3.0 in Cauldron doing just that.

Thanks for the report.

Priority: Normal => release_blocker
CC: (none) => yochenhsieh
Assignee: yochenhsieh => olav

David Walser 2015-03-18 22:56:57 CET

Blocks: (none) => 15521

Comment 3 David Walser 2015-03-18 23:15:55 CET
Should be fixed with gtk+3.0-3.14.8-4.mga5.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Olav Vitters 2015-03-25 11:56:11 CET
Thanks David!