Bug#614715: lintian: should warn about duplicated files under /usr/share/doc/<packagename>/
Package: lintian
Version: 2.4.3
Severity: wishlist
While playing around with the tool hardlink, I noticed that even on a
small Debian Sid installation like the one on my 4GB EeePC contains
quite some packages which contain files more than once under
/usr/share/doc/<packagename>/ (inside the same binary package, not split
over several binary packages built of the same source package), most
often the upstream changelog was included twice, probably once via
debhelper and once manually by the maintainer:
$ hardlink -v -n /usr/share/doc | awk -F/ '$5 == $10 {print}'
[DryRun] Linking /usr/share/doc/python-fuse/Changelog.gz to /usr/share/doc/python-fuse/changelog.gz (-7.13 KiB)
[DryRun] Linking /usr/share/doc/gpa/NEWS.gz to /usr/share/doc/gpa/changelog.gz (-3.17 KiB)
[DryRun] Linking /usr/share/doc/cvs/ChangeLog.build-tree.cvs-1.12.13.gz to /usr/share/doc/cvs/changelog.gz (-56.90 KiB)
[DryRun] Linking /usr/share/doc/zile/NEWS.gz to /usr/share/doc/zile/changelog.gz (-6.55 KiB)
[DryRun] Linking /usr/share/doc/icmpinfo/DOC.gz to /usr/share/doc/icmpinfo/README.gz (-2.09 KiB)
[DryRun] Linking /usr/share/doc/gnome-themes-extras/TODO to /usr/share/doc/gnome-themes-extras/README (-1 bytes)
[DryRun] Linking /usr/share/doc/fpdns/changelog.Debian.gz to /usr/share/doc/fpdns/changelog.gz (-773 bytes)
[DryRun] Linking /usr/share/doc/midori/ChangeLog.gz to /usr/share/doc/midori/changelog.gz (-8.19 KiB)
[DryRun] Linking /usr/share/doc/proxytunnel/CHANGES.gz to /usr/share/doc/proxytunnel/changelog.gz (-4.39 KiB)
I manually filed bugs for those 9 packages(*), but I fear that on bigger
installations way more such cases can be found. So a lintian test would
probably be better to track these issues.
(*) http://bugs.debian.org/614707 fpdns: Contains changelog twice
http://bugs.debian.org/614706 gnome-themes-extras: Contains two empt
http://bugs.debian.org/614703 icmpinfo: Contains readme twice
http://bugs.debian.org/614702 zile: Contains upstream changelog twic
http://bugs.debian.org/614700 cvs: Contains upstream changelog twice
http://bugs.debian.org/614698 gpa: Contains upstream changelog twice
http://bugs.debian.org/614696 python-fuse: Contains upstream changel
http://bugs.debian.org/614692 midori: Contains upstream changelog tw
http://bugs.debian.org/614689 proxytunnel: Contains upstream changel
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'stable'), (500, 'testing'), (400, 'oldstable'), (110, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.37-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20.1-16 The GNU assembler, linker and bina
ii diffstat 1.54-1 produces graph of changes introduc
ii dpkg-dev 1.15.8.10 Debian package development tools
ii file 5.04-5 Determines file type using "magic"
ii gettext 0.18.1.1-3 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libdigest-sha-perl 5.50-1 Perl extension for SHA-1/224/256/3
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.58-1 module to manipulate and access UR
ii locales 2.11.2-11 Embedded GNU C Library: National L
ii man-db 2.5.9-4 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-17 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-2 Text::Template perl module
ii man-db 2.5.9-4 on-line manual pager
-- no debconf information
Reply to: