Re: update system periodically
On Sun, 21 Jul 2024 18:43:28 -0500
David Wright <deblis@lionunicorn.co.uk> wrote:
> I run the following from root's crontab:
>
> apt-get -qq -o Acquire::http::Proxy="http://192.168.1.14:3142/"
> update && apt-get -qq -d -o
> Acquire::http::Proxy="http://192.168.1.14:3142/" dist-upgrade && find
> /var/cache/apt/archives/ -name '*deb'
>
> (That's all on one line.)
Suggestion: rather than have the
"Acquire::http::Proxy="http://192.168.1.14:3142/" in the command, use
the package auto-apt-proxy to detect proxy servers for you.
Suggestion: rather than run it from cron (or a systemd timer), look
into unattended-upgrades.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: