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

xiao sheng wen (=?UTF-8?Q?=E8=82=96=E7=9B=9B=E6=96=87?=) atzlinux at sina.com
Tue Dec 21 14:17:35 GMT 2021


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-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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x00186602339240CB.asc
Type: application/pgp-keys
Size: 9743 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20211221/6782c90f/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20211221/6782c90f/attachment.sig>


More information about the Chinese-developers mailing list