Bug 152 - After an upgrade from Mandriva to Mageia, gfxboot menu is not updated
Summary: After an upgrade from Mandriva to Mageia, gfxboot menu is not updated
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: Anne Nicolas
QA Contact:
URL:
Whiteboard:
Keywords:
: 669 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-22 15:52 CET by Damien Lallement
Modified: 2011-04-06 21:06 CEST (History)
5 users (show)

See Also:
Source RPM: mageia-gfxboot-theme-4.1.19.26-2.mga1.src.rpm
CVE:
Status comment:


Attachments

Description Damien Lallement 2011-02-22 15:52:01 CET
Description of problem: after upgrading a Mandriva Linux 2010.x to a Mageia alpha1 by network upgrade, on reboot, gfxmenu is still the MDV one: entries, background, ...)

Version-Release number of selected component (if applicable):
- mageia-gfxboot-theme-4.1.19.26-2.mga1.src.rpm
- kernel-desktop-2.6.37.1-1.mga-1-1.mga1

How reproducible:
Every time

Steps to Reproduce:
1. Start from a Mandriva 2010.x
2. urpmi.removemedia -a
3. urpmi.addmedia --distrib http://you_mageia_mirror
4. urpmi --auto-update
5. reboot and see the gfxmenu

Tip:
1. rpm -q --scripts mageia-gfxboot-theme
2. grub-gfxmenu --update-gfxmenu
Now your gfxmenu is up to date

Reproducible: 

Steps to Reproduce:
Damien Lallement 2011-02-22 15:52:30 CET

Priority: Normal => release_blocker
Component: Installation => RPM Packages

Comment 1 Ahmad Samir 2011-02-22 16:01:17 CET
Weird... mageia-gfxboot-theme-4.1.19.26-2.mga1 does obsolete mandriva-gfxboot-theme (mageia-gfxboot-theme-4.1.19.26-*1*.mga1 didn't obsolete the mdv package, but 2mga definitely does...).

CC: (none) => dmorganec, tmb
Assignee: bugsquad => ennael1

Comment 2 Anne Nicolas 2011-02-23 13:47:56 CET
Can this be tested so that we can close bug ? At least next isos will have updated package
Comment 3 Manuel Hiebel 2011-02-27 01:38:43 CET
Still present with an network update from mdv 2010.2 to mageia

[manu@localhost ~]$rpm -qa | grep gfxboot
mageia-gfxboot-theme-4.1.19.26-2.mga1

CC: (none) => manuel

Comment 4 Ahmad Samir 2011-02-27 03:06:51 CET
I think the problem of gfxboot post scriptlet not getting run comes from:
%post
if [ "$1" -gt 1 ]; then
   %_sbindir/grub-gfxmenu --update-gfxmenu
fi

$1 isn't greater than 1 , this is the first time the package is being installed.

Now this exists in the mdv spec too, so the question is, what creates /boot/gfxmenu during a clean install?

(I don't know much about the installer).
Samuel Verschelde 2011-03-10 17:59:09 CET

CC: (none) => stormi

Comment 5 Ahmad Samir 2011-03-14 20:18:43 CET
This is fixed by adding a trigger the should run %_sbindir/grub-gfxmenu --update-gfxmenu when mandriva-gfxboot-theme is uninstalled, this is to workaround the package name change.
Comment 6 D Morgan 2011-03-21 02:32:38 CET
i tried an update mdv -> mga and now all is OK

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

Comment 7 Max 2011-04-06 21:06:57 CEST
*** Bug 669 has been marked as a duplicate of this bug. ***

CC: (none) => mordbe0


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