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

Bug#314187: lintian: incorrect warning about useless-call-to-update-menus



Package: lintian
Version: 1.23.8
Severity: normal

When I run lintian on one of my packages, it gives me warnings about
useless calls to update-menus.

$ lintian -i nut-nutrition_10.20*changes
W: nut-nutrition: postinst-has-useless-call-to-update-menus
N:
N:   The postinst script calls the update-menus program though no file is
N:   installed in /usr/lib/menu or /etc/menu-methods.
N:
W: nut-nutrition: postrm-has-useless-call-to-update-menus
N:
N:   The postrm script calls the update-menus program though no file is
N:   installed in /usr/lib/menu or /etc/menu-methods
N:

Well, the warning is kind of right, I don't have a menu file in
/usr/lib/menu. But, that is because in Debian Policy section 3.1, it
says they should go in /usr/share/menu, which is where it is:

$ dpkg -L nut-nutrition | grep menu
/usr/share/menu
/usr/share/menu/nut-nutrition

Is this some new check added to lintian on purpose? It contradicts
current Debian policy...

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.26-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lintian depends on:
ii  binutils                   2.15-6        The GNU assembler, linker and bina
ii  diffstat                   1.39-1        produces graph of changes introduc
ii  file                       4.12-1        Determines file type using "magic"
ii  gettext                    0.14.5-1      GNU Internationalization utilities
ii  intltool-debian            0.30+20040213 Help i18n of RFC822 compliant conf
ii  man-db                     2.4.2-22      The on-line manual pager
ii  perl [libdigest-md5-perl]  5.8.7-3       Larry Wall's Practical Extraction 

-- no debconf information



Reply to: