[Pkg-nginx-maintainers] Bug#1032929: nginx-common: missing Breaks+Replaces: nginx (<< 1.22.1-8)
Andreas Beckmann
anbe at debian.org
Tue Mar 14 09:46:50 GMT 2023
Package: nginx-common
Version: 1.22.1-8
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 .../nginx-common_1.22.1-8_all.deb ...
Unpacking nginx-common (1.22.1-8) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-common_1.22.1-8_all.deb (--unpack):
trying to overwrite '/etc/default/nginx', which is also in package nginx 1.22.1-7
Errors were encountered while processing:
/var/cache/apt/archives/nginx-common_1.22.1-8_all.deb
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx=1.22.1-7_nginx-common=1.22.1-8.log.gz
Type: application/gzip
Size: 8781 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nginx-maintainers/attachments/20230314/9b02f6a1/attachment.gz>
More information about the Pkg-nginx-maintainers
mailing list