Hi Helmut,

I looked a bit more into this case and I found some interesting points.
Mark, I have no idea about sgml and catalogues and all this stuff, but...
* I checked the update-catalogue script, and it simply interates over
  all .cat files in /etc/sgml. That by design is prone to break, as we 
  saw.

* the dh_installcatalogs generated code is not policy conform, well not
  even anything debian related. The configure (postinst) part simply
  does
        rm -f /etc/sgml/openjade.cat
  without any action in preinst or so.
  If you do this, it means that changes to config files under /etc/sgml/
  are *not* preserved

* If this is the case, that the files installed by update-catalog --add
  should not be edited at all, then please put them into /var/somewhere
  and all of the problems with rc are gone

* another option would be to use ucf* to put them under dpkg conffile
  control when they are update-catalog --add, and remove them on 
  purge from the ucf catalgoue. 
  And in the --add action also use ucf to check for existence and status
  of the files there


But, my suggestion is actually to:
- either put the .cat files into /var and not into /etc/sgml
- or create them at dh_installcatalogue (package build) time, and
  let them be properly handled by dpkg. In this case also add a state
  file in /var/... so that update-catalog --supercatalog does know
  about which files should actually be included

That are the changes I can see, none of them being a trivial, all of them
being possible solutions for actually a bunch of RC bugs.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
DAMNAGLAUR (n.)
A certain facial expression which actors are required to demonstrate
their mastery of before they are allowed to play MacBeth.
                        --- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to