Hi! On Sat, 2013-10-12 at 14:28:09 +0300, Toomas Rosin wrote: > Package: dpkg > Version: 1.17.1 > Severity: minor
> I tried to install a bunch of packages with `dpkg -i', but, after > having successfully unpacked a number of packages it started to > spit out error messages like the following: > > package X has too many Conflicts/Replaces pairs > > These messages left me with the impression as if dpkg thought each > one of the failed packages to have "too many" Conflicts/Replaces > pairs, whereas, in fact, each of them had only one such pair. > What really happened was that dpkg counted Conflicts/Replaces > pairs for packages specified on the command lines, and started to > fail after the count got over 20 (the value of MAXCONFLICTORS in > src/unpack.c). > > I suggest that the error message (src/unpack.c:208) be changed, > perhaps to something like "too many Conflicts/Replaces pairs > encountered". The conflictors get dealt with on each unpack iteration by removing them, so in principle that message would be accurate, but the real problem is that the list accumulates conflictors but never takes them out from the list when successfully removing them from the system. So I think I'll be fixing this instead by turning the simple statically allocated array of conflictors into a proper queue, which will get emptied on each iteration. And as such that message will just disappear, along with the compiled-in limit. Thanks, Guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org