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

install-docs problem during package installation



Hi,

When you use doc-base then dh_installdocs usually creates entries in postinst 
scripts which calls install-docs.

A problem and a question regarding this:
(P) when install-docs is called on the command line you get:

cat: /var/lib/dpkg/alternatives/x-window-manager: No such file or directory
sed: -e expression #1, char 1: Unknown command: ``-''

This message happens all over the place for every entry in 
/usr/share/doc-base.  Now it appears that the x-window-manager is a rarity 
these days and x-session-manager the norm.  I get unreliable results from 
dhelp due to this error. How can it be fixed? 

(Q) Since install-docs and update-menus are used when a doc-base and menu 
entry exists in the debian directory.... Does it mean that you must have:
Depends: doc-base, menu
in the control file?

Thank you


~~~~~~~~~~~~~~
Alwyn Schoeman
Prism Wireless

The Internet will destroy the barriers that are isolating people
 from decent opportunities based on where they happened to have been born, 
and this will be a fundamental transformation of our global society that will 
greatly discomfort a lot of worthless people. Then those same worthless people
 will create new barriers based on access to source code, licenses, 
software permissions, etc. Sigh.
-- Hans Reiser



Reply to: