> If a minimal system with gnupg is upgraded to trixie it is likely to pull in 
> an
> unwanted MTA because of changed dependencies. Such users may find it helpful
> for a hint in the release notes to remove gpg-wks-server on upgrade, such as
> with:
>
>   apt full-upgrade gpg-wks-server-



I was going to say that this shouldnt be needed as gpg-wks-server
would be automatically installed and so will be removed.

Apparently apt does not quite figure this out when following the
recipe in the release-notes:

# in a minimal bookworm
apt install gnupg # gpg-wks-server is automatically installed. no mta
is installed

# section 4.4.5 of the release-notes says to first do:
apt update
apt upgrade --without-new-pkgs # gnupg is one of several packages held back

# 4.4.6 says to do:
apt full-upgrade
# gnupg is upgraded, gpg-wks-server is not removed, it is listed in
"The following packages were automatically installed and are no longer
required".
# exim is installed!

# 4.5 is about errors. not relevant
# 4.6 is inexplicably asking people to check a kernel meta-package is
installed -- this should be moved much earlier, in "preparing for the
upgrade" really

Neither 4.7 nor 4.8 say to run "apt autopurge" to remove automatically
installed packages that are not needed.

If i now do "apt autopurge" both gpg-wks-server and exim are removed,
along with several other things (some of which are in the "apt list
'~o'" recommended in 4.8)

So: all that is missing is to add a reference to apt autopurge in 4.8?

(NB: if you ignore the release-notes and use aptitude it figures out
that gpg-wks-server can be removed and doesnt install the mta.
 doing "apt dist-upgrade" seems to be the same as the release-notes version)

Reply via email to