Re: Comments on upgrade steps from one version of Debian to another

2022-08-21 Thread tomas
On Sun, Aug 21, 2022 at 06:34:10PM -0400, John Boxall wrote: [...] > Chuck, > I found the DebianUpgrade wiki page and all of the commands use "apt". When > I have used "apt-get" it regularly pumps out a disclaimer that it doesn't > have a good/reliable cli for scripting. No, it's the other way a

Re: Comments on upgrade steps from one version of Debian to another

2022-08-21 Thread John Boxall
On 2022-08-20 19:27, Chuck Zmudzinski wrote: You can use apt, apt-get, or aptitude to run the commands that do most of the work, and in your script you chose apt for that task. I recall reading that they do not all use the same algorithm to determine which packages to upgrade and in what order,

Re: Comments on upgrade steps from one version of Debian to another

2022-08-21 Thread John Boxall
On 2022-08-21 10:19, Andrew M.A. Cater wrote: apt-get autoremove I will definitely be adding this step. apt-get is definitely recommended for this at the moment, I think, and it > When I have seen other discussions about update/upgrade/etc, it was "apt" that people tended to recommend v

Re: Comments on upgrade steps from one version of Debian to another

2022-08-21 Thread John Boxall
On 2022-08-21 10:04, john doe wrote: The lines for the security mirror has changed on Bullseye. Thank you! I will be sure to add that check in. The script does not bail out on command failure, you might want to takecare of that if you automate this process by way of a script. That is all I

Re: Comments on upgrade steps from one version of Debian to another

2022-08-21 Thread Andrew M.A. Cater
On Sun, Aug 21, 2022 at 04:04:02PM +0200, john doe wrote: > On 8/20/2022 9:48 PM, John Boxall wrote: > > I created an upgrade script based on something I found a few years ago > > that indicated the steps to follow to upgrade from one version of Debian > > to another (e.g. Buster 10 to Bullseye 11)

Re: Comments on upgrade steps from one version of Debian to another

2022-08-21 Thread john doe
On 8/20/2022 9:48 PM, John Boxall wrote: I created an upgrade script based on something I found a few years ago that indicated the steps to follow to upgrade from one version of Debian to another (e.g. Buster 10 to Bullseye 11). As I am going to need to run this script at some point (I am still r

Re: Comments on upgrade steps from one version of Debian to another

2022-08-20 Thread John Boxall
On 2022-08-20 16:24, Charles Curley wrote: I would not do that as a script. You have a good recipe there, but I would run each step manually so I could correct errors, adjust configuration files, and otherwise shoot trouble as it appears. I did a lot of testing the first time I ran the script

Re: Comments on upgrade steps from one version of Debian to another

2022-08-20 Thread John Boxall
On 2022-08-20 19:27, Chuck Zmudzinski wrote: On 8/20/2022 3:48 PM, John Boxall wrote: I created an upgrade script based on something I found a few years ago that indicated the steps to follow to upgrade from one version of Debian to another (e.g. Buster 10 to Bullseye 11). As I am going to need

Re: Comments on upgrade steps from one version of Debian to another

2022-08-20 Thread Chuck Zmudzinski
On 8/20/2022 3:48 PM, John Boxall wrote: > I created an upgrade script based on something I found a few years ago > that indicated the steps to follow to upgrade from one version of Debian > to another (e.g. Buster 10 to Bullseye 11). As I am going to need to run > this script at some point (I a

Re: Comments on upgrade steps from one version of Debian to another

2022-08-20 Thread Charles Curley
On Sat, 20 Aug 2022 15:48:53 -0400 John Boxall wrote: > Thoughts/critique/criticism/flames/etc I would not do that as a script. You have a good recipe there, but I would run each step manually so I could correct errors, adjust configuration files, and otherwise shoot trouble as it appears. You