Bug 12345

Summary: %post scriptlet failed for libgtk3_0
Product: Mageia Reporter: Dick Gevers <dvgevers>
Component: RPM PackagesAssignee: Olav Vitters <olav>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: eeeemail, ennael1, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: 4RC
Source RPM: libgtk3_0 CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 11704    
Attachments: report.bug.xz
screenshot from press of F2 key

Description Dick Gevers 2014-01-17 21:02:31 CET
Description of problem:

An error / warning pops up 20 seconds before the end of packages installation, reading:

An error occurred:
ERROR: 'script' failed for lib64gtk+3_0-3.10.6-3.mga4.x86_64:
                                                          Ok
Screenshot and "bug" command executed. Attachments follow.

Reproducible: 

Steps to Reproduce:
Dick Gevers 2014-01-17 21:04:02 CET

CC: (none) => ennael1
Whiteboard: (none) => 4RC

Comment 1 Dick Gevers 2014-01-17 21:12:09 CET
Created attachment 4813 [details]
report.bug.xz

report.bug.xz from /root/drakx
Comment 2 Dick Gevers 2014-01-17 21:13:22 CET
Created attachment 4814 [details]
screenshot from press of F2 key
Comment 3 Thierry Vignaud 2014-01-18 11:29:44 CET
This is _NOT_ an installer bug but a packaging one:

/var/tmp/rpm-tmp.RwyeZC: line 6: /usr/bin/gtk-query-immodules-3.0-64: No such file or directory
%post(lib64gtk+3_0-3.10.6-3.mga4.x86_64) scriptlet failed, exit status 127

It:
- either misses a "requires(post): gtk+3.0"
- or should test for gtk-query-immodules presence before calling it.
- or should use %posttrans instead

CC: (none) => thierry.vignaud
Component: Installer => RPM Packages
Assignee: bugsquad => olav
Summary: An error occurred with package scripts of libgtk3_0 => %post scriptlet failed for libgtk3_0
Source RPM: 64 bits classical iso (4RC round 10) => libgtk3_0

Comment 4 Thierry Vignaud 2014-01-18 17:02:52 CET
Actually it already has the requires(post).
However there's a dependency loop: gtk+3.0 <=> lib64gtk+3_0

rpm has to choose either one to install first in the same transaction, so it will randomly fail.
=> we need to switch to %posttrans.

Priority: Normal => release_blocker
Blocks: (none) => 11704

claire robinson 2014-01-18 17:40:14 CET

CC: (none) => eeeemail

Comment 5 Thierry Vignaud 2014-01-18 21:39:19 CET
Fixed

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

Saint Doux 2018-02-17 01:15:52 CET

Blocks: (none) => 22594

Frédéric "LpSolit" Buclin 2018-02-17 01:23:39 CET

Blocks: 22594 => (none)