Re: Loops in catalogs
Hi.
In <[🔎] 87ae693sgc.fsf@vangogh.ulb.ac.be>,
on "26 Mar 2001 09:22:27 +0200",
with "Loops in catalogs",
Christian Lemer <chris@ucmb.ulb.ac.be> wrote:
> Please, is this is a RTFM question, just help me to find the
> chapter.... because I couldn't.
Maybe you can find some information in the archive of this list.
> Since then, jade complains about
>
> jade:/usr/lib/sgml/catalog:2:8:E: CATALOG entries cause loop
>
> and the sgml mode of emacs (psmgl) loops forever after reading the
> catalog.
Well, this comes from recent change, and will be fixed soon.
> I read a lot of the documentation but couldn't find who to regenerate
> the catalog files.
Try:
update-catalog --remove --super /usr/lib/sgml/catalog
> It there something wrong in the 'unstable' version of the installation
> or did I miss something during the installation?
In potato, /usr/lib/sgml/catalog is a symbolic link to /etc/sgml.catalog,
which is the system super catalog. And /etc/sgml/catalog is only used by
sgmltools-2, and it sets /usr/lib/sgml/catalog in its own catalog file
(which is /etc/sgml/catalog).
Now in unstable, the system super catalog is /etc/sgml/catalog, and
/usr/lib/sgml/catalog is a symbolic link to that file. But we hope
to replace sgmltools-2 with sgmltools-lite (since upstream has already
dropped sgmltools-2 and moved to sgmltools-lite) and the new package
for sgmltools-lite just comes up recently. So some of the glitches
in unstable are not yet fixed.
In <[🔎] oad7bud9wv.fsf@arroz.fake>,
on "06 Mar 2001 13:33:52 -0500",
with "Re: sgmltools-lite will be uploaded today.",
Adam Di Carlo <adam@onshore.com> wrote:
> I have a fixed sgmltools-2 (needs a bit of testing) -- but it's
> obsoleted by sgmltools-lite. It cleans up the old crap in the catalog
> files, to wit, in postinst:
>
> # remove nasty old circular catalog
> update-catalog --remove --super /usr/lib/sgml/catalog || true
>
> # remove old ordinary catalog in the super catalog
> update-catalog --remove --super /usr/lib/sgml/stylesheet/dsssl/sgmltools/sgmltools.cat \
> || true
>
> Should I bother uploading it?
>
> When sgmltools-2 is removed, I don't think those lines are taken out.
> We need to deal with this... Ardo, I think that first update-catalog
> command should be run in new sgml-base postinst.
>
> In sgmltools-lite, perhaps it should run the 2nd command to clean up
> old stuff in sgmltools-2, which it is conflicting / replacing, right?
Well, maybe sgmltools-2 (now this is a dummy package to upgrade for
sgmltools-lite) should have postinst to do both of them, i.e.
> # remove nasty old circular catalog
> update-catalog --remove --super /usr/lib/sgml/catalog || true
>
> # remove old ordinary catalog in the super catalog
> update-catalog --remove --super /usr/lib/sgml/stylesheet/dsssl/sgmltools/sgmltools.cat \
> || true
I'll upload the improved version of dummy package of sgmltools-2
with these command.
Regards.
--
Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>
Reply to: