Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#20541 - Install packages in a separate thread while downloading

Attached to Project: Pacman
Opened by Radu Andries (admiral0) - Friday, 20 August 2010, 17:09 GMT
Last edited by Dan McGee (toofishes) - Monday, 23 August 2010, 23:00 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 3.4.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I've had an idea. What about installing packages while downloading? This would make pacman lightning fast (didn't see any package manager do that)
Example: one has a system without X11 and decides to install kde.
pacman -Sy kde
What happens now? All packages are downloaded then all packeges are installed.
My idea is to have a thread that installs packages as soon as they are downloaded and their dependencies are met. So we have already X11 installed while still downloading kde stuff (just a rough example).
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 23 August 2010, 23:00 GMT
Reason for closing:  Won't implement
Additional comments about closing:  See comments.
Comment by Allan McRae (Allan) - Friday, 20 August 2010, 22:36 GMT
How do you check there are no file conflicts among packages that have not been downloaded yet? What if a file is unable to be downloaded and the already installed packages are not compatible with the package that can not be updated due to its file not being downloaded?

There might be a reason no other package manager does this... :{
Comment by Radu Andries (admiral0) - Saturday, 21 August 2010, 17:25 GMT
>How do you check there are no file conflicts among packages that have not been downloaded yet?
If there is a conflict -> rollback & stop. (rollback is being coded afaik)
>What if a file is unable to be downloaded and the already installed packages are not compatible with the package that can not be updated due to its file not being downloaded?
You do not install incompatible packages. It would speed up installs not upgrades. And not all libs break ABI constantly.:>

>There might be a reason no other package manager does this... :{
I find it possible.

AFAIK zypper has this behaviour. I tried OpenSUSE some time ago, but i may be wrong. ( Install for rpms is expensive as i saw ).
Comment by Dan McGee (toofishes) - Monday, 23 August 2010, 23:00 GMT
Possible? Perhaps, but major architectural changes are necessary and it just doesn't seem worth the effort or risk.

Neither Allan and I are ever going to do this and we are currently the only active Arch developers working on pacman, so unfortunately this is just going to rot here if I don't close this as "won't implement".

Loading...