Dear Helmut,

finally a reasonable mail, thanks.

On Di, 19 Jun 2012, Helmut Grohne wrote:
> Right, I didn't see this coming. I am sorry for the pain this has caused
> to you, Norbert and others. In summary every package, that uses

No pain involved, I am DD, I can fix it myself, but it is a serious (RC)
bug since ...

> dh_installcatalogs and is in state "rc", causes breakage to sgml related
> tools. These packages can be further subdivided into packages built with

Yes, and that means upgrades from stable will be severely broken.

> Another option that comes to my mind is to change update-catalog
> --update-super in a possibly confusing way. When it stumbles across a
> file called $package.cat and finds that a package with the same name
> exists and is in state "rc", it renames the file to $package.cat.old.
> This *might* solve all the issues. In addition all (old and new) postrm
> purge scripts will remove $package.cat.old, so this will not litter
> /etc.

I don't know the internals, but I know what *we* do in the TeX world.
Many packages ship configuration snippets in /etc/texmf/updmap.d,
and these snippets are combined to one config file (via a trigger
mechanism in tex-common). Now, including the snippets from packages
in the rc state is a no-no-no-go, since it breaks the system. So we
made the packages ship another file under /var that is checked by
the update script, so only those snippets are included where the
respective packages are installed.

In your case with historic left overs there are further problems. In this
case I don't see much way but:
- ship for each of the affected *old* packages the md5sum of the resepctive
  config file
- check at update (triggered I guess) of the cataolgue time whether the
  package is installed (and NO guessing by file name!, you can ship
  an array  "old package name -> config file shipped")
- if the package is in rc state and the md5sum agrees with the one 
  as originally shipped, remove it
- if the package is in rc state and the md5sum disagrees, move/disable
  it and warn the admin

These are more or less the steps we had to do with old config files
in /etc/texmf several times, too.

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
------------------------------------------------------------------------
PITSLIGO (n.)
Part of traditional mating rite. During the first hot day of spring,
all the men in the tube start giving up their seats to ladies and
staphanging. The purpose of pitsligo is for them to demonstrate their
manhood by displaying the wet patches under their arms.
                        --- 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