feature request nala should download pkgs with aria2
Opened this issue · 1 comments
I dunno why, but apt-fast downloading packages faster than nala, but nala is more intelligent when it comes to pkg formatting and listing and managing for user.
You can consider this maybe as drop in replacements for downloading pkgs.
Like
"nala downloader aria2"
And back default with
"nala downloader default"
Here is apt-fast repo
https://github.com/ilikenwf/apt-fast
And one complain by my side and i saw never open issue correlated with this is:
When we make "nala update", and we have did nala fetch before with 3 or 6 fastest repository servers like 1,2,3,4,5,6
Than,
Nala waiting at cmd nala update untill every repository downloaded successfully - but this cost time and this is unnecessary.
User experience is one of most important part when someone using nala.
So fetching only one repository fast and trying to download with aria2 as example from 6 different repositories would speed up nala update and nala upgrade procedure and user experience.
Thanks and
Best regards
nala update actually uses the apt function, so most of that code isn't written by me. It's exactly the same as apt except for the formatting.
I'm fairly certain that apt does download the lists with update in parallel like aria2 would. But the issue is that you have to get ALL the lists from EACH server, so there won't probably be a ton of speedup. I do plan to eventually roll an async downloader for the update command, just not probably soon. After I finish rewriting it in rust. It's not clear with python how to do update like apt does 100%.