Bug 18301

Summary: [6sta1] Error- "script" failed for libuser1-0.62-3mga6.i586 (and lib64user1-0.62-3mga6.x86-64)
Product: Mageia Reporter: Ben McMonagle <westel>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: anaselli, makowski.mageia, marja11, thierry.vignaud
Version: CauldronKeywords: 6sta1, PATCH
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libuser-0.62-3.mga6 CVE:
Status comment:

Description Ben McMonagle 2016-04-30 00:36:10 CEST
Description of problem: Installing  Mate only DE from DVD  results in a popup at the completion of the install: Error- "script" failed for libuser1-0.62-3mga6.i586


Version-Release number of selected component (if applicable):
Mageia-6-sta1-i586-DVD.iso
DATE.txt: Mon Apr 25 22:13:53 CEST 2016


How reproducible:


Steps to Reproduce:
1.install Mate only DE via DVD medium 
2.observe popup at completion of installation of packages
3.
Ben McMonagle 2016-04-30 01:04:02 CEST

Whiteboard: (none) => 6sta1

Comment 1 Ben McMonagle 2016-04-30 06:38:55 CEST
also valid for Gnome only DE install

Install media = netinstaller boot.iso / local HDD .iso method from DVD
Comment 2 Marja Van Waes 2016-04-30 15:37:05 CEST
CC'ing philippem, who packaged libuser-0.62-3.mga6, and tv.

I don't remember whether "script failed" issues during install are packaging issues or not.

Keywords: (none) => 6sta1
CC: (none) => makowski.mageia, marja11, thierry.vignaud
Source RPM: (none) => libuser-0.62-3.mga6
Whiteboard: 6sta1 => (none)

Comment 3 Philippe Makowski 2016-04-30 17:22:59 CEST
we have a %triggerin that do rm -f /etc/shadow.lock
but I don't see why it could report an Error
tv ?
Comment 4 David Walser 2016-05-02 14:27:54 CEST
Do any of your logs show *what* the error was?  If it's 127, that would probably be because it tried to install libuser before coreutils.  I don't know if you can have a Requires(triggerin).
Comment 5 Thierry Vignaud 2016-05-02 17:41:56 CEST
This should do it:

Requires: coreutils
Requires(pre): coreutils

Or rewrite it in lua so that there's no deps issue:
Sg like:

%triggerin -p <lua> -n %{libname} -- %{libname} <= 0.60-6.mga6
path = "/etc/shadow.lock"
st = posix.stat(path)
if st then
  os.remove(path)
end

(to be tested obviously)
Comment 6 Thierry Vignaud 2016-05-02 17:44:30 CEST
And, as always, that's not an installer issue but a packaging issue

Hardware: i586 => All
Component: Installer => RPM Packages

Marja Van Waes 2016-05-03 17:01:00 CEST

Keywords: (none) => PATCH
Assignee: bugsquad => pkg-bugs

Comment 7 Philippe Makowski 2016-05-03 20:16:40 CEST
(In reply to Thierry Vignaud from comment #5)
> This should do it:
> 
> Requires: coreutils
> Requires(pre): coreutils
> 

Let's try this way
I guess that we need :
%triggerin -n %{libname} -- %{libname} <= 0.62-4.mga6

?
Comment 8 Philippe Makowski 2016-05-04 12:16:42 CEST
I added requires, 0.62-4.mga6 should land soon
Angelo Naselli 2016-05-04 13:47:04 CEST

CC: (none) => anaselli

Comment 9 Marja Van Waes 2016-05-08 10:44:39 CEST
*** Bug 18400 has been marked as a duplicate of this bug. ***
Marja Van Waes 2016-05-08 10:45:49 CEST

Summary: [6sta1] Error- "script" failed for libuser1-0.62-3mga6.i586 => [6sta1] Error- "script" failed for libuser1-0.62-3mga6.i586 (and lib64user1-0.62-3mga6.x86-64)

Comment 10 Ben McMonagle 2016-05-25 09:46:07 CEST
no longer valid for

Mageia-6-sta1-i586-DVD.iso
DATE.txt: Fri May 20 15:04:58 CEST 2016
Comment 11 Thierry Vignaud 2016-05-25 11:39:05 CEST
Closing

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