On Mon, 2022-05-09 at 19:18 +0000, Andrew M.A. Cater wrote: [...] > Alternatively, you can plug in the new drive and do a minimal install on it. > Use > > dpkg --get-selections > somefilename > > to get a list of packages installed on one system and write it into somefile. > > dpkg --set-selections < somefilename > > will write that list for Debian's most basic package manager. > > apt update ; apt dist-upgrade > > will then use that information to isntall the same package list onto the > second machine as exists on the first machine - but that's complex.
Won't that process set all those packages as manually installed, so should you later uninstall a top level package it's dependedncied won't be automatically removed? -- Tixy