On 27 Aug 2024 21:03 +0200, from hans.ullr...@loop.de (Hans):
> So, my question is: Which one is recommended, when updating and upgrading is 
> used in a script, so that it causes as little as possible pain?

apt-get and friends, including the dpkg set of tools if necessary.

I believe apt even prints a message to that effect when started.

See also the introductory paragraph of the apt(8) man page.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

Reply via email to