Bug 7016 - Installer should not end successfully if some very important packages are not installed
Summary: Installer should not end successfully if some very important packages are not...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2012-08-11 13:00 CEST by Claire Revillet
Modified: 2014-01-18 09:10 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
ddebug.log of the second failed installation (250.61 KB, application/x-gzip)
2012-08-11 14:35 CEST, Claire Revillet
Details
propagate the error (1.86 KB, patch)
2012-09-03 16:17 CEST, Thierry Vignaud
Details | Diff

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


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