FS#15854 - package installation fails, yet it thinks all is good
Attached to Project:
Release Engineering
Opened by Dieter Plaetinck (Dieter_be) - Saturday, 08 August 2009, 10:02 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Tuesday, 17 January 2012, 10:26 GMT
Opened by Dieter Plaetinck (Dieter_be) - Saturday, 08 August 2009, 10:02 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Tuesday, 17 January 2012, 10:26 GMT
|
Details
i just did a netinstall, my mirror gave my connection
refused at one of the last packages, so pacman said 'cannot
satisfy all dependencies' or something like that.
However, I got 'package installation complete', after which I saw very quickly some errors. (probably because of the extra workers being executed because i thought package installation went fine). If you see the error and redo the step it's not a problem, but we should check this better |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Tuesday, 17 January 2012, 10:26 GMT
Reason for closing: Fixed
Additional comments about closing: all 3 pacman bugs are fixed
Tuesday, 17 January 2012, 10:26 GMT
Reason for closing: Fixed
Additional comments about closing: all 3 pacman bugs are fixed
if it downloads packages, and while doing so you do `dhcpcd -k eth0` pacman will exit(1) with a bunch of errors, but aif will say 'package installation complete'
see http://bugs.archlinux.org/task/16277
i thought it was fixed because of http://projects.archlinux.org/aif.git/commit/?id=a6769ebf0338188a44a260d99f024bf2bf954a44, but i guess not.
1) disable network before package selection
-> you will get an error that it failed, titled 'Pacman preparation failure'. this is good (and the only working case)
2) disable network after the package groups selection comes up
-> the database is synced, it is able to fetch the list of packages, but not install them
3) disable network before the actual installation of packages
-> this is basically the same as #2
the result is here that pacman logs the errors, but says "package installation complete". It does exit(1) and aif shows a "continue" button. So both pacman and aif require some fixing.
See:
FS#22035- Pacman says "package installation complete" on connection refused4) mirror times out:
-> pacman will just hang and not exit, keeping aif (and the user) waiting.
FS#15369- Pacman should timeout when mirror is not responding5) make the disk too small so the disk gets full during package installation.
-> result: pacman has a bunch of errors, but says "package installation complete" and exits(0), which is bad.
FS#22034- Pacman ignores disk full errors and exit(0) at the endNow we just need to get those 3 pacman bugs fixed :)