Post by Paul Gevers<title>Dummy packages</title>
<para>
Some packages from &oldreleasename; have been split into several
packages in &releasename;, often to improve system maintainability. To
ease the upgrade path in such cases, &releasename; often provides
<quote>dummy</quote> packages: empty packages that have the same name as
the old package in &oldreleasename; with dependencies that cause the new
packages to be installed. These <quote>dummy</quote> packages are
considered redundant after the upgrade and can be safely removed.
</para>
This talks as if package *splits* are the normal reason for
transitional dummy packages. Is that even true? The only specific
case I remember running into for my trial Stretch/Buster upgrades is
apt-transport-https, where on the contrary the reason the package has
become redundant is that its functions have been absorbed into the
main package.
Instead of starting from the developer's point of view and talking
about package-maintenance workflows that can result in the existence
of transitional packages, we should start by describing the symptoms
visible to end users: a package that was directly useful in Stretch
has become a redundant placeholder in Buster.
Post by Paul Gevers<para>
Most (but not all) dummy packages' descriptions indicate their
purpose. Package descriptions for dummy packages are not uniform,
however, so you might also find <command>deborphan</command> with the
<literal>--guess-<replaceable>*</replaceable></literal> options (e.g.
<literal>--guess-dummy</literal>) useful to detect them in your system.
Note that some dummy packages are not intended to be removed after an
upgrade but are, instead, used to keep track of the current available
version of a program over time.
</para>
</section>
I hadn't noticed that deborphan *also* chooses to standardise on the
term "dummy". It's true that apt-transport-https is a dummy package;
unfortunately, *all* metapackages are empty placeholder dummy-packages
(and some of them use the word "dummy" in their descriptions), so a
command "deborphan --guess-dummy" really ought to find games-all and
linux-image-amd64 and erlang as well. The thing that's special about
apt-transport-https is that it's a *transitional* package.
If only debtags had been competently implemented this would all have
been solved a decade ago...
--
JBR with qualifications in linguistics, experience as a Debian
sysadmin, and probably no clue about this particular package