Package: w3-recs
Version: 2004.08-1
Severity: important
Tags: patch
[The bug also applies to w3-recs_2002 and w3-recs_2003 packages]
1. While reregistering all documents (with `install-docs -I' from doc-base
0.8.4) install-docs complains:
Error in `/usr/share/doc-base/w3rec-xhtml11': Document rec-xhtml11
already registered by `/usr/share/doc-base/w3rec-xhtml1'
Error in `/usr/share/doc-base/w3rec-xforms': Document rec-dom2-html
already registered by `/usr/share/doc-base/w3rec-dom2-html'
Error in `/usr/share/doc-base/w3rec-xml-events': Document rec-dom2-html
already registered by `/usr/share/doc-base/w3rec-dom2-html'
which means e.g. that both /usr/share/doc-base/w3rec-xhtml11 and
/usr/share/doc-base/w3rec-xhtml1 have the same value of the
`Document' field (namely `rec-xhtml11').
2. The name of the file installed in /usr/share/doc-base
should match the value of `Document' field. Your packages appear to
register `rec-foo' documents using `/usr/share/doc-base/w3rec-foo'
files, which leads to errors like in 1.
3. For some strange reason your packages provides `dhelp' files renamed
to `.dhelp' by the postinst scripts.
The files SHOULD be removed, because they:
a. are broken, since register nonexistent files
b. overwrite valid .dhelp files created by doc-base 0.8.4
You can verify this with the following commands:
apt-get install doc-base=0.8.4 # or greater
apt-get install dhelp
install-docs -I
sensible-browser file:///usr/share/doc/HTML/web/w3/index.html # try
to access any link, should work
apt-get remove doc-base
apt-get install --reinstall w3-recs
sensible-browser file:///usr/share/doc/HTML/web/w3/index.html # try
to access any link, WON'T work.
c. causes debsums to fail (which was already broken for several times).
PATCH:
1. Correct Document field in
debian/{w3rec-xhtml11,w3rec-xforms,w3rec-xml-events} files
2. Let debhelper handle the doc-base files:
a. cd debian && for file in w3rec*; do mv $file doc-base.$file;
done
b. remove any calls to install-docs from debian/{postinst,prerm}
c. remove manuall installation of doc-base files from
debian/rules
d. make sure dh_installdocs is used in debian/rules
e. make sure #DEBHELPER# token exists in debian/{postinst,prerm}
3. Remove the dhelp stuff from debian/{dhelp,postinst,prerm}
Best Regards,
robert
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]