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

Bug#519268: lintian: same problem in mksh, but with a twist



Package: lintian
Version: 2.2.8
Severity: normal

E: mksh: diversion-for-unknown-file $2 postinst:16
E: mksh: package-uses-local-diversion postinst:24
E: mksh: package-uses-local-diversion prerm:16
E: mksh: orphaned-diversion $2 postinst

I have the same problem (although I'm not exactly sure about
the middle two ones, probably have to add the same --package
which I used in creating it? on the other hand, mksh and dash
share this, so it's even more difficult), but with a twist:
it's dynamic.

https://www.mirbsd.org/cvs.cgi/contrib/hosted/tg/deb/mksh/debian/mksh.postinst
will show you the current "state of the art"; like I said, the
code itself originated from dash...

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages lintian depends on:
ii  binutils               2.19.1-1          The GNU assembler, linker and bina
ii  diffstat               1.46-1            produces graph of changes introduc
ii  dpkg-dev               1.14.25           Debian package development tools
ii  file                   5.00-1            Determines file type using "magic"
ii  gettext                0.17-6            GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libipc-run-perl        0.82-1            Perl module for running processes
ii  libparse-debianchangel 1.1.1-2           parse Debian changelogs and output
ii  libtimedate-perl       1.1600-9          Time and date functions for Perl
ii  liburi-perl            1.37+dfsg-1       Manipulates and accesses URI strin
ii  man-db                 2.5.5-1           on-line manual pager
ii  perl [libdigest-sha-pe 5.10.0-19         Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.5.5-1    on-line manual pager

-- no debconf information


As you can see, it'd probably have to be overridden,
unless this whole diversion-for-/bin/sh thing gets
cleaned up (I already suggested to use the scheme the
debconf handbook recommends for the default window
manager, but didn't get much response from the dash
maintainers) by someone who actually understands this
stuff well.

bye,
//mirabilos
--
23:22⎜«mikap:#grml» mirabilos: und dein bootloader ist geil :)
23:29⎜«mikap:#grml» und ich finds saugeil dass ich ein bsd zum booten mit
     ⎜  grml hab, das muss ich dann gleich mal auf usb-stick installieren
-- Michael Prokop von grml.org über MirGRML und MirOS bsd4grml



Reply to: