Bug#880404: quantlib-examples: fails to upgrade from 'stretch' - trying to overwrite /usr/bin/CVAIRS
On 11/10/2017 02:04 PM, Dirk Eddelbuettel wrote: > Slight problem. When I add > > Breaks: libquantlib0v5 > Replaces: libquantlib0v5 > > I run into > > E: quantlib-examples: conflicts-with-dependency depends libquantlib0v5 > > as it also has > > Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev, libboost-test-dev, > libquantlib0v5 (= ${binary:Version}) > > Ideas? Breaks+Replaces should be versioned (<< 1.11-2), since that was the versioned that moved around the files. Andreas
Bug#880404: quantlib-examples: fails to upgrade from 'stretch' - trying to overwrite /usr/bin/CVAIRS
On 31 October 2017 at 10:20, Andreas Beckmann wrote: | Package: quantlib-examples | Version: 1.11-2 | Severity: serious | User: debian...@lists.debian.org | Usertags: piuparts | | Hi, | | during a test with piuparts I noticed your package fails to upgrade from | 'stretch'. | It installed fine in 'stretch', then the upgrade to 'buster' fails | because it tries to overwrite other packages files without declaring a | Breaks+Replaces relation. Slight problem. When I add Breaks: libquantlib0v5 Replaces: libquantlib0v5 I run into E: quantlib-examples: conflicts-with-dependency depends libquantlib0v5 as it also has Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev, libboost-test-dev, libquantlib0v5 (= ${binary:Version}) Ideas? | See policy 7.6 at | https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces That URL is now https://www.debian.org/doc/debian-policy/#overwriting-files-and-replacing-packages-replaces Dirk | >From the attached log (scroll to the bottom...): | | Preparing to unpack .../quantlib-examples_1.11-2_amd64.deb ... | Unpacking quantlib-examples (1.11-2) over (1.9.1-1) ... | dpkg: error processing archive /var/cache/apt/archives/quantlib-examples_1.11-2_amd64.deb (--unpack): |trying to overwrite '/usr/bin/CVAIRS', which is also in package libquantlib0v5 1.9.1-1 | dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) | Preparing to unpack .../libquantlib0v5_1.11-2_amd64.deb ... | Unpacking libquantlib0v5 (1.11-2) over (1.9.1-1) ... | Errors were encountered while processing: |/var/cache/apt/archives/quantlib-examples_1.11-2_amd64.deb | | | cheers, | | Andreas | x[DELETED ATTACHMENT quantlib-examples_1.11-2.log.gz, application/gzip] -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
Bug#880404: quantlib-examples: fails to upgrade from 'stretch' - trying to overwrite /usr/bin/CVAIRS
Package: quantlib-examples Version: 1.11-2 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package fails to upgrade from 'stretch'. It installed fine in 'stretch', then the upgrade to 'buster' 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#s-replaces >From the attached log (scroll to the bottom...): Preparing to unpack .../quantlib-examples_1.11-2_amd64.deb ... Unpacking quantlib-examples (1.11-2) over (1.9.1-1) ... dpkg: error processing archive /var/cache/apt/archives/quantlib-examples_1.11-2_amd64.deb (--unpack): trying to overwrite '/usr/bin/CVAIRS', which is also in package libquantlib0v5 1.9.1-1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Preparing to unpack .../libquantlib0v5_1.11-2_amd64.deb ... Unpacking libquantlib0v5 (1.11-2) over (1.9.1-1) ... Errors were encountered while processing: /var/cache/apt/archives/quantlib-examples_1.11-2_amd64.deb cheers, Andreas quantlib-examples_1.11-2.log.gz Description: application/gzip