Bug 23093 - a background downloader
Summary: a background downloader
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: apt (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Ivan Zakharyaschev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 05:23 MSK by Ivan Zakharyaschev
Modified: 2020-08-19 14:03 MSK (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2010-03-09 05:23:54 MSK
(A note of a wish.)

A background downlowder script for the available new packages would be convenient for situations with slow Internet connection, so that the system administrator doesn't has to wait for the downloads when he uses APT.

It should run smth like:

apt-get update && apt-get dist-upgrade --download-only --yes

while the system is up in order to prepare the packages for the moment when one might want to install them.

It could be run in regular periods (day/week/month), say, with cron.

But it's not simply this command if it should be usable: first, its traffic should have a very low priority.

Second, simply running with cron is not enough, because it depends on the network iface: it should be started/restarted when an appropriate network iface is brought up unless the last scheduled download (1 in a day/week/month) has been already completed.

Third, perhaps, sometimes APT would require smth like "Yes, really do this." to be typed (even in order to proceed to downloading).