Re: update system periodically

2024-07-22 Thread Erwan David
On Mon, Jul 22, 2024 at 04:06:55PM CEST, Michael Kjörling said: > On 22 Jul 2024 05:47 +0800, from cor...@free.fr: > > I have been running an old debian 11 for many days. > > is it safe to run 'apt upgrade' and 'apt update' periodically? > > for example put them into crontab. > > `apt update` (a

Re: update system periodically

2024-07-22 Thread David Wright
On Sun 21 Jul 2024 at 22:01:58 (-0600), Charles Curley wrote: > On Sun, 21 Jul 2024 18:43:28 -0500 > David Wright 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::

Re: update system periodically

2024-07-22 Thread Michael Kjörling
On 22 Jul 2024 05:47 +0800, from cor...@free.fr: > I have been running an old debian 11 for many days. > is it safe to run 'apt upgrade' and 'apt update' periodically? > for example put them into crontab. `apt update` (and `apt-get update`) will only update the package database. That should be abo

Re: update system periodically

2024-07-21 Thread Charles Curley
On Mon, 22 Jul 2024 05:47:58 +0800 cor...@free.fr wrote: > I have been running an old debian 11 for many days. > is it safe to run 'apt upgrade' and 'apt update' periodically? > for example put them into crontab. I suggest you do the next update manually. Then you can automate the process with th

Re: update system periodically

2024-07-21 Thread Charles Curley
On Sun, 21 Jul 2024 18:43:28 -0500 David Wright 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/archi

Re: update system periodically

2024-07-21 Thread Andy Smith
Hi, On Mon, Jul 22, 2024 at 05:47:58AM +0800, cor...@free.fr wrote: > is it safe to run 'apt upgrade' and 'apt update' periodically? > for example put them into crontab. I prefer to use apticron to download updates daily and tell me about them, and then for me to install them manually. The reason

Re: update system periodically

2024-07-21 Thread David Wright
On Mon 22 Jul 2024 at 05:47:58 (+0800), cor...@free.fr wrote: > I have been running an old debian 11 for many days. > is it safe to run 'apt upgrade' and 'apt update' periodically? > for example put them into crontab. I run the following from root's crontab: apt-get -qq -o Acquire::http::Proxy=

Re: update system periodically

2024-07-21 Thread Greg Wooledge
On Mon, Jul 22, 2024 at 07:34:29 +0800, Bret Busby wrote: > One thing to remember, regarding automated upgrades, is that, if an upgrade > involves a kernel upgrade, then you can have a need for immediate rebooting, > which may be problematic. It's also rare, but NOT unheard of, for a stable releas

Re: update system periodically

2024-07-21 Thread Bret Busby
On 22/7/24 07:34, Bret Busby wrote: On 22/7/24 05:47, cor...@free.fr wrote: Hi list, I have been running an old debian 11 for many days. is it safe to run 'apt upgrade' and 'apt update' periodically? for example put them into crontab. I ask this question because I am worried that some software

Re: update system periodically

2024-07-21 Thread Bret Busby
On 22/7/24 05:47, cor...@free.fr wrote: Hi list, I have been running an old debian 11 for many days. is it safe to run 'apt upgrade' and 'apt update' periodically? for example put them into crontab. I ask this question because I am worried that some software updates may conflict with each othe

Re: update system periodically

2024-07-21 Thread eben
On 7/21/24 17:47, cor...@free.fr wrote: Hi list, I have been running an old debian 11 for many days. is it safe to run 'apt upgrade' and 'apt update' periodically? for example put them into crontab. I wouldn't have the upgrade run automatically, because maybe there's a package you wouldn't wan