Control: tags -1 pending

Hi Andreas,

 Thanks for your bugreport.

I do rename upstream NEWS to changelog-upstream to fix this bug.(In 3.0.1-1, it rename to changelog :-(  )

In old upstream version 2.4.0, there is a ChangeLog file under the top level directory,

this ChangeLog file is automatic installed by dh_installchangelogs:

dh_installchangelogs
[...]
        install -p -m0644 debian/changelog debian/liblunar-date-dev/usr/share/doc/liblunar-date-dev/changelog.Debian         install -p -m0644 ./ChangeLog debian/liblunar-date-dev/usr/share/doc/liblunar-date-dev/changelog


In new upstream verison 3.0.1, there is not this ChangeLog file.

I'd uploaded the version 3.0.1-2 to mentors.d.n:

https://mentors.debian.net/package/lunar-date/


在 2021/12/21 15:27, Andreas Beckmann 写道:
Package: liblunar-date-doc
Version: 3.0.1-1
Severity: serious
User: debian...@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

cheers,

--
肖盛文 xiao sheng wen Faris Xiao
微信(wechat):atzlinux
《铜豌豆 Linux》https://www.atzlinux.com
基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com
GnuPG Public Key: 0x00186602339240CB

Attachment: OpenPGP_0x00186602339240CB.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to