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

Bug#425781: texlive-base: Upgrade failes



On Fre, 25 Mai 2007, Frank Küster wrote:
> > Or re-instantiate all config files, ie do not delete any but
> > echo/debconf a warning to re-delete it.
> >
> > The former would have a trivial and quick implementation.
> 
> With a version check, so that it only happens once, I think it's the way
> to go.

There is already:
    case "$action" in
      configure) # not reconfigure
        if dpkg --compare-versions "$version" ge 2007; then
          return 0
        fi

so the whole stuff is *only* done for upgrades from texlive 2005. Since
we are at unstable level we can forget about anything between 2005
(currently in stable and testing) and the next version.

So in fact this *IS* enough as it is by now, do you agree?

I checked in the following code:
    if [ -f "$cfgfile.preinst-deleted" ]; then
      echo "It looks like $cfgfile has been removed."
      echo "In most cases this is a consequence of bug #420390."
      echo "We are reinstatiating this config file."
      echo "If you *really* want this to be removed, do it again,"
      echo "but beware of the consequences."
      echo ""
      #mv "$cfgfile" "$cfgfile.dpkg-new"
      rm "$cfgfile.preinst-deleted"
    fi

If someone wants to add some debconf magic (I would prefer to do it
without...), please!

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
PLEELEY (adj.)
Descriptive of a drunk person's attempt to be endearing.
			--- Douglas Adams, The Meaning of Liff



Reply to: