On 31 October 2017 at 10:20, Andreas Beckmann wrote:
| Package: quantlib-examples
| Version: 1.11-2
| Severity: serious
| User: [email protected]
| 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 | [email protected]