FS#15906 - Selecting package crashes setup if network not set
Attached to Project:
Release Engineering
Opened by maxi jac (maxi_jac) - Tuesday, 11 August 2009, 16:23 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Friday, 05 March 2010, 20:42 GMT
Opened by maxi jac (maxi_jac) - Tuesday, 11 August 2009, 16:23 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Friday, 05 March 2010, 20:42 GMT
|
Details
Using the 2009.08 core i686 installer.
(I always use the core installer to do my netinstall installs, in case I have no network I still can use core packages from disc) When you start the install from FTP/HTTP and do not set your network interface, selecting package will tell you an error because it can't access the repository and crashes. You must then restart the installer and go again through all the hard disk setup etc... (I think it's severity high, because that's really disappointing to have to go again through all the process of partitionning.. etc...) Tested on i686 but surely reproducible on x64. |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Friday, 05 March 2010, 20:42 GMT
Reason for closing: Fixed
Additional comments about closing: should be fixed
Friday, 05 March 2010, 20:42 GMT
Reason for closing: Fixed
Additional comments about closing: should be fixed
That like: you blame your car vendor when you forgot to put fuel into the tank ;-)
Ok, maybe we could add a statement that checks if network is up/configured when using netinstall as source...
Before starting the package download...
why warn twice? if the user ignores the first warning he could just as well ignore the 2nd.
I set my network before the installation but the link broke (wifi).
I think the error should be caught preventing the installer from crashing but going back to main menu
What should happen: pacman should fail and you should get notified about this. but you would still be in the installer and you could go back to the configure network step or whichever step you want
Anyway, I meant yes You are warned told me I was not connected and he could not contact the repository but right after I typed Enter it crashed
When I say "crash" that's return to console ! Sorry if I don't explain very well, english is not my main language.
I'll try to reproduce it and collect more informations.
Boot on the installer
login as root
/arch/setup
source : net, choose mirror (did not "set netnork", anyway, usually I do it in another tty)
prepare hard drive
select packages => Error at accessing repo Anywway, selecting base => crash
The first time the bug occured I did not unset my network intentionnally, my WiFi lost the connection.
I mean, normally nobody would try to install from ftp without netowrk set but:
1-Network (wifi or even ethernet or other) can lost connection without you know it
2-An error like this should be avoided in any program, you see what I mean ?
I think the error should be caught and avoided, because now it simply crashes and the user has to do every step again to go back to the "select source" step.
i believe i have fixed it (though i didn't test it myself yet), see http://projects.archlinux.org/aif.git/commit/?h=experimental