Re: Lintian shows up several errors
On Fri, 02 May 2003 01:00:21 +0200, Holger Kubiak wrote:
> Hi,
>
>> (1) E: gpostman: FSSTND-dir-in-usr usr/doc/
>>
>> Will I have to create a postinst script?
>
> You can use the target install in debian/rules by writing something like
>
> mkdir -f $(CURDIR)/debian/<package>/usr/share
> mv $(CURDIR)/debian/<package>/usr/doc $(CURDIR)/debian/<package>/usr/share
>
> after the lines
>
> # Add here commands to install the package into debian/<package>.
> $(MAKE) install DESTDIR=$(CURDIR)/debian/<package>
>
> Greetings
> Holger
Hi!
Thanks to all of you, I've finally managed to get rid of all Lintian
errors and warnings. I didn't know that it was that easy ;).
Anyway, the brand new package doesn't install:
--------------------
$ dpkg -i /pub/buildroot/gpostman_1.2-1_i386.deb
Selecting previously deselected package gpostman.
(Reading database ... 107343 files and directories currently installed.)
Unpacking gpostman (from .../gpostman_1.2-1_i386.deb) ...
Setting up gpostman (1.2-1) ...
No `START-INFO-DIR-ENTRY' and no `This file documents'.
install-info(/usr/share/info/gpostman.info): unable to determine
description for `dir' entry - giving up
dpkg: error processing gpostman (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
gpostman
--------------------
It seems like if there is a problem with the directory-section in the info
page.
The suspicious line goes:
INFO-DIR-SECTION Net Utilities
I have generated the .info file from the texinfo file which says:
@dircategory Net Utilities
Any ideas?
Thanks to all of you!
-Sam
Reply to: