Package: rust-web-doc
Version: 1.70.0+dfsg1-7~deb12u2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts fileconflict

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'bullseye'.
It installed fine in 'bullseye', then the upgrade to 'bookworm' 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 .../rust-web-doc_1.70.0+dfsg1-7~deb12u2_all.deb ...
  Unpacking rust-web-doc (1.70.0+dfsg1-7~deb12u2) ...
  dpkg: error processing archive 
/var/cache/apt/archives/rust-web-doc_1.70.0+dfsg1-7~deb12u2_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/rust-doc/html/rust-logo-32x32-blk.png', 
which is also in package rust-mozilla-doc 1.63.0+dfsg1-2~deb11u1

(this is the only conflicting file)


cheers,

Andreas

Attachment: rust-mozilla-doc=1.63.0+dfsg1-2~deb11u1_rust-web-doc=1.70.0+dfsg1-7~deb12u2.log.gz
Description: application/gzip

Reply via email to