Bug 20746 - mate-menus post scripts break the upgrade process (5 to 6)
Summary: mate-menus post scripts break the upgrade process (5 to 6)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker major
Target Milestone: ---
Assignee: Atilla ÖNTAŞ
QA Contact:
URL:
Whiteboard:
Keywords: 6RC
Depends on:
Blocks:
 
Reported: 2017-04-28 13:25 CEST by Rémi Verschelde
Modified: 2017-05-02 09:53 CEST (History)
1 user (show)

See Also:
Source RPM: mate-menus-1.18.0-1.mga6
CVE:
Status comment:


Attachments
report.bug.xz from a test upgrade by Ben McMonagle (209.89 KB, application/octet-stream)
2017-04-28 13:26 CEST, Rémi Verschelde
Details

Description Rémi Verschelde 2017-04-28 13:25:22 CEST
As reported on the qa-discuss mailing list against the current set of testing Mageia 6 RC ISOs (28.04.2017), mate-menus packages (at least matemenu-mageia-layout)'s %post scripts cause upgrade failures:

* urpmi error: ERROR: 'script' failed for matemenu-mageia-layout-1.18.0-1.mga6.x86_64
* p11-kit not installed, %post(matemenu-mageia-layout-1.18.0-1.mga6.x86_64) scriptlet failed, exit status 127
* iputils not installed, %post(matemenu-mageia-layout-1.18.0-1.mga6.x86_64) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.vkBAlI: line 6: update-alternatives: command not found
%post(matemenu-mageia-layout-1.18.0-1.mga6.x86_64) scriptlet failed, exit status 127

It's likely just a missing dependency (Requires(post)).
Comment 1 Rémi Verschelde 2017-04-28 13:26:02 CEST
Created attachment 9235 [details]
report.bug.xz from a test upgrade by Ben McMonagle
Comment 2 Rémi Verschelde 2017-04-28 13:27:53 CEST
> It's likely just a missing dependency (Requires(post)).

CC'ing David who has some experience setting the correct Requires in such cases :)

I guess it should be something like `Requires(postun): chkconfig`, but I did not test it to confirm.

Priority: Normal => release_blocker
CC: (none) => luigiwalser
Keywords: (none) => 6RC

Comment 3 David Walser 2017-04-28 18:03:03 CEST
Should be fixed in mate-menus-1.18.0-2.mga6.
Comment 4 Rémi Verschelde 2017-05-02 09:53:28 CEST
Closing.

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


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