Package: libpseudo
Version: 1.9.0+git20190515+996bead-1
Severity: serious

> Unpacking libpseudo:amd64 (1.9.0+git20190515+996bead-1) over 
> (1.9.0+git20180920-1) ...
> dpkg: error processing archive 
> /tmp/apt-dpkg-install-hl28Fk/10-libpseudo_1.9.0+git20190515+996bead-1_amd64.deb
>  (--unpack):
>  trying to overwrite '/usr/share/man/man1/fakeroot-pseudo.1.gz', which is 
> also in package pseudo 1.9.0+git20180920-1

I think this is because the recent upload normalized the order of binary
packages in d/control:

>   * Run wrap-and-sort -bast.

but that makes debian/docs, debian/manpages, and I think also
debian/postinst and debian/prerm apply to libpseudo, not to
pseudo (because these files take effect on the first package in
d/control). Renaming these files to debian/libpseudo.docs, etc. to make
their intention more clear might help.

It would probably be a good idea for the version that fixes this to
have Breaks/Replaces on all older versions, so that upgrades from
the current version work gracefully.

Thanks,
    smcv

Reply via email to