linuxmint / mintupdate

The Linux Mint Update Manager
309 stars 152 forks source link

Async package downloads for speed, like in Nala. #747

Open nuytsm opened 1 year ago

nuytsm commented 1 year ago

Nala is a new terminal frontend for apt, which uses the libapt-pkg library. It uses async or parallel downloads from multiple repository mirrors for increased download speeds. It opens 3 connections for every defined repository mirror. So for 4 mirrors it would download 12 packages in parallel!

It's also written in Python, the downloader module contains the async code: https://gitlab.com/volian/nala/-/blob/main/nala/downloader.py

Would it be possible to integrate this code or something similar in the mint updater?

MintMain21 commented 9 months ago

Idk for sure how stuff like the Update and Software manager work, but assuming they're glorified GUIs for apt, it seems logical that they can be remade to be GUIs for Nala instead.

Something like Nala should frankly be installed in Mint by default.