FS#16277 - aif does not show pacman download progress/speed during install
Attached to Project:
Release Engineering
Opened by Felix (thetrivialstuff) - Sunday, 20 September 2009, 04:44 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:50 GMT
Opened by Felix (thetrivialstuff) - Sunday, 20 September 2009, 04:44 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:50 GMT
|
Details
Description: aif does not show pacman's status during
package download in either the current terminal or tty7. The
packages show up as they are downloaded in
/mnt/var/cache/pacman/pkg so one can get some sense of the
speed by du -s'ing that directory repeatedly, but it would
be nice if the speed were to show somewhere live.
Also, if the speed were visible and obviously too slow, aif does not provide a means to change mirrors and resume -- restarting aif from the beginning would blank all of the partitions, losing the packages downloaded so far. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:50 GMT
Reason for closing: Deferred
Monday, 26 November 2012, 04:50 GMT
Reason for closing: Deferred
- if progress really stalls, then yes i guess aif hangs. you can kill pacman on another console and then go back in the menu to pick another mirror and resume.
but it would be better to have pacman timeout. feature request -> http://bugs.archlinux.org/task/19155
FS#15854Actually you could completely ditch manual mirrors selection to just select a country. Then sort that country mirror list with rankmirrors.
In fact, this is what I have to do manually on each installation : keep only mirrors of my country, then run rankmirrors on that.
My suggestion would make the major concern of this bug MUCH less relevant, as you would already use the fastest possible mirror to start with.
It would also be a nice improvement for everyone.
It would also have avoided the biggest and most annoying problem I ever had with AIF : http://bugs.archlinux.org/task/17319
BIG FAIL simply because I chose a mirror that happened to be temporary down.
Regarding patches, I don't have one at hand right now, but the last time I've looked through aif's source it seemed that it used a libui's function to execute a command with stdout redirection. Maybe it should be just a matter of changing that redirection to a tee call or something like that.
FS#15369- Pacman should timeout when mirror is not respondingFS#15369is fixed. (it will show progress, and if the transfer stalls, pacman will timeout and aif will throw an error)can anybody test this and confirm?