ilikenwf / apt-fast

apt-fast: A shellscript wrapper for apt that speeds up downloading of packages.
http://www.mattparnell.com/projects/apt-fast-and-axel-roughly-26x-faster-apt-get-installations-and-upgrades.html
GNU General Public License v3.0
1.96k stars 185 forks source link

[FEATURE] Add support for apt update #179

Open louie-github opened 4 years ago

louie-github commented 4 years ago

Is it not possible to add functionality to speed up apt update? This is usually the slowest portion of updating for me. Sorry if I can't give much info, all I know is that sudo apt update --print-uris works too.

Lasall commented 4 years ago

This was previously discussed in #36. I agree with you this could be the slowest part in the update/upgrade process. The implementation I did back then was much slower than apt update and also incomplete.

I think when tackling this issue an implementation (rewrite) of apt-fast as APT transport should be considered. This can be done even with shell following the APT Method Interface specification. One example how this could be achieved from an external project is apt-transport-s3 (python).