Bug 7016

Summary: Installer should not end successfully if some very important packages are not installed
Product: Mageia Reporter: Claire Revillet <grenoya>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Normal CC: thierry.vignaud
Version: CauldronKeywords: USABILITY
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: ddebug.log of the second failed installation
propagate the error

Description Claire Revillet 2012-08-11 13:00:54 CEST
Description of problem:
While installing mga2 (boot-nonfree.iso) in VirtualBox, i had several 'transaction failed'.
One of them was on a require of rpm, so rpm was not installed.
But the installer continues, asking for a root password, etcaetera... resulting with an unusable mga2 (bootable, but can install anything)



What about making the installer failed officially or restart or ... anything but not let the user with such a useless box ?



Steps to Reproduce:
No idea :)
Comment 1 Claire Revillet 2012-08-11 14:32:10 CEST
My bloody connection helped my reproducing !

This time rpm was there but not urpmi (and i ask the minimal installation *with* urpmi) nor dhcp-client and some other less blocking.

as suggested by blino on IRC : the installer should check that basesystem (and other important packages maybe like urpmi and dhcp-client) is correctly installed before going on to the next step. If not it should download the hdlists again and so on.

i join here the ddebug.log of my second failed installation.

Summary: Installer should stop the installation if rpm is not installed => Installer should not end succefully if some very important packages are not installed

Comment 2 Claire Revillet 2012-08-11 14:35:39 CEST
Created attachment 2634 [details]
ddebug.log of the second failed installation
Comment 3 Thierry Vignaud 2012-09-03 15:12:31 CEST
bumping to cauldron as installer is frozen for stable releases

Keywords: (none) => USABILITY
CC: (none) => thierry.vignaud
Version: 2 => Cauldron

Comment 4 Thierry Vignaud 2012-09-03 16:17:04 CEST
Created attachment 2739 [details]
propagate the error

It's possible to propagate the error but in some case, the system is still usable even if some transactions failed.

Alternatively we could run more checks, like checking if a shell and/or rpm works
Comment 5 Thierry Vignaud 2012-09-03 17:50:18 CEST
Fixed in git

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

Thierry Vignaud 2014-01-18 09:10:03 CET

Summary: Installer should not end succefully if some very important packages are not installed => Installer should not end successfully if some very important packages are not installed