[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packages built with golang



Cousin Stanley wrote: 
> Cousin Stanley wrote :
> > The data is already on your system, so
> > there's no transmission happening.
> 
>   I do  not  understand this.
...

>   Does the Debian package manager
>   really download package information
>   for  all  ~59,000  avaiilabel packages 
>   in anticipation that users will need it 
>   at sometime in the future ?
> 
>   That would be suprising to me.

Now you are surprised, and informed.

apt update acquires all the information about all the packages
in the repositories you have configured, and stores that for
later use.

When you decide to install a package, apt figures out, all on
your own machine, what packages are necessary to make your
request work, then downloads those packages and installs them.

The packages are stored until you decide to delete them, by the
way, so you can reinstall them without further network costs.

apt list --upgradable doesn't incur a network transaction.

If you install apticron, or unattended-upgrades, or any of
several other services, you can have your system run apt updates
automatically. Some of them can then run package upgrades
automatically. Some of them can reboot your system automatically
when a kernel upgrade comes along.

If you have a flock of machines, one of them can download all
the updates for the others so that external network bandwidth is
preserved. This can be done on a proxy cache basis (packages are
retrieved on demand and held for further requests) or as a
complete local mirror of an apt repo.

-dsr-


Reply to: