Bug 121214 - Removing docbook-dtds errors
Summary: Removing docbook-dtds errors
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: docbook-dtds
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-19 09:35 UTC by Alex Kiernan
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version: 1.0-29
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-10 09:53:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alex Kiernan 2004-04-19 09:35:32 UTC
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:

Comment 1 Mads Kiilerich 2005-11-09 23:46:29 UTC
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}" ]

Comment 2 Tim Waugh 2005-11-10 09:53:50 UTC
This was fixed in 1.0-29.  Thanks for the report.


Note You need to log in before you can comment on or make changes to this bug.