Bug 15875 - Installation fails if "unused" packages are removed (INTERNAL ERROR: unknown device sda1)
Summary: Installation fails if "unused" packages are removed (INTERNAL ERROR: unknown ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: release_blocker critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-07 15:56 CEST by Thomas Andrews
Modified: 2015-05-10 23:03 CEST (History)
6 users (show)

See Also:
Source RPM: draklive-install
CVE:
Status comment:


Attachments
List of hardware packages to be removed (218.57 KB, image/jpeg)
2015-05-08 03:29 CEST, Thomas Andrews
Details
Output of the command lspcidrake -v, after install was completed (4.46 KB, text/plain)
2015-05-08 03:33 CEST, Thomas Andrews
Details
Test32.png showing vbox unused pkgs (15.93 KB, image/png)
2015-05-08 09:41 CEST, claire robinson
Details
Test32error.png showing draklive error (18.96 KB, image/png)
2015-05-08 09:47 CEST, claire robinson
Details
journal.txt showing error condition (176.25 KB, text/plain)
2015-05-08 09:56 CEST, claire robinson
Details
Packages to be removed on Dell E310 when install was successful (447.98 KB, image/jpeg)
2015-05-08 14:29 CEST, Thomas Andrews
Details
lspcidrake output from a Dell E310 where install was successful (4.39 KB, text/plain)
2015-05-08 14:31 CEST, Thomas Andrews
Details

Description Thomas Andrews 2015-05-07 15:56:01 CEST
Description of problem:
Using i586 KDE LiveDVD, installation fails if "unused" packages are removed. If this step is "skipped" installation is normal. Not all hardware is affected.

Affected hardware: Homemade computer with Fujitsu D1711 motherboard (made by Asus, #K8V-MX/s [NOT the same as K8V-MX]) Sempron 3100+ processor, Asus-made video card nVidia GeForce 6200 OC AGP, wired Internet.

Unaffected hardware: Dell Dimension E310, P4 processor, onboard graphics, BCM4318-based wifi card.


Version-Release number of selected component (if applicable):
May 6 KDE i586 LiveDVD final

How reproducible:
Always.

Steps to Reproduce:
1.Begin install
2.Remove unused packages
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Thomas Backlund 2015-05-07 16:13:20 CEST
What fails ?

whats the error message ?

CC: (none) => tmb

Comment 2 Thomas Andrews 2015-05-07 17:19:11 CEST
I just tried it again, watching very carefully this time. There was no error message. The installer appears to finish the "Removing packages" phase, then crashes as if forced to reboot. Text shows on the screen, looking like a normal "restart" closing. If there are any error messages showing, they flew by to quickly to read. Nothing in red that I noticed, though.

Speculation, because I don't know what I'm looking at: Could it be that the nVidia driver is being removed along with the "unused" packages?
Thomas Andrews 2015-05-07 17:19:42 CEST

Priority: Normal => release_blocker

Comment 3 Thomas Andrews 2015-05-07 17:21:59 CEST
Forgot to add, I believe the "removing packages" phase finished only because of the length of time that it showed. It may be that it did not quite finish before everything crashed.
Comment 4 Rémi Verschelde 2015-05-07 17:23:10 CEST
In the "remove unused packages" screen, there is an "advanced" button that lists the packages that are going to be removed. Could you make a screenshot of it?

Please also attach a file with the output of lspcidrake -v.
Thierry Vignaud 2015-05-07 17:55:19 CEST

CC: (none) => sysadmin-bugs, thierry.vignaud
Component: Installer => Release (media or process)
Source RPM: (none) => draklive-install

claire robinson 2015-05-07 18:58:44 CEST

CC: (none) => eeeemail

Comment 5 Thomas Andrews 2015-05-08 03:29:43 CEST
Created attachment 6471 [details]
List of hardware packages to be removed

This is the list of hardware packages that were to be removed. After viewing this, I deselected the hardware packages and told the installer to remove the "locale" packages. Install was successful.
Comment 6 Thomas Andrews 2015-05-08 03:33:28 CEST
Created attachment 6472 [details]
Output of the command lspcidrake -v, after install was completed
Comment 7 Thomas Andrews 2015-05-08 03:42:35 CEST
Getting that screenshot would probably been easy if I had been using virtual hardware. Real hardware was more of a problem - until I remembered my digital camera.
Comment 8 Thomas Backlund 2015-05-08 09:28:32 CEST
Ok, so according to lspcidrake yuu are using nvidia304 driver and we are not removing that one.
Comment 9 claire robinson 2015-05-08 09:31:40 CEST
Reported also to happen in Vbox on qa-discuss by Brian Rockwell

Mageia-5-LiveCD-GNOME-en-i586-CD  (May 6 2015)

Vbox:  LiveMode - gets the Oh Oh message

From today's meeting - I noted installer failed as well.

Installer:

vbox is rebooting after partitioning and leaving "Unused hardware support"
checked.  If I uncheck this, guess what - it installs fine.

CC: (none) => brtians1

Comment 10 claire robinson 2015-05-08 09:41:06 CEST
Created attachment 6474 [details]
Test32.png showing vbox unused pkgs

Gnome livecd

Confirmed both the Oh no and it rebooting after removing unused packages in vbox.

It actually shuts down normally and reboots rather than crashing. I can see something about l2tp just before it closes but it goes too fast for me to read it.

I'll try kde livecd to see if it's the same and try to capture a screenshot.
Comment 11 claire robinson 2015-05-08 09:46:56 CEST
Next boot of the same machine, when trying to get a screenshot gives an error before getting that far. It was unexpected and I was on auto-pilot so didn't actually note how far it got before the error.
Comment 12 claire robinson 2015-05-08 09:47:45 CEST
Created attachment 6475 [details]
Test32error.png showing draklive error
Comment 13 claire robinson 2015-05-08 09:56:22 CEST
Created attachment 6476 [details]
journal.txt showing error condition

Rescued the journal from tty2. It mentions "test_for_bad_drives(/dev/sda on sector #62)" just before the error occurs.
Comment 14 claire robinson 2015-05-08 10:16:53 CEST
Possibly the fix for bug 15759 ?
Comment 15 Lewis Smith 2015-05-08 10:50:17 CEST
Confirming with the Gnome Final Live x64 DVD on real EFI hardware:
Whatever route you take to this stage of the installation, it fails at the "Removing packages" point if they are left ticked to be removed.

CC: (none) => lewyssmith

Comment 16 Thierry Vignaud 2015-05-08 12:37:50 CEST
That's a separate issue
Comment 17 Thomas Andrews 2015-05-08 14:29:45 CEST
Created attachment 6477 [details]
Packages to be removed on Dell E310 when install was successful

I thought it might be useful for comparison purposes to see the list of packages to be removed on a Dell Dimension E310, where the install proceeded normally after removal. Output of lspcidrake to follow.
Comment 18 Thomas Andrews 2015-05-08 14:31:35 CEST
Created attachment 6478 [details]
lspcidrake output from a Dell E310 where install was successful
Thierry Vignaud 2015-05-09 18:17:08 CEST

Summary: Installation fails if "unused" packages are removed => Installation fails if "unused" packages are removed (INTERNAL ERROR: unknown device sda1)

Comment 19 Lewis Smith 2015-05-10 08:57:37 CEST
(In reply to Thierry Vignaud from comment #16)
> That's a separate issue

Oh? I imagine my comment 15?
If that is a seperate issue, shall I raise *another* bug for it? (Which would seem to duplicate this one).

My experience was that installing directly from the boot menu ended up re-booting the box at the failure; installing from the Live desktop returned to that - the installation task vanished. So looking at logs etc should be possible. Do you want?
Comment 20 Thomas Andrews 2015-05-10 19:29:47 CEST
(In reply to Lewis Smith from comment #19)
> 
> My experience was that installing directly from the boot menu ended up
> re-booting the box at the failure; installing from the Live desktop returned
> to that - the installation task vanished. So looking at logs etc should be
> possible. Do you want?

That is the behavior I'm seeing with the KDE DVD, too. The first time it happened I was trying to do something else while the install was running, and when I checked in Power Management must have kicked in and all I had was a blank screen. Subsequent tests have been directly from the boot menu. 

I only just now tried it from the desktop again, shutting off the screen saver and Power Management before doing so, and it did indeed return to the desktop. I don't know how to look at the appropriate logs, or I would have done so.
Comment 21 Thomas Andrews 2015-05-10 21:44:31 CEST
I just tried once more, and discovered that if installing from the desktop, one of the packages that's being removed is MCC! It happened twice. The first time, I was going to use MCC to look at what it had to say about sda, and it was nowhere to be found. The second time I watched the panel icon, and it disappeared somewhere, oh, I'd say about 2/3-3/4 of the way through the removal process.

MCC, of course, isn't listed as one of the packages to be removed. Yet from all appearances, it is. What else do you suppose is being removed that's not supposed to be?
Comment 22 Thomas Backlund 2015-05-10 22:44:33 CEST
So, this is a fallout of fixing mga#10647 (adding iw, crda, wireless-regdb) to meta-task.

so when drakx detects those as unneeded, it tries to remove them and thereby drakx-net and a whole lot of perl/drakx stuff as a consequence and we die ...

I "unintentionally" fixed this in:
http://gitweb.mageia.org/software/drakx/commit/?id=4c4f20ea33706bffd8a6dcd5f821ceaf7d7495d7

:)
Comment 23 Mageia Robot 2015-05-10 22:44:46 CEST
commit 9c5d20c705e029352b636886253e8560ed0640f8
Author: Thomas Backlund <tmb@...>
Date:   Sun May 10 23:42:46 2015 +0300

    last commit also fixes mga#15875 that got broken by mga#10647
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=9c5d20c705e029352b636886253e8560ed0640f8

 Bug links:
   Mageia
      https://bugs.mageia.org/15875
      https://bugs.mageia.org/10647
Comment 24 Thomas Andrews 2015-05-10 22:58:48 CEST
Confirmed, I think, after once again viewing an install from the desktop on the Dell E310 that was not affected. The packages listed above are NOT removed, probably because of that computer's wireless card, and as I watch the install proceed I see that MCC is also NOT removed.
Comment 25 Thomas Backlund 2015-05-10 23:03:56 CEST
Fixed in drakxtools-16.94-1.mga5

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


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