Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Will this ever be rolled out officially? – fleamour May 25 '13 at 17:05

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/ and load it in .../backend/ file ("get_backend" method).

share|improve this answer
Doesn't update-manager already have a backend which could be edited? /usr/lib/python3/dist-packages/UpdateManager/ – Insperatus May 27 '13 at 6:47
That's the initialization method for the backends (with "get_backend" method to select backend). – Lasall May 27 '13 at 15:46
Over my head I'm afraid – Insperatus May 28 '13 at 18:35

This init and destructor I get from Pascal (objective P), I'm not that dated but I use FPC... but a touch confused as the python implementation of it.

You are saying that py calls a caller to call the package mananger? Just invoke it directly with a shell os.system call...sometimes I wonder who writes these things...

        liquid:array[1..x] of caffeine;

or something like that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.