[Piuparts-devel] test candidates for file conflicts between releases

Andreas Beckmann debian at abeckmann.de
Thu Mar 22 20:16:12 UTC 2012


On 2012-03-22 19:36, Andreas Beckmann wrote:
>   * debianutils=3.4-0 which is incorrect and should be 3.4

dose-debcheck reports invalid version numbers

try this:

Package: testtesttest
Version: 1
Architecture: all
Depends: gnu-fdisk (= 1.2.4-3+b1), util-linux (= 2.20.1-4)

dose-debcheck --successes --quiet \
  --bg lists/squeeze/Packages-squeeze-main-amd64 \
  --bg lists/wheezy/Packages-wheezy-main-amd64 --explain 2>/dev/null

report:
 -
  package: testtesttest
  version: 001
  architecture: all
  source: testtesttest (= 1)
  status: ok
  installationset:
   -
    package: testtesttest
    version: 001
    architecture: all
   -
    package: file-rc
    version: 0.8.12
    architecture: all
   -
    package: debianutils
    version: 3.04
    architecture: amd64
...

it turned '1' into '001' and '3.4' into '3.04'


BTW, can you add a --conflicts option so that I can run
potential-cross-conflicts ... \
  --conflicts="file-rc,foo (=1), bar (<< 1),foobar (>= 1)
that adds corresponding Conflicts: lines to the test packages?

An installationset that includes file-rc (or something else that wants
to remove essential/required packages) is unrealistic :-)


Andreas



More information about the Piuparts-devel mailing list