On Tue, 9 Feb 2021 at 05:16, Helge Kreutzmann <deb...@helgefjell.de> wrote:

> On Sun, Feb 07, 2021 at 04:51:14PM -0500, Craig Small wrote:
> >   I think you have the control lines wrong.  You have both the lines from
> > psmisc and manpages-de there.
> >
> > Breaks: manpages-de (<= 2.16-1), psmisc (<< 23.4-2)
> > Replaces: manpages-de (<= 2.16-1)
>
> This is correct, it also breaks (and replaces) older manpages-de from
> stable.
>
As the standard part of dpkg installing a newer version of package, it
uninstalls all previous versions on the same package.


> This is not related to this bug but stems from the fact that the
> source package manpages-de was replaced manpages-l10n which in turn
> now builds manpages-de amongst others.
>
They are source packages, the binary package is still manpages-de.  Think
about it, have you ever been able to have two versions of the same package
installed no matter what the source package name was?


> For #982059 yes, but if you perform an update from stable (without
> psmic involved) then the other breaks is needed as well, see #959846.
>
Let's have a look at #959846...

manpages-de: missing Breaks+Replaces: manpages-de-dev (<< 4)

manpages-de-***dev*** is the conflicting package name. So yes, you should
have something about manpages-de-dev otherwise you get:

dpkg: error processing archive
/var/cache/apt/archives/manpages-de_4.0.0-3_all.deb (--unpack):
   trying to overwrite '/usr/share/man/de/man4/console_ioctl.4.gz',
which is also in package manpages-de-dev 2.12-1

And probably other problems too.

If you can find a reference somewhere where changing the source package
means you need something for the corresponding binary package of the same
name, I'm happy to see it but I've never seen that before.

 - Craig

Reply via email to