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

Re: Looking for inspiration/advice/best practices on system upgrade





On Mon, Apr 24, 2023 at 1:06 PM Michel Verdier <mv524@free.fr> wrote:
Le 24 avril 2023 DdB a écrit :

> 1. Upgrade from current configuration using upgrade path tools (apt) and
> plan only one step (going to bullseye) at a time, eventually having to
> upgrade a second time later.

https://www.cyberciti.biz/faq/update-upgrade-debian-10-to-debian-11-bullseye/ 

Usually this is the safest way. But why don't you upgrade sooner to
bullseye ? Do you have some problematic packages ?

> 2. Install a fresh bullseye and try to manually make it as similar as
> can be to my current workhorse

The more you customized your system the harder it will be

> From my past experiences, i recall one problem, that i am still
> suffering from: the file group and user owners, that reside on a
> different disk set (on a ZFS pool, to be more precise). In order to
> alleviate the problem, i did at one point fetch an older /etc/group and
> passwd file from a backup and created a mess. I'd love to straigthen
> this out now.

If you need to you should only change manually your userid/groupid and
don't change system ids. Replacing entire passwd is usually a bad idea.
Also you should check your user/group are conforming to the minumum
defined in /etc/login.defs



--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

Reply to: