Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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).

share|improve this answer
    
Doesn't update-manager already have a backend which could be edited? /usr/lib/python3/dist-packages/UpdateManager/backend__init__.py? –  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

Your Answer

 
discard

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.