Bug 12345 - %post scriptlet failed for libgtk3_0
Summary: %post scriptlet failed for libgtk3_0
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker normal
Target Milestone: ---
Assignee: Olav Vitters
QA Contact:
URL:
Whiteboard: 4RC
Keywords:
Depends on:
Blocks: 11704
  Show dependency treegraph
 
Reported: 2014-01-17 21:02 CET by Dick Gevers
Modified: 2018-02-17 01:23 CET (History)
3 users (show)

See Also:
Source RPM: libgtk3_0
CVE:
Status comment:


Attachments
report.bug.xz (208.72 KB, application/octet-stream)
2014-01-17 21:12 CET, Dick Gevers
Details
screenshot from press of F2 key (23.44 KB, image/png)
2014-01-17 21:13 CET, Dick Gevers
Details

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)


Note You need to log in before you can comment on or make changes to this bug.