From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Epiphany/1.1.12 Description of problem: When removing docbook-dtds get error: Failed to remove entry from /etc/sgml/catalog /var/tmp/rpm-tmp.95353: line 49: [: : integer expression expected Version-Release number of selected component (if applicable): docbook-dtds-1.0-24 How reproducible: Always Steps to Reproduce: 1. yum install docbook-dtds 2. rpm -e docbook-dtds openjade 3. Additional info:
apparently bco SGML=$(cat -n ${CATALOG} | grep sgml-docbook | head -1 | (read n line;echo $n)) XML=$(cat -n ${CATALOG} | grep xml-docbook | head -1 | (read n line; echo $n)) # Do they need switching around? if [ "${XML}" -lt "${SGML}" ] which fails if catalog is empty it could be fixed by if [ "${XML}" -a "${SGML}" ] && [ "${XML}" -lt "${SGML}" ]
This was fixed in 1.0-29. Thanks for the report.