[Pkg-alsa-devel] Re: Bug#244583: Conflicts missing in pciutils 1:2.1.11-10.999

Remco van de Meent r.vandemeent@utwente.nl
Tue, 20 Apr 2004 11:22:26 +0200


Hi all.

I'm CC-ing a number of people in this message, namely maintainers of 
packages depending on pciutils. A change to pciutils that may affect you 
is impending, so please read on.

Adrian Bunk wrote:
> Hi Remco,
> 
> if you drop the dependency on libpci1 from pciutils, you have to add 
> conflicts on the versions of all other packages that depended on 
> pciutils because of libpci.so.1.
> 
> As an example, upgrading pciutils to 1:2.1.11-10.999 without libpci1 
> installed would silently break kudzu.
> 

I have just gone through the direct reverse dependencies of pciutils, 
namely:

$ apt-rdepends -r -f pciutils pciutils
Reading Package Lists... Done
Building Dependency Tree... Done
pciutils
   Reverse Depends: alsa-utils (1.0.4-1)
   Reverse Depends: hal (0.2.6+20040331-1)
   Reverse Depends: hardinfo (>= 0.3.6-3)
   Reverse Depends: i810switch (>= 0.6.2-2)
   Reverse Depends: kudzu (>= 1.1.36-2)
   Reverse Depends: libglide2 (2002.04.10-5)
   Reverse Depends: libglide3 (2002.04.10-5)
   Reverse Depends: pciutils-dev (1:2.1.11-10)
   Reverse Depends: powertweakd (>= 0.99.5-5)
   Reverse Depends: sndconfig (>= 0.70-2)

After installing and trying these packages on a system with pciutils 
1:2.1.11-10.999 without libpci1 installed, I found that:

alsa-utils	probably OK
hal		probably OK
hardinfo	FAIL
i810switch	probably OK
kudzu		FAIL
libglide2	probably OK
libglide3	probably OK
powertweakd	probably OK
sndconfig	FAIL

In the pciutils package, I will add proper conflicts (and file bug 
reports, if necessary) for hardinfo, kudzu en sndconfig. The other 
packages maintainers may want to verify as well. At 
http://people.debian.org/~remco you'll find a version of pciutils with 
the impending changes incorporated.

The changes are basically as follows:
1) there no longer is a libpci.so.1, but instead libpci.so.2. The ABI 
changed a bit, due to added sysfs support. This is probably not a big 
issue, but you need to recompile of course. Notably this concerns kudzu 
and sndconfig. Currently there is a package libpci1 in the archive that 
contains libpci.so.1, but please don't use that one - I intend to ask 
ftpmaster to remove it. If this really gives problems, let me know.

2) the output format of 'lspci' changed:
old format:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 651 Ho.....
new format:
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 651 Ho.....
Thus, programs parsing this output may need to be changed. Notably, 
hardinfo failed on this. The others seemed fine (from a little bit of 
testing and looking at the sources).

I plan to upload pciutils 1:2.1.11-11, containing these changes, later 
today (there is a sense of urgency in getting it through because of 
problems with the base system, so apologies for the late notification!)

Thanks for your cooperation!

regards,
Remco