Bug 10722 - DVD upgrade to next Mageia version fails, basesystem package not selected, if on-line media added.
Summary: DVD upgrade to next Mageia version fails, basesystem package not selected, if...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker minor
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: 4RC 4beta2
Keywords: Triaged
Depends on:
Blocks: 11979
  Show dependency treegraph
 
Reported: 2013-07-06 21:57 CEST by Robert Munro
Modified: 2014-01-22 23:06 CET (History)
8 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
zip file created after mounting /disk1 with "zip rootdrakx /disk1/root/drakx/*" (764.29 KB, application/zip)
2013-08-28 03:24 CEST, Robert Munro
Details
Compressed report.bug (120.16 KB, application/x-xz)
2013-12-07 20:15 CET, Dave Hodgins
Details
ddebug.log (17.16 KB, text/x-log)
2014-01-10 15:08 CET, claire robinson
Details
install.log (671 bytes, text/x-log)
2014-01-10 15:09 CET, claire robinson
Details

Description Robert Munro 2013-07-06 21:57:49 CEST
The DVD upgrade to Mageia3 fails if additional online repositories are selected as instructed in the Release Notes.

Searching for packages to upgrade fails with the message "base-system package not selected".

I did get around this by *not* selecting additional online respositories during the upgrade, performing the upgrade with just the DVD, and then immediately doing an update from the Mageia Control Center, however the Release Notes DVD upgrade instruction to enable the additional online repositories during the upgrade appears to be misleading.
Comment 1 Robert Munro 2013-07-07 17:09:54 CEST
Edited the bug summary to reflect that the actual message text received included "basesystem" not "base-system".

Summary: DVD upgrade to Mageia3 fails, base-system package not selected => DVD upgrade to Mageia3 fails, basesystem package not selected

Comment 2 Manuel Hiebel 2013-07-08 09:58:19 CEST
hello, can you make a zip from your /root/drakx an attach it here ?
Samuel Verschelde 2013-08-27 16:28:27 CEST

Keywords: (none) => NEEDINFO
CC: (none) => stormi

Comment 3 Robert Munro 2013-08-28 03:24:31 CEST
Created attachment 4291 [details]
zip file created after mounting /disk1 with "zip rootdrakx /disk1/root/drakx/*"

This set of files was created in /root/drakx on a copy of a Mageia2 system built with a full-disk dd to a second disk drive of identical size followed by hexedit of the disk volume-id. Thus some of the files reflect the initial Mageia2 install.

The upgrade to Mageia3 was cycled twice, first with online repositories selected and then without them. The second upgrade attempt completed successfully, I think.

The files ddebug.log1 and install.log1 were deleted, because they documented the install of Mageia2. The hardware log report.bug.gz was deleted to save space, too.
Samuel Verschelde 2013-08-28 09:37:31 CEST

Keywords: NEEDINFO => Triaged

Comment 4 Filip Komar 2013-09-02 08:55:18 CEST
(In reply to Robert Munro from comment #0)
> The DVD upgrade to Mageia3 fails if additional online repositories are
> selected as instructed in the Release Notes.
> 
> Searching for packages to upgrade fails with the message "base-system
> package not selected".

This is not the reason for upgrade failure as basesystem has already been installed so there is no need to be selected. See https://bugs.mageia.org/show_bug.cgi?id=9611#c20 and other bugs about basesystem.

CC: (none) => filip.komar

Comment 5 Robert Munro 2013-09-02 09:55:02 CEST
That link is apparently old, and it doesn't apply to the Mageia3 release DVD ISO error, which terminates the upgrade at that point. I would have continued with the upgrade if that was possible, but it was not, because I was forced to recycle.
Comment 6 Dave Hodgins 2013-12-07 20:10:45 CET
This bug is also present in Mageia 4 beta 2 pre-release iso.

CC: (none) => davidwhodgins, ennael1, mageia, tmb

Comment 7 Dave Hodgins 2013-12-07 20:15:31 CET
Created attachment 4592 [details]
Compressed report.bug

For this test, I did an install using the Mageia 3 x86_64 dvd, with a mirror
added at the beginning of the install, selecting all package groups.

I then tried to do an updgrade using the Mageia 4 beta 2 x86_64 dvd, also
adding a mirror at the beginning of the install. It failed with
error: basesystem package not selected at /usr/lib/libDrakX/install/install2.pm line 203.

It appears that basesystem-minimal was installed, then uninstalled, leaving
the system unbootable.  Luckily this is a vb guest test, with a snapshot from
before the upgrade was started.
Comment 8 Dave Hodgins 2013-12-07 20:16:40 CET
Changing the release to cauldron, as the installer does not normally get
updated after release.

Hardware: i586 => All
Version: 3 => Cauldron
Whiteboard: (none) => 4beta2

Dave Hodgins 2013-12-07 20:18:50 CET

CC: (none) => thierry.vignaud

Dave Hodgins 2013-12-07 20:20:41 CET

CC: (none) => eeeemail

Dave Hodgins 2013-12-09 22:59:55 CET

Summary: DVD upgrade to Mageia3 fails, basesystem package not selected => DVD upgrade to next Mageia version fails, basesystem package not selected, if on-line media added.

Comment 9 Thierry Vignaud 2013-12-10 07:13:39 CET
There's sg fishy on your system.

Can you attach (or sent by email to me if too big) the bug10722.tar.xz file resulting from running the following commands from your system:

urpmi --auto-select --bug bug10722
tar cfa bug10722{.tar.xz,}

Keywords: (none) => NEEDINFO

Dave Hodgins 2014-01-07 18:21:54 CET

Blocks: (none) => 11704

Comment 10 claire robinson 2014-01-10 14:46:53 CET
Testing today with loads of stuff installed into mga3, including every DE I could remember.

Performing the upgrade with classic dvd 64 pre-4RC build 5 (new today), when choosing to add online mediasthe first thing it does is install basesystem-minimal then goes on to configure the network.

It'll take a while to complete so I'll report back later how it went.
Comment 11 claire robinson 2014-01-10 15:02:42 CET
It fails instantly after checking packages to upgrade..


       An error occurred

basesystem package not selected.


'bug' command fails from tty2, if I'm interpreting the error correctly it sounds like it can't find the usb stick. I'll create a new report for that though.

rescued /mnt/root/drakx directory by manually mounting so i'll attach some logs
claire robinson 2014-01-10 15:03:24 CET

Keywords: NEEDINFO => (none)
Whiteboard: 4beta2 => 4RC 4beta2

Comment 12 claire robinson 2014-01-10 15:08:15 CET
Created attachment 4752 [details]
ddebug.log

report.bug.xz shows only mga3 install and there are ddebug.log1 which is mga3 and ddebug.log which is cauldron so attaching this one.
Comment 13 claire robinson 2014-01-10 15:09:12 CET
Created attachment 4753 [details]
install.log

install.log (mga4) install.log1 (mga3) is also available if needed.
Comment 14 claire robinson 2014-01-10 16:46:55 CET
The upgrade completes without error if the DVD media is used without adding online medias.
claire robinson 2014-01-10 16:55:44 CET

Priority: Normal => release_blocker

Comment 15 Manuel Hiebel 2014-01-11 01:40:24 CET
>error: basesystem package not selected at /usr/lib/libDrakX/install/install2.pm line 203.
I can confirm  using a local mirror (over http) 

I did an online upgrade using urpmi --auto-update and it was working fine (at 1800/1900 the laptop shutdown as it was overheating :/)

Without online media and dvd it works fine too.

The Mga3 install is a netinstall with kde/gnome/icewm/lxde

(In reply to Thierry Vignaud from comment #9)
> There's sg fishy on your system.
> 
> Can you attach (or sent by email to me if too big) the bug10722.tar.xz file
> resulting from running the following commands from your system:
> 
> urpmi --auto-select --bug bug10722
> tar cfa bug10722{.tar.xz,}

if is needed I can try to do it. (after make something so that the laptop can work without hardware issue)
Comment 16 Thierry Vignaud 2014-01-14 01:35:18 CET
Comment on attachment 4752 [details]
ddebug.log

This log doesn't got up to the media step

Attachment 4752 is obsolete: 0 => 1

Comment 17 Thierry Vignaud 2014-01-14 01:54:21 CET
Can any of you test patch from https://bugs.mageia.org/attachment.cgi?id=3840
See https://bugs.mageia.org/show_bug.cgi?id=9611#c13

If it works, check that basesystem did got upgraded

Keywords: (none) => NEEDINFO

Comment 18 Anne Nicolas 2014-01-14 08:49:29 CET
tested here using an iso + patch-oem.pl. 
basesystem-minimal is uninstalled and upgrade is in progress without any trouble for now
Comment 19 Manuel Hiebel 2014-01-17 20:57:13 CET
Using dual and adding patch-oem.pl with isomaster (great tools) works here too.

It looks slow on vbox + local mirror so not yet finished, but you could push it.

Will report if I see something bad.

Keywords: NEEDINFO => (none)
Blocks: 11704 => 11979

Comment 20 Anne Nicolas 2014-01-19 23:23:33 CET
Thierry, can you please push this in next stage2? Thanks
Comment 21 Mageia Robot 2014-01-19 23:28:37 CET
commit bee96c85712303c5b83a70263668abb69a8e11c9
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Sun Jan 19 23:28:01 2014 +0100

    fix detecting if basesystem is installed (mga#10722)
    
    thus fixing "basesystem package not selected"
    
    real cause might be some package flags not having been updated
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=bee96c85712303c5b83a70263668abb69a8e11c9
Comment 22 Manuel Hiebel 2014-01-22 23:06:02 CET
Thanks.

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


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