sgml-common-0.1-7.noarch.rpm in RH6.2 breaks db2html for me. This happens in both a standard RH6.1->RH6.2 upgrade, as well as just installing this single package on a RH6.1 system. Running db2html produces many errors of the form: jade:/usr/lib/sgml/dbcent.mod:54:0:E: cannot open "/usr/lib/sgml/iso-amsa.gml" (No such file or directory) and many errors of the form: jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/../common/dbl1no.dsl:90:19:E: general entity "oslash" not defined and no default entity I have been able to remedy this problem by moving the 21 line section beginning with the line: -- start sgml-common 0.1-7 -- and ending with: -- end sgml-common 0.1-7 -- from the end of my /usr/lib/sgml/CATALOG file to the beginning of this file. Doing this eliminates all error messages. Note that this section, aside for having "0.1-7" in place of "0.1-3", is identical to that from the earlier version, except that it is placed at the end of the CATALOG file instead of the beginning.
Do you also have the stylesheets package installed?
Bleah. It seems that a) the catalog file is order dependent b) the docbook scripts install references to entity files that don't exist. This will be fixed with the docbook-3.1-4 package; if you don't want to upgrade to that, just move the sgml-common section from the end of the CATALOG file to the beginning.
I get this: [root@meme /tmp]# rpm -Uvh docbook-3.1-4.noarch.rpm docbook ################################################## sed: -e expression #1, char 25: Extra characters after command execution of script failed I think it might be coming from install-catalog: remove) if grep -q "$SBEG" $cat then echo "removing $package$version DTD from catalog" sed -e "/$SBEG/,/$SEND/d" < $cat > ${cat}.new mv ${cat}.new ${cat} else Might $SBEG or $SEND contain /s? Perhaps it should read: sed -e "m#$SBED#,#$END#d" ...
I think you mean \#$SBEG#,\#$SEND#d, but yes. sgml-common needs fixed.