[Debian-zh-dev] Bug#1002060: liblunar-date-doc: missing Breaks+Replaces: liblunar-date-dev (<< 3)

Andreas Beckmann anbe at debian.org
Tue Dec 21 07:27:34 GMT 2021


Package: liblunar-date-doc
Version: 3.0.1-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../liblunar-date-doc_3.0.1-1_all.deb ...
  Unpacking liblunar-date-doc (3.0.1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/liblunar-date-doc_3.0.1-1_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/liblunar-date-dev/changelog.gz', which is also in package liblunar-date-dev:amd64 2.4.0-8
  Errors were encountered while processing:
   /var/cache/apt/archives/liblunar-date-doc_3.0.1-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liblunar-date-dev=2.4.0-8_liblunar-date-doc=3.0.1-1.log.gz
Type: application/gzip
Size: 7998 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20211221/128fe672/attachment.gz>


More information about the Chinese-developers mailing list