Hi, I mentioned before that there are a lot of packages that violate Policy 8.2 Shared library support files:
| If your package contains files whose names do not change with each | change in the library shared object version, you must not put them | in the shared library package. Otherwise, several versions of the | shared library cannot be installed at the same time without | filename clashes, making upgrades and transitions unnecessarily | difficult. I detected 1063 possible violations with some percentage of false positives. Since those are too many to go through by hand I filtered a bit for the location of the violating files: /etc/ : 137 packages /bin/ or /usr/bin : 285 packages /sbin/ or /usr/sbin/: 47 packages Still too many for one go and a huge overlap between the 3 cases so I picked just packages that contained a shared library (as witnessed by a shlibs file in the control.tar.gz) and files in /etc/. I considered any file in /etc/ that does not contain a version in its path or name that would make it distinct from a future SOVERSION in violation of 8.2. I (hopefully) removed all false positives (leaving 126 packages). Possible ways to fix the bug: 1) do not ship a public shared library There seem to be packages that have a shared lib for multiple binaries in the same package and no reverse depends. Most likely the library is not (ment to be) public. 2) Add a version to the name or the path E.g.: /etc/gtk-2.0/im-multipress.conf 3) Split the package into foo and libfoo or libfooX and libfoo-bin/common E.g.: eglibc was recently split into libc6 and libc-bin. Below is the script I used to find candidates and the results filtered through dd-list. The output filtered for files in /etc/ and full can be found at: http://mrvn.homeip.net/policy-8.2/policy-8.2-etc.txt.gz http://mrvn.homeip.net/policy-8.2/policy-8.2.txt.gz MfG Goswin For a full list of all candidates run ---------------------------------------------------------------------- #!/bin/sh grep-dctrl "" -n -sFilename dists/sid/*/binary-amd64/Packages \ | while read DEB; do echo >&2 $NUM $DEB mkdir -p t dpkg -e $DEB t if [ -f t/shlibs ]; then PKG=$(cat t/control | grep-dctrl "" -n -sPackage) VER=$(cat t/control | grep-dctrl "" -n -sVersion) MAINT=$(cat t/control | grep-dctrl "" -n -sMaintainer) SHORT=$(echo $PKG | sed 's/^lib//') LIB=$(echo $PKG | sed 's/[0-9]*$//') FILES=$(dpkg -c $DEB \ | grep -v " ./usr/share/doc/$PKG/" \ | grep -v " ./usr/share/doc/$SHORT/" \ | grep -v " ./etc/$PKG/" \ | grep -v " ./etc/$SHORT/" \ | grep -v " ./usr/share/lintian/overrides/$PKG$" \ | grep -v " /$PKG/" \ | grep -v " ./lib/.*\.so\." \ | grep -v " ./usr/lib/.*\.la$" \ | grep -v " ./usr/lib/.*\.a$" \ | grep "^-" | cut -b 50-) if [ -n "$FILES" ]; then echo "Package: $PKG" echo "Version: $VER" echo "Maintainer: $MAINT" echo -n "Libs:" while read LIB FOO; do echo -n ", $LIB" done < t/shlibs | cut -b2- echo "Files: " echo "$FILES" | while read LINE; do echo " $LINE" done echo NUM=$(($NUM + 1)) fi fi rm -rf t done ---------------------------------------------------------------------- ---------------------------------------------------------------------- Masayuki Hatta (mhatta) <mha...@debian.org> psiconv Russ Allbery <r...@debian.org> openldap (U) Micah Anderson <mi...@debian.org> util-vserver APT Development Team <de...@lists.debian.org> apt Leopold Palomo Avellaneda <l...@alaxarxa.net> bulmages (U) Roland Bauerschmidt <r...@debian.org> openldap (U) Daniel Baumann <dan...@debian.org> gnunet (U) nilfs-tools (U) open-vm-tools (U) Daniel Baumann <dan...@lists.debian-maintainers.org> nilfs-tools Christian Bayle <ba...@debian.org> crystalspace (U) cvsnt (U) CJ van den Berg <c...@vdbonline.com> pulseaudio (U) Vincent Bernat <ber...@debian.org> libsmi Armin Berres <trigger+deb...@space-based.de> kdelibs (U) Michael Biebl <bi...@debian.org> knetworkmanager tracker Julien BLACHE <jbla...@debian.org> sane-backends Gonéri Le Bouder <gon...@rulezlan.org> openal-soft (U) Fathi Boudra <f...@debian.org> kdelibs (U) taskjuggler (U) John Bovey <j...@kent.ac.uk> libnjb Cyril Brulebois <k...@debian.org> openal-soft (U) Luca Bruno <lethalma...@gmail.com> apt (U) Krzysztof Burghardt <krzysz...@burghardt.pl> libticables Daniel Burrows <dburr...@debian.org> apt (U) Ross Burton <r...@debian.org> network-manager-openconnect Michael Casadevall <sonicmcta...@gmail.com> libxfcegui4 (U) Kanru Chen <kos...@debian.org.tw> gcin Pierre Chifflier <pol...@debian.org> libprelude (U) wzdftpd CrossWire Packages <pkg-crosswire-de...@lists.alioth.debian.org> sword Joost Yervante Damad <and...@debian.org> wireshark (U) Debian FreeSmartphone.Org Team <pkg-fso-ma...@lists.alioth.debian.org> fso-usaged Debian Games Team <pkg-games-de...@lists.alioth.debian.org> crystalspace ogre openal-soft Debian HA Maintainers <debian-ha-maintain...@lists.alioth.debian.org> openais-legacy Debian HPIJS and HPLIP maintainers <pkg-hpijs-de...@lists.alioth.debian.org> hplip Debian Install System Team <debian-b...@lists.debian.org> discover Debian KDE Extras Team <pkg-kde-ext...@lists.alioth.debian.org> taskjuggler Debian MySQL Maintainers <pkg-mysql-ma...@lists.alioth.debian.org> mysql-proxy Debian NVIDIA Maintainers <pkg-nvidia-de...@lists.alioth.debian.org> nvidia-graphics-drivers nvidia-graphics-drivers-legacy-173xx nvidia-graphics-drivers-legacy-71xx nvidia-graphics-drivers-legacy-96xx Debian OpenLDAP Maintainers <pkg-openldap-de...@lists.alioth.debian.org> openldap Debian Qt/KDE Maintainers <debian-qt-...@lists.debian.org> kdelibs Debian Scientific Computing Team <pkg-scicomp-de...@lists.alioth.debian.org> openturns Debian VoIP Team <pkg-voip-maintain...@lists.alioth.debian.org> bayonne radiusclient-ng Debian X Strike Force <debia...@lists.debian.org> libcompizconfig libxvmc Debian Xfce Maintainers <pkg-xfce-de...@lists.alioth.debian.org> libxfcegui4 xfce4-panel xfce4-session Debian Xiph.org Maintainers <pkg-xiph-ma...@lists.alioth.debian.org> libao Barry deFreese <bdefre...@debian.org> crystalspace (U) Randall Donald <rdon...@debian.org> nvidia-graphics-drivers (U) nvidia-graphics-drivers-legacy-173xx (U) nvidia-graphics-drivers-legacy-71xx (U) nvidia-graphics-drivers-legacy-96xx (U) Eric Dorland <e...@debian.org> openct opensc Roland Dreier <rola...@cisco.com> libipathverbs libmthca Sebastian Dröge <sl...@debian.org> wildmidi (U) Dirk Eddelbuettel <e...@debian.org> ggobi r-base Peter Eisentraut <pet...@debian.org> pgpool2 Mattias Ellert <mattias.ell...@fysast.uu.se> voms Fglrx packaging team <pkg-fglrx-de...@lists.alioth.debian.org> fglrx-driver Sean Finney <sean...@debian.org> libcompizconfig (U) Stephen Frost <sfr...@debian.org> openldap (U) Bdale Garbee <bd...@gag.com> amanda Daniel Glassey <w...@debian.org> sword (U) John Goerzen <jgoer...@complete.org> bacula Stephen Gran <sg...@debian.org> freeradius Federico Di Gregorio <f...@debian.org> ogre (U) Debian QA Group <packa...@qa.debian.org> htdig knoda libiphone libjconv libvuurmuur opencryptoki radiusclient synfig wvstreams Gudjon I. Gudjonsson <gud...@gudjon.org> comedilib Steinar H. Gunderson <se...@debian.org> libgssglue (U) libtirpc Philipp Matthias Hahn <pmh...@debian.org> audit ike Christian Hammers <c...@debian.org> quagga Andreas Henriksson <andr...@fatal.se> rygel (U) Emmet Hikory <emmet.hik...@gmail.com> wildmidi Henrique de Moraes Holschuh <h...@debian.org> hplip (U) Simon Horman <ho...@debian.org> heartbeat perdition Simon Huggins <hug...@earth.li> libxfcegui4 (U) xfce4-panel (U) xfce4-session (U) Mark Hymers <m...@debian.org> freeradius (U) Alberto Gonzalez Iniesta <a...@inittab.org> kmyfirewall Jan Janak <j...@iptel.org> radiusclient-ng (U) Aurelien Jarno <aure...@debian.org> lm-sensors-3 LaMont Jones <lam...@debian.org> postfix Guillem Jover <guil...@debian.org> svgalib Till Kamppeter <till.kamppe...@gmail.com> hplip (U) Bruno "Fuddl" Kleinert <fu...@tauware.de> openal-soft (U) Julian Andres Klode <j...@debian.org> apt (U) Michael Koch <konque...@gmx.de> ogre (U) martin f. krafft <madd...@debian.org> libphidgets Kilian Krause <kil...@debian.org> bayonne (U) radiusclient-ng (U) Noèl Köthe <n...@debian.org> garmin-forerunner-tools (U) Emmanuel Lacour <elac...@home-dn.net> libnss-mysql-bg Jeremy Lainé <jeremy.la...@m4x.org> kdevelop Torsten Landschoff <tors...@debian.org> hplip (U) openldap (U) Steve Langasek <vor...@debian.org> openldap (U) Dmitrijs Ledkovs <dmitrij.led...@gmail.com> sword (U) Ron Lee <r...@debian.org> vpb-driver Faidon Liambotis <parav...@debian.org> bayonne (U) John Lines <j...@paladin.demon.co.uk> plptools Ana Beatriz Guerrero Lopez <a...@debian.org> kdelibs (U) Martin Loschwitz <madk...@debian.org> libxfcegui4 (U) openais-legacy (U) Ola Lundqvist <o...@debian.org> ntop util-vserver (U) Marc-André Lureau <marcandre.lur...@gmail.com> rygel (U) Eugene V. Lyubimkin <jackyf.de...@gmail.com> proxychains Debian GNUnet Maintainers <gnu...@lists.debian-maintainers.org> gnunet Debian Rygel Maintainers <ah-ry...@debian.org> rygel Debian VMware Maintainers <vmw...@lists.debian-maintainers.org> open-vm-tools Bertrand Marc <beberk...@gmail.com> fglrx-driver (U) Jonathan Marsden <jmars...@fastmail.fm> sword (U) Christoph Martin <christoph.mar...@uni-mainz.de> socks4-server Christoph Martin <christoph.mar...@uni-mainz.de> socks4-server (U) Roland Mas <lola...@debian.org> argyll TSUCHIYA Masatoshi <tsuch...@namazu.org> mecab Patrick Matthäi <pmatth...@debian.org> fglrx-driver (U) sbnc tork Rene Mayrhofer <rm...@debian.org> strongswan Andres Mejia <mcita...@gmail.com> openal-soft (U) Miguel Gea Milvaques <xera...@debian.org> bulmages (U) Steffen Moeller <moel...@debian.org> voms (U) Matthijs Mohlmann <matth...@cacholong.nl> openldap (U) Kenshi Muto <km...@debian.org> mlterm René Mérou <ochominutosdea...@gmail.com> bulmages David Nusinow <dnusi...@debian.org> discover (U) libxvmc (U) Sam Hocevar (Debian packages) <sam+...@zoy.org> svgalib (U) Drew Parsons <dpars...@debian.org> libxvmc (U) Yves-Alexis Perez <cor...@debian.org> libxfcegui4 (U) xfce4-panel (U) xfce4-session (U) Christian Perrier <bubu...@debian.org> apt (U) Frederic Peters <fpet...@debian.org> wireshark Mickael Profeta <prof...@debian.org> libprelude Christophe Prud'homme <prudh...@debian.org> openturns (U) Pulseaudio maintenance team <pkg-pulseaudio-de...@lists.alioth.debian.org> pulseaudio Mark Purcell <m...@debian.org> bayonne (U) hplip (U) hpoj radiusclient-ng (U) taskjuggler (U) Pau Garcia i Quiles <pgqui...@elpauer.org> witty Ganesan Rajagopal <rgane...@debian.org> ipsec-tools Thierry Reding <thie...@doppeltgemoppelt.de> openal-soft (U) Petter Reinholdtsen <p...@debian.org> discover (U) Tomeu Borràs Riera <tbor...@conetxcia.com> bulmages (U) Branden Robinson <bran...@debian.org> libxvmc (U) Emanuele Rocca <e...@debian.org> libxfcegui4 (U) xfce4-panel (U) xfce4-session (U) Giuseppe Sacco <eppes...@debian.org> hylafax Alexander Sack <a...@debian.org> connman Alexander Sack <a...@ubuntu.com> connman (U) Anibal Monsalve Salazar <ani...@debian.org> libgssglue openais-legacy (U) pcp (U) Andres Salomon <dilin...@debian.org> libxvmc (U) Otavio Salvador <ota...@debian.org> apt (U) discover (U) Frederik Schüler <f...@debian.org> openais-legacy (U) Nathan Scott <nath...@debian.org> pcp Raúl Sánchez Siles <rasas...@gmail.com> kdelibs (U) Gustavo Noronha Silva <k...@debian.org> gksu-polkit Sjoerd Simons <sjo...@debian.org> pulseaudio (U) Adeodato Simó <d...@net.com.org.es> libao (U) Craig Small <csm...@debian.org> procps Bradley Smith <bradsm...@debian.org> libggi libggigcp libggimisc libggiwmh libgii libgiigic Manoj Srivastava <sriva...@debian.org> libsemanage Gaudenz Steinlin <gaud...@debian.org> discover (U) Roland Stigge <sti...@antcom.de> xenomai Heiko Stuebner <he...@sntech.de> fso-usaged (U) Bryan Sutula <bryan.sut...@hp.com> openhpi Reinhard Tartler <siret...@tauware.de> openal-soft (U) Michael Tautschnig <m...@debian.org> lnpd Pino Toscano <p...@kde.org> kdelibs (U) Ralf Treinen <trei...@debian.org> garmin-forerunner-tools mona Norbert Tretkowski <no...@debian.org> mysql-proxy (U) Mathieu Trudel <mathieu...@gmail.com> concordance Andreas Tscharner <a...@vis.ethz.ch> cvsnt Modestas Vainius <modes...@vainius.eu> kdelibs (U) Wouter Verhelst <wou...@debian.org> belpic Michael Vogt <m...@debian.org> apt (U) Sune Vuorela <deb...@pusling.com> kdelibs (U) Florian Weimer <f...@debian.org> quagga (U) Stefano Zacchiroli <z...@debian.org> gtkmathview ---------------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org