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

Bug#518966: lintian: check/scripts remove-of-unknown-diversion is bogus



Package: lintian
Version: 2.2.7
Severity: normal


Our preinst code contains
   dpkg-divert --add --package luatex --rename \
          --divert /usr/bin/texdoc.notluatex /usr/bin/texdoc
   dpkg-divert --add --package luatex --rename \
          --divert /usr/share/man/man1/texdoc.notluatex.1.gz \
          /usr/share/man/man1/texdoc.1.gz

and the postrm code
   dpkg-divert --remove --package luatex --rename \
          --divert /usr/bin/texdoc.notluatex /usr/bin/texdoc
   dpkg-divert --remove --package luatex --rename \
          --divert /usr/share/man/man1/texdoc.notluatex.1.gz \
          /usr/share/man/man1/texdoc.1.gz


And I still get 
E: luatex: remove-of-unknown-diversion usr/bin/texdoc postrm:11
E: luatex: remove-of-unknown-diversion usr/share/man/man1/texdoc.1.gz postrm:14
E: luatex: orphaned-diversion usr/bin/texdoc preinst
E: luatex: orphaned-diversion usr/share/man/man1/texdoc.1.gz preinst

That is bogus, and it was never an error in the last 5-something
revisions and worked. 


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

Kernel: Linux 2.6.29-rc7 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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                   4.26-2            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.4-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)
ii  libtext-template-perl         1.44-1.2   Text::Template perl module
ii  man-db                        2.5.4-1    on-line manual pager

-- no debconf information



Reply to: