Bug 15417

Summary: mageia-kde4-config %post script error while installing
Product: Mageia Reporter: William Kenney <wilcal.int>
Component: RPM PackagesAssignee: Luc Menut <lmenut>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: andrewsfarm, ennael1, luigiwalser
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: 5rc
Source RPM: mageia-kde4-config-5-0.20150204.2.mga5.src.rpm CVE:
Status comment:
Attachments: My ddebug.log file ( zip format )
my install.log file

Description William Kenney 2015-03-03 19:19:55 CET
Description of problem:

Mageia-5-rc-i586-DVD
=======================
ISO Name: Mageia-5-rc-i586-DVD.iso
DATE.txt: Tue Mar  3 09:07:25 CET 2015
md5sum:  88f01bef4f416cff7f89ebe91b398b13

During install I got an error message:
An error occurred:
ERROR: 'script' failed for mageia-kde4-config-common-5.0.2150204.2.mga5
OK and install continued on just fine

Reproducible: 

Steps to Reproduce:
William Kenney 2015-03-03 19:20:17 CET

Whiteboard: (none) => 5rc

Comment 1 Thomas Andrews 2015-03-04 01:31:31 CET
Confirmed on real hardware during an install from a DVD-RW: Fujitsu D1711 motherboard, Sempron 3100+ processor, Geforce 6200OC AGP video card. Server kernel had been installed.

Not seen using same DVD-RW in a Dell Dimension E310, P4 processor and onboard Intel graphics, where the desktop kernel had been installed.

CC: (none) => andrewsfarm

Comment 2 David Walser 2015-03-04 03:00:39 CET
Probably something with the alternatives stuff Luc added in the last update.

Priority: Normal => release_blocker
CC: (none) => luigiwalser
Assignee: bugsquad => lmenut
Source RPM: (none) => mageia-kde4-config-5-0.20150204.2.mga5.src.rpm

Comment 3 Thierry Vignaud 2015-03-04 08:34:06 CET
That's not an installer issue but a packaging issue.

Component: Installer => RPM Packages

Comment 4 Luc Menut 2015-03-04 11:44:35 CET
Please, could you attach ddebug.log from these installs.

(In reply to David Walser from comment #2)
> Probably something with the alternatives stuff Luc added in the last update.

yep, it's probably only a missing
Requires(post): update-alternatives
in mageia-kde4-config-common. I forgot to add it.
But I prefer to verify with ddebug.log.
Thierry Vignaud 2015-03-04 12:15:17 CET

Summary: installer scripting error => mageia-kde4-config %post script error while installing

Comment 5 William Kenney 2015-03-04 17:18:30 CET
Created attachment 5988 [details]
My ddebug.log file ( zip format )
Comment 6 William Kenney 2015-03-04 17:19:02 CET
Created attachment 5989 [details]
my install.log file
Comment 7 Anne Nicolas 2015-03-04 23:04:48 CET
submitted fix by Luc

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

Comment 8 Luc Menut 2015-03-04 23:13:29 CET
Thanks William
/var/tmp/rpm-tmp.DBf0WZ: line 4: update-alternatives: command not found
%post(mageia-kde4-config-common-5-0.20150204.2.mga5.noarch) scriptlet failed, exit status 127
mageia-kde4-config-common-5-0.20150204.2.mga5.noarch
and update-alternatives is installed later.

This confirms that it's due to the missing "Requires(post): update-alternatives" in common.

Fixed in mageia-kde4-config-5-0.20150204.3.mga5.

Hardware: i586 => All