Just read this:
> > Conceptually, a diverting package actually pre-depends on the package > > being diverted.
Furthermore:
> Current behaviour of dpkg-divert is not an excuse to retain it, IMHO. > Conceptually, dpkg-divert in preinst scripts is just wrong.
From this discussion:
https://lists.debian.org/debian-embedded/2010/04/msg00025.html
I don't know what to make of all this :) I guess there are many discussions about how to do things, but the Debian Wiki suggests to put things in preinst, which then makes everything diversion a "conceptual pre-depends".
https://wiki.debian.org/Adding%20and%20removing%20diversions
Just read this:
> > Conceptually, a diverting package actually pre-depends on the package
> > being diverted.
Furthermore:
> Current behaviour of dpkg-divert is not an excuse to retain it, IMHO.
> Conceptually, dpkg-divert in preinst scripts is just wrong.
From this discussion:
https:/ /lists. debian. org/debian- embedded/ 2010/04/ msg00025. html
I don't know what to make of all this :) I guess there are many discussions about how to do things, but the Debian Wiki suggests to put things in preinst, which then makes everything diversion a "conceptual pre-depends".
https:/ /wiki.debian. org/Adding% 20and%20removin g%20diversions