Bug#47540: dselect does not handle Replaces: correctly?!
On Fri, Oct 15, 1999 at 11:12:49PM -0700, Yves Arrouye wrote:
> Package: dpkg
> Version: 188.8.131.52
> When a package x has
> Replaces: y
> Conflicts: y
> and you select it, every other package depending on y is marked for removal
> because of the conflict. But one would think that if the package x replaces
> y, the conflict forces y's removal but packages depending on y should be
> kept (and more should be installable) because x replaces y.
> A real example is lesstif, for example: if you install lesstif1, which replaces lesstifg and conflicts with lesstif and lesstifg, then dselect will force
> you to remove xscreensaver, for example, which depends on lesstifg.
No, this is what Provides are for. Oddly enough, the latest dpkg supports versioned
provides. However, there is no policy regarding it's usage (although one could argue
that it is pretty straight forward).