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

Bug#191736: postrm: removal of $ORDCATS from $CENTRALCAT missing

Package: jade
Version: 1.2.1-28
Severity: normal

In postinst I see some CATALOG handling:

update-catalog --quiet --add ${CENTRALCAT} /usr/share/sgml/${ordcat}
update-catalog --quiet --add --super ${CENTRALCAT}

These actions aren't undone on removal or purge of the package, which
results in openjade failing after removal of jade:

openjade:/etc/sgml/jade.cat:8:8:E: cannot open "/usr/share/sgml/jade/catalog" (Datei oder Verzeichnis nicht gefunden)

The command 
 update-catalog --remove /etc/sgml/jade.cat /usr/share/sgml/jade/catalog
to remove the last entry from /etc/sgml/jade.cat solves this problem.
Maybe it would be good to add a 
 update-catalog --remove super /etc/sgml/catalog
 rm -f /etc/sgml/jade.cat
after this.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux besan 2.4.20 #1 Son Mär 30 15:32:11 CEST 2003 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE

Versions of packages jade depends on:
ii  libc6                     2.3.1-16       GNU C Library: Shared libraries an
ii  libsp1                    1.3.4-1.2.1-28 Runtime library for James Clark's 
ii  libstdc++2.10-glibc2.2    1:2.95.4-17    The GNU stdc++ library
ii  sgml-base                 1.17           utilities to maintain SGML catalog



 * roland@spinnaker.de * http://www.spinnaker.de/ *

Reply to: