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

Bug#683059: lintian: package-contains-broken-symlink should also check recommended packages



Package: lintian
Version: 2.5.10
Severity: normal

Dear Maintainer,

In my package I want to create a symlinks to manpages in a recommended
package (the binaries use update-alternatives to provide the proper
variant). I would nearly consider this recommended package a dependency
but doing so would cause a circular dependency and anyway policy [7.2]
says:

Recommends: This declares a strong, but not absolute, dependency.
    The Recommends field should list packages that would be found
together with this one in *all but unusual installations*. [Emphasize by
me.]

So I believe that symlinks to recommended packages should be fine, and
as such the package-contains-broken-symlink check should also consider
recommended packages next to "depends" packages.

Feel free to tell me I am wrong in this, but please provide arguments.

Grtz
Paul

[7.2]
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-26-generic-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set
to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils                       2.22-7.1
ii  bzip2                          1.0.6-3
ii  diffstat                       1.55-3
ii  file                           5.11-2
ii  gettext                        0.18.1.1-9
ii  hardening-includes             2.2
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.26+b1
ii  libarchive-zip-perl            1.30-6
ii  libc-bin                       2.13-34
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.31-1+b2
ii  libdpkg-perl                   1.16.8
ii  libemail-valid-perl            0.190-1
ii  libipc-run-perl                0.91-1
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtimedate-perl               1.2000-1
ii  liburi-perl                    1.60-1
ii  man-db                         2.6.2-1
ii  patchutils                     0.3.2-1.1
ii  perl [libdigest-sha-perl]      5.14.2-12

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.16.8
pn  libhtml-parser-perl    <none>
pn  libperlio-gzip-perl    <none>
pn  libtext-template-perl  <none>
ii  man-db                 2.6.2-1
ii  xz-utils [lzma]        5.1.1alpha+20120614-1

-- no debconf information

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: