Bug 18215 - Cannot abort Netinstall on Error
Summary: Cannot abort Netinstall on Error
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-16 18:49 CEST by Ulrich Beckmann
Modified: 2016-04-18 20:52 CEST (History)
4 users (show)

See Also:
Source RPM: drakx-installer-stage2
CVE:
Status comment:


Attachments
Installation log (525.84 KB, text/x-log)
2016-04-16 18:51 CEST, Ulrich Beckmann
Details
ddebug.log from netinstall (460.64 KB, text/x-log)
2016-04-17 18:21 CEST, Ulrich Beckmann
Details

Description Ulrich Beckmann 2016-04-16 18:49:58 CEST
Description of problem:


I used the Netinstall iso, boot-nonfree.iso amd64 of 12th April, notebook Vaio E Series SVE1713G4EW mit Win 8 und UEFI.

My choices were
- Language: English, secondary Languages German, brazilian Portuguese
- Filesystem btrfs, custom partitioning
- Desktop KDE

I ran into a popup windows as follows
An error occurred:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR: 'script' failed for x11-server-common-1.18.3-5.mga6
ERROR: 'script' failed fpr memtest86+-5.01-9.mga6
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Acknowledged with Button OK

Next windows
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13 Installation transactions failed
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Acknowledged with Button OK

Next window is Details window with Buttons Release notes, Cancel, No Details, pressed Cancel.
The Installer returns to the Media Selection page, where is only a button Next. 

Version-Release number of selected component (if applicable):


How reproducible:
Only reproducible if the update (# urpmi --auto-update) runs into an error.


Best regards,
Ulrich Beckmann
Comment 1 Ulrich Beckmann 2016-04-16 18:51:56 CEST
Created attachment 7674 [details]
Installation log
Ulrich Beckmann 2016-04-16 18:56:36 CEST

CC: (none) => bequimao.de

Comment 2 Marja Van Waes 2016-04-16 21:01:16 CEST
Hi Ulrich :-)

In the manual for the classical installer, it is explained how to quit install, see the Note near the bottom of this page:
http://doc.mageia.org/installer/5/en/content/selectInstallClass.html

We don't want to make stopping too easy, because after partitions get formatted or things got installed, we cannot revert to the situation before. Stopping will lead to an unusable system.

In cauldron, it is very normal to encounter problems while installing from a mirror: cauldron changes very fast, and packages or dependencies disappear from the mirror while you're installing. It is normal to be returned to the step before the packages got installed several times, and then install the missed packages, get new errors, go back, install again etc. until everything's well.


That wouldn't have fixed this, though:

Installation failed:
        file /var/spool/fax from install of mgetty-sendfax-1.1.37-1.mga6.x86_64 conflicts with file from package hylafax+-client-5.5.8-1.mga6.x86_64
        file /usr/bin/faxrm from install of mgetty-sendfax-1.1.37-1.mga6.x86_64 conflicts with file from package hylafax+-client-5.5.8-1.mga6.x86_64

( @ Thomas: sorry for assigning to you, but mgetty doesn't have a maintainer)

nor would it have fixed this:
Installation failed:
        qttranslations5 is needed by qttools5-5.6.0-1.mga6.x86_64
qttranslations and qttools were both pushed on March 18, so I don't understand that.
(CC'ing neoclust, though)

I'll keep this bug for the mgetty-sendfax conflicts with hylafax+-client.

Ulrich, if you see the "script failed" errors again, or any other installation failed messages that don't disappear after rerunning the packages install part several times (of course that won't help with a mirror that only updates once a day), then please open new bug reports, or, if there are too many such issues, report them on a mailing list or in the forums.

Regards,
Marja

Source RPM: netinstall.iso => mgetty-1.1.37-1.mga6, hylafax+-5.5.8-1.mga6
CC: (none) => mageia, marja11
Component: Installer => RPM Packages
Assignee: bugsquad => thomas
Summary: Cannot abort Netinstall on Error => files from mgetty-sendfax-1.1.37-1.mga6.x86_64 conflict with files from hylafax+-client-5.5.8-1.mga6.x86_64

Comment 3 Ulrich Beckmann 2016-04-16 21:29:30 CEST
Hi Marja,

Sorry, that I did not clarify.

The problem are not the missing dependencies, but the error handling of the installer.

The user is caught in an infinite loop. I had to switch off the computer with the power button. One might even try the installation again without formatting.

The issue is discussed here: https://forums.mageia.org/en/viewtopic.php?f=15&t=10953

Best regards,
Ulrich
Comment 4 Marja Van Waes 2016-04-16 21:52:09 CEST
(In reply to Ulrich Beckmann from comment #3)
> Hi Marja,
> 
> Sorry, that I did not clarify.
> 
> The problem are not the missing dependencies, but the error handling of the
> installer.
> 
> The user is caught in an infinite loop. 

No problem, only that I still don't understand which infinite loop you had.

It would have been nice to get the full installer logs from such an infinite loop
https://wiki.mageia.org/en/Triage_guide#Traditional_installer

(report.bug contains more log files. If it isn't yet created, then ddebug.log from after having done several loops would be nice to have)

Thanks for wanting to get such serious issues fixed.

I may have been wrong with my assumption that 
mgetty-sendfax and hylafax+-client shouldn't conflict. Did you manually select one or both of them?
Comment 5 Thomas Spuhler 2016-04-17 01:05:42 CEST
(In reply to Marja van Waes from comment #2)
> Hi Ulrich :-)
> 
> In the manual for the classical installer, it is explained how to quit
> install, see the Note near the bottom of this page:
> http://doc.mageia.org/installer/5/en/content/selectInstallClass.html
> 
> We don't want to make stopping too easy, because after partitions get
> formatted or things got installed, we cannot revert to the situation before.
> Stopping will lead to an unusable system.
> 
> In cauldron, it is very normal to encounter problems while installing from a
> mirror: cauldron changes very fast, and packages or dependencies disappear
> from the mirror while you're installing. It is normal to be returned to the
> step before the packages got installed several times, and then install the
> missed packages, get new errors, go back, install again etc. until
> everything's well.
> 
> 
> That wouldn't have fixed this, though:
> 
> Installation failed:
>         file /var/spool/fax from install of
> mgetty-sendfax-1.1.37-1.mga6.x86_64 conflicts with file from package
> hylafax+-client-5.5.8-1.mga6.x86_64
>         file /usr/bin/faxrm from install of
> mgetty-sendfax-1.1.37-1.mga6.x86_64 conflicts with file from package
> hylafax+-client-5.5.8-1.mga6.x86_64
> 
> ( @ Thomas: sorry for assigning to you, but mgetty doesn't have a maintainer)
> 
> nor would it have fixed this:
> Installation failed:
>         qttranslations5 is needed by qttools5-5.6.0-1.mga6.x86_64
> qttranslations and qttools were both pushed on March 18, so I don't
> understand that.
> (CC'ing neoclust, though)
> 
> I'll keep this bug for the mgetty-sendfax conflicts with hylafax+-client.
> 
> Ulrich, if you see the "script failed" errors again, or any other
> installation failed messages that don't disappear after rerunning the
> packages install part several times (of course that won't help with a mirror
> that only updates once a day), then please open new bug reports, or, if
> there are too many such issues, report them on a mailing list or in the
> forums.
> 
> Regards,
> Marja

I am not sure why we have a conflict of files.
We have in the spec "Conflicts:   mgetty-sendfax"
So it shouldn't even try to install. I applied this "Conflicts:mgetty-sendfax" from Fedora. They have much more experience with Hylafax+. 
I doubt  that anyone would try to install both on the same box.
The latest activity on mgetty-sendfax dates back to 2007. Mybe we should obsolete it, especially as mgetty has no maintainer. Maybe someone then would chip in.
Marja, if you don't mind, I am going to close this as invalid.

Ever confirmed: 1 => 0
Status: NEW => UNCONFIRMED
CC: (none) => thomas

Comment 6 Ulrich Beckmann 2016-04-17 18:21:46 CEST
Created attachment 7684 [details]
ddebug.log from netinstall

Please, refrain from mgetty and so on ...
Marja, please change the title of the bug report to the original "Cannot abort Netinstall on Error"

My real concern is that the user cannot abort the programm after the error message. He is forced to press ok, next, next, ok, next, next, ok and so on. That is a logical infinite loop, although with interaction from the user.

Please see also https://bugs.mageia.org/show_bug.cgi?id=276
While Bug 276 might be an enhancement, the missing cancel button on the page of the media selection is clearly an error.

Greetings,
Ulrich
Comment 7 Marja Van Waes 2016-04-18 20:52:17 CEST
(In reply to Thomas Spuhler from comment #5)

> 
> I am not sure why we have a conflict of files.
> We have in the spec "Conflicts:   mgetty-sendfax"
> So it shouldn't even try to install. I applied this
> "Conflicts:mgetty-sendfax" from Fedora. They have much more experience with
> Hylafax+. 
> I doubt  that anyone would try to install both on the same box.
> The latest activity on mgetty-sendfax dates back to 2007. Mybe we should
> obsolete it, especially as mgetty has no maintainer. Maybe someone then
> would chip in.
> Marja, if you don't mind, I am going to close this as invalid.

Thanks for the reply, Thomas. Apparently installing both was tried. 

However....:


(In reply to Ulrich Beckmann from comment #6)
> Created attachment 7684 [details]
> ddebug.log from netinstall
> 
> Please, refrain from mgetty and so on ...

Will do, because the fax packages are supposed to conflict, as said by Thomas and also:
2016:04:18:18:52 < Luigi12_work> marja11: yes, the fax packages are supposed to conflict.  Users are supposed to install one or the other if they want them, not both.

> Marja, please change the title of the bug report to the original "Cannot
> abort Netinstall on Error"

As you wish. As you could read in the installer manual, it is very well possible to quit install, so the title is invalid.

> 
> My real concern is that the user cannot abort the programm after the error
> message. He is forced to press ok, next, next, ok, next, next, ok and so on.
> That is a logical infinite loop, although with interaction from the user.

Did you ever encounter an infinite loop with a classical iso in a stable release? 

Cauldron and boot.iso are for advanced users, they're capable of switching to tty2 and pressing ctrl+alt+del.
> 
> Please see also https://bugs.mageia.org/show_bug.cgi?id=276
> While Bug 276 might be an enhancement, the missing cancel button on the page
> of the media selection is clearly an error.

It is _not_ an error. When we have a cancel button there, many new and inexperienced users will think that their system will be reverted to its original state when they use it, and be tempted to use it far too easily. 

We do not want newbies to blindly hit a quit button when something upsets them during install, we want them to leave their system running and ask for help! Even if unexpectedly there'd be something really wrong and we wouldn't be able to help them finish the install, then we can at least help them to fetch the installer logs from their system, which will be gone when they just hit a quit button.

Remember that Bug 276 was originally filed to get a quit button in _every_ installer step, but changed for the above reasons.

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => INVALID
Assignee: thomas => thierry.vignaud
Summary: files from mgetty-sendfax-1.1.37-1.mga6.x86_64 conflict with files from hylafax+-client-5.5.8-1.mga6.x86_64 => Cannot abort Netinstall on Error
Source RPM: mgetty-1.1.37-1.mga6, hylafax+-5.5.8-1.mga6 => drakx-installer-stage2


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