Your message dated Wed, 13 May 2020 19:19:41 +0000
with message-id <e1jywur-000ijx...@fasolo.debian.org>
and subject line Bug#960508: fixed in pcb-rnd 2.2.1-2
has caused the Debian Bug report #960508,
regarding removal of pcb-rnd-{core,doc,rnd-import-net} makes files disappear 
from pcb-rnd/stable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
960508: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960508
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pcb-rnd-core,pcb-rnd-doc,pcb-rnd-import-net
Version: 2.2.0-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts replaces-without-breaks

Hi,

during a test with piuparts and DOSE tools I noticed your package causes
removal of files that also belong to another package.
This is caused by using Replaces without corresponding Breaks.

The installation sequence to reproduce this problem is

  apt-get install pcb-rnd/buster
  # (1)
  apt-get install pcb-rnd-core
  apt-get remove pcb-rnd-core
  # (2)

The list of installed files at points (1) and (2) should be identical,
but the following files have disappeared:

  /usr/bin/fp2subc
  /usr/bin/pcb-prj2lht
  /usr/bin/pcb-rnd
  /usr/share/man/man1/fp2subc.1.gz
  /usr/share/man/man1/pcb-prj2lht.1.gz
  /usr/share/man/man1/pcb-rnd.1.gz
  /usr/share/pcb-rnd/default2.lht
  /usr/share/pcb-rnd/default4.lht
  /usr/share/pcb-rnd/default_font
  /usr/share/pcb-rnd/pcblib/connector/BNC_LAY.fp
  /usr/share/pcb-rnd/pcblib/connector/DB15F.fp
  /usr/share/pcb-rnd/pcblib/connector/DB15M.fp
  /usr/share/pcb-rnd/pcblib/connector/DB25F.fp
  /usr/share/pcb-rnd/pcblib/connector/DB25M.fp
...
  /usr/share/pcb-rnd/pcblib/tru-hole/TO247.fp
  /usr/share/pcb-rnd/pcblib/tru-hole/TO247_2.fp
  /usr/share/pcb-rnd/pcblib/tru-hole/TO251.fp
  /usr/share/pcb-rnd/pcblib/tru-hole/TO264.fp
  /usr/share/pcb-rnd/pcblib/tru-hole/TO39.fp
  /usr/share/pcb-rnd/pcblib/tru-hole/TO92.fp


This is a serious bug violating policy 7.6, see
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces
and also see the footnote that describes this incorrect behavior:
https://www.debian.org/doc/debian-policy/ch-relationships.html#id13

The pcb-rnd-core package has the following relationships with pcb-rnd:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  pcb-rnd (<< 2.2.0-2)

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

2m24.4s DEBUG: Modified(user, group, mode, size, target): 
/var/lib/dpkg/info/pcb-rnd.list expected(root, root, - 100644, 17589, None) != 
found(root, root, - 100644, 12508, None)
2m24.4s ERROR: FAIL: After purging files have disappeared:
  /usr/bin/fp2subc       owned by: pcb-rnd-core
  /usr/bin/pcb-prj2lht   owned by: pcb-rnd-core
  /usr/bin/pcb-rnd       owned by: pcb-rnd-core
  /usr/share/man/man1/fp2subc.1.gz       owned by: pcb-rnd-core
  /usr/share/man/man1/pcb-prj2lht.1.gz   owned by: pcb-rnd-core
...
  /usr/share/pcb-rnd/pcblib/tru-hole/TO251.fp    owned by: pcb-rnd-core
  /usr/share/pcb-rnd/pcblib/tru-hole/TO264.fp    owned by: pcb-rnd-core
  /usr/share/pcb-rnd/pcblib/tru-hole/TO39.fp     owned by: pcb-rnd-core
  /usr/share/pcb-rnd/pcblib/tru-hole/TO92.fp     owned by: pcb-rnd-core

2m24.4s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/pcb-rnd.list        not owned


Similar problems happen with pcb-rnd-doc and pcb-rnd-import-net.

Please add
  Breaks: pcb-rnd (<< 2.2.0-2)
to all three packages to prevent such partial upgrades.


cheers,

Andreas

Attachment: pcb-rnd=2.1.1-1_pcb-rnd-core=2.2.0-3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: pcb-rnd
Source-Version: 2.2.1-2
Done: Bdale Garbee <bd...@gag.com>

We believe that the bug you reported is fixed in the latest version of
pcb-rnd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 960...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bdale Garbee <bd...@gag.com> (supplier of updated pcb-rnd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 13 May 2020 12:46:59 -0600
Source: pcb-rnd
Architecture: source
Version: 2.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team 
<pkg-electronics-de...@lists.alioth.debian.org>
Changed-By: Bdale Garbee <bd...@gag.com>
Closes: 960508
Changes:
 pcb-rnd (2.2.1-2) unstable; urgency=medium
 .
   * add Breaks for each Replaces to avoid policy violating partial upgrades,
     closes: #960508
Checksums-Sha1:
 7fb92178dc12cef1066da2026f962355fdc91f90 3541 pcb-rnd_2.2.1-2.dsc
 8e296b3997ccb9f1d7bf7b241d9b56284af275c8 13096 pcb-rnd_2.2.1-2.debian.tar.xz
 9e4d3654f6468cd6541f5ee753c549ec80e02281 24776 pcb-rnd_2.2.1-2_amd64.buildinfo
Checksums-Sha256:
 c5e0877dfbbb620651a40373ab6e4d0d1dc98a302acd43eaa7a284572e8df10a 3541 
pcb-rnd_2.2.1-2.dsc
 ba597ae8635bce2b72f1d13e65694daef056bc23645e526ca84869a19e359bb5 13096 
pcb-rnd_2.2.1-2.debian.tar.xz
 8eb5fe2439f759a9216aad887966b0ae42ce9f25e8ef634432ccc38db9181c89 24776 
pcb-rnd_2.2.1-2_amd64.buildinfo
Files:
 bfd4864b6f00bc8b7b1f46d504872e47 3541 electronics optional pcb-rnd_2.2.1-2.dsc
 c5f13e863c010826b3df6a307f1feda5 13096 electronics optional 
pcb-rnd_2.2.1-2.debian.tar.xz
 9f4fdbfaf66fd68321e1309897864181 24776 electronics optional 
pcb-rnd_2.2.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEHguq2FwiMqGzzpLrtwRxBYMLn6EFAl68QzoACgkQtwRxBYML
n6GKDA/+JMuemdd8+MsPHCqf/lQnbqj6R2r940QCTSlk4ptG6m3Er9n/4Nnkb5qE
1pF7CCz/ULLtnhnLCLp8qYmpXx8GSdRSK4j2/QzHDGTHCyxqBO4O5CMDmnaJA4zz
Y0wY1x90Ha9CW18pTSjKo06Umfm3t3Xoh6capkpHPQoH4NIOfueNqpQZ53DlcC2i
2sW9ejyb4qRjLRK9L8HM4YI7vdhyMri6zhme1Iws1j9wyHLYNW7vRf4fqTiv17Bc
PIs+3cjaGg+osEJkA9QFdoobYT/hcmZ6p6XjZV19P4wqKL81YZC+x3xlYdbW0shn
UjJ/VAh/N0VvNtLZB0CshOJ0PT43E3yR47sZ+bWdsN1WFbIatdzhyROCRhF0ZmlH
of8h5H1i+qP5OJ1Po4za6NCwBb036bzj8yiQu9nkjrBuMM4TFWXudt8DjFbHCTL+
Ir4fbVEiT6ckK0GKyzd7IQtio8bzNG4p+gV75kJmUMQVYWQR27UdScgluh1vhDFt
7sMby9yH/cbcqenistzaj9fTT2IxrHfbgAdAUs1w0zi0WBPEqzEunNIHPE0cUY4P
spVnX5AY6XhGiLYQ2ZiKFdISQ0xvpW+oZ+3wK1+GMPg8IbWYI/7MfEHgsP6uHils
izjSE3spn2reTs4/lGbrYwMPuNuhzZIBHQssqFpN7Scq+POhnUE=
=wBbY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to