reassign dhelp
quit
On Sat, Mar 19, 2005 at 08:40:16PM +0100, Marc Langer wrote:
> Package: menu
> Version: 2.1.22
> Severity: serious
> Justification: Policy 12.3
> 
> I deleted /usr/share/doc/* to get more disk space and then updated
> menu from woody to sid. post-installation returned with error code 21
> as /usr/share/doc/menu/html did not exist and the .dhelp file could not
> be created there.

Hello Marc (and Stephan)

.dhelp files are created by /usr/sbin/dhelp_parse which is part of the
dhelp package, not by menu.

What happens is that menu postinst register documentation through
doc-base. This cause /usr/sbin/dhelp_parse to be run if dhelp is
installed.

The menu package include a file /usr/share/doc-base/menu that includes
the following lines:

  Format: HTML
  Index: /usr/share/doc/menu/html/index.html
  Files: /usr/share/doc/menu/html/*.html

This is that file that cause /usr/sbin/dhelp_parse to try to create a
dhelp file.

I don't think Policy 12.3 can be read to forbid such reference, and
there are lots of packages registering documentation in /usr/share/doc.

I am sure however that this is not a useful reading, because doing so will
require moving a lot of documentation outside /usr/share/doc which will
greatly reduce the potential space-saving of removing it.

So I would conclude this is rather a bug in dhelp itself that should
handle missing directories gracefully (which is always a good idea
independently of policy).

> Debian Policy Manual section 12.3 says that /usr/share/doc must not
> exist and no package should rely on it.

s/must/might/ please :)

Thanks for your bug report,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to