[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759476: coinst: ambiguous output if package has multiple versions



Package: coinst
Version: 1.9.1-1+b1
Severity: normal

If multiple versions of the same package exists, the output can be ambiguous. For example:

$ coinst < Packages
Parsing package file...  0.0 seconds       4 packages
EQUIVALENCE CLASSES (4)
=======================
foo: foo (= 1)
foo: foo (= 2)
bar: bar (= 1)
baz: baz (= 1)

NON-INSTALLABLE PACKAGES
========================

NON-COINSTALLABLE PAIRS
=======================
1 foo: baz
1 baz: foo
1 foo: bar
1 bar: foo
LARGER NON-INSTALLABLE SETS
===========================


So there are two version of "foo", they are in distinct equivalence classes, but these classes have the same name. :-(


-- System Information:
Debian Release: jessie/sid
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coinst depends on:
ii  libc6  2.19-9

--
Jakub Wilk
Package: foo
Version: 1
Conflicts: bar

Package: foo
Version: 2
Conflicts: baz

Package: bar
Version: 1

Package: baz
Version: 1

Reply to: