Ubuntu – way to make Software Updater use apt-fast as a backend

apt-fastsoftware-updaterupdatesupgrade

I've been using apt-fast in the command line for some time now and have enjoyed how it speeds upgrades by downloading packages in parallel.

It would be great if Software Updater could also gain the update/upgrade download speed boost from apt-fast.

Software Updater seems merely to be a gui for the command sudo apt-get update && sudo apt-get dist-upgrade, is there a way to switch out apt-get for apt-fast?

Best Answer

Yes it is possible. You have to write an apt-fast backend (in Python) for the Software Updater (update-manager package). Take a look at the Synaptic backend. This backend also calls an executable (synaptic). Perhaps just change the command line options a bit and you are done.

Install it to /usr/lib/pythonX/dist-packages/UpdateManager/backend/YourBackend.py and load it in .../backend/__init__.py file ("get_backend" method).