Bug 10001 - memtest86+ throws script warnings/errors on install/uninstall when legacy grub is not active bootloader.
Summary: memtest86+ throws script warnings/errors on install/uninstall when legacy gru...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-06 13:54 CEST by Barry Jackson
Modified: 2015-04-21 19:23 CEST (History)
1 user (show)

See Also:
Source RPM: memtest86+-4.20-3.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Barry Jackson 2013-05-06 13:54:37 CEST
Description of problem:
When installing/uninstalling memtest86+ on a system without grub legacy:-

installing memtest86+-4.20-3.mga3.x86_64.rpm from /var/cache/urpmi/rpms                    
Preparing...                     #########################################################
      1/1: memtest86+            #########################################################
Cannot find a boot loader installed
warning: %post(memtest86+-4.20-3.mga3.x86_64) scriptlet failed, exit status 21
ERROR: 'script' failed for memtest86+-4.20-3.mga3.x86_64:

.......

[root@jackodesktop baz]# urpme memtest86+
removing memtest86+-4.20-3.mga3.x86_64
Cannot find a boot loader installed
error: %preun(memtest86+-4.20-3.mga3.x86_64) scriptlet failed, exit status 21
ERROR: 'script' failed for aspectj-installer-1.6.12-1.mga2.noarch: 
removing package memtest86+-4.20-3.mga3.x86_64
      1/1: removing memtest86+-4.20-3.mga3.x86_64


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Barry Jackson 2013-05-06 22:52:38 CEST
Seems this is not only when grub is not installed, but when grub is not the active bootloader.
In another system which has both grub and grub2 installed, where grub2 is also the active bootloader:-

[root@localhost baz]# urpmi memtest86+

    http://192.168.1.64/mageia/distrib/cauldron/x86_64/media/core/release/memtest86+-4.20-3.mga3.x86_64.rpm
installing memtest86+-4.20-3.mga3.x86_64.rpm from /var/cache/urpmi/rpms        
Preparing...                     #############################################
      1/1: memtest86+            #############################################
Cannot find a boot loader installed
warning: %post(memtest86+-4.20-3.mga3.x86_64) scriptlet failed, exit status 21
ERROR: 'script' failed for memtest86+-4.20-3.mga3.x86_64: 

[root@localhost baz]# rpm -qa | grep grub
grub2-2.00-42.mga3
grub2-mageia-theme-2.00-42.mga3
grub-0.97-38.mga3
Barry Jackson 2013-05-06 22:53:32 CEST

Summary: memtest86+ throws script warnings/errors on install/uninstall when legacy grub is not installed => memtest86+ throws script warnings/errors on install/uninstall when legacy grub is not active bootloader.

Barry Jackson 2013-05-06 23:10:08 CEST

Assignee: bugsquad => mageia
Source RPM: (none) => memtest86+-4.20-3.mga3.src.rpm

Comment 2 Marja Van Waes 2015-04-21 19:23:54 CEST
Fixed in current cauldron

[root@Mga5RC_EFI marja]# urpmi memtest86+


installeren van memtest86+-5.01-5.mga5.x86_64.rpm vanaf /home/marja/BlueHD/mageia/distrib/cauldron/x86_64/media/core/release
Voorbereiden...                  ################################################################
      1/1: memtest86+            ################################################################
cannot get info for device (6:0:0:1) at /usr/lib/libDrakX/detect_devices.pm line 272.
[root@Mga5RC_EFI marja]# 

(that error is unrelated)

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => FIXED
Assignee: mageia => bugsquad


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