Bug#1005773: ortools-samples: ships /usr/bin/knapsack, /usr/bin/tsp

Andreas Beckmann anbe at debian.org
Mon Feb 14 17:31:03 GMT 2022


Package: ortools-samples
Version: 8.2+ds-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install
because it tries to overwrite other packages files.

I do not think that Breaks+Replaces would be an appropriate solution in
this case.

Given the package name (ortools-samples), I'm not sure whether these
example binaries belong to /usr/bin at all ..., at least not with such
generic names.

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

  Preparing to unpack .../ortools-samples_8.2+ds-1_amd64.deb ...
  Unpacking ortools-samples (8.2+ds-1) ...
  dpkg: error processing archive /var/cache/apt/archives/ortools-samples_8.2+ds-1_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/knapsack', which is also in package ruby-knapsack 1.18.0-2
  Errors were encountered while processing:
   /var/cache/apt/archives/ortools-samples_8.2+ds-1_amd64.deb

  Preparing to unpack .../ortools-samples_8.2+ds-1_amd64.deb ...
  Unpacking ortools-samples (8.2+ds-1) ...
  dpkg: error processing archive /var/cache/apt/archives/ortools-samples_8.2+ds-1_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/tsp', which is also in package task-spooler 1.0.1+dfsg1-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/ortools-samples_8.2+ds-1_amd64.deb


cheers,


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-knapsack=1.18.0-2_ortools-samples=8.2+ds-1.log.gz
Type: application/gzip
Size: 10874 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220214/2e2413ec/attachment-0001.gz>


More information about the debian-science-maintainers mailing list