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

Bug#284991: dpkg: [INSTALL-INFO] --infodir doesn't behave as advertised



Package: dpkg
Version: 1.10.25
Severity: minor

The man page says

  --infodir=infodir
	    Specifies  that  the  dir file is, and the installed copy of the
	    new Info file was, is  or  will  be  located  in  infodir.   The
	    default is /usr/info.

I used it with --infodir=/usr/local/share/info/, that directory having
no dir file, though it had the info file I was registering.

The dir file in /usr/share/info was updated despite the description
above saying the dir file in the directory I gave it would be updated.

Unless the tool (info, emacs) are good at merging multiple dir files,
I'd say the current behavior is desirable.  But it doesn't match the
documentation.

I also assume the default on Debian is /usr/share/info (though
/usr/info does link there).

I don't see this exact problem reported, but I do see that the
documentation is from the GNU utility and doesn't always match the
Debian code.  This may be another example of that.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26advncd
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages dpkg depends on:
ii  dselect                     1.10.25      a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an

-- no debconf information



Reply to: