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

Bug#425781: texlive-base: Upgrade failes



Dear Kohda-san,

nice to hear you again, it was quite some time we didn't get into
contact!

On Fre, 25 Mai 2007, Atsuhito Kohda wrote:
> > This bug is solved now, but for those who already did purge, the only
> > solution is to reinstall the texlive packages (in particular
> > texlive-base and texlive-base-bin, but that might not be sufficient)
> > with the dpkg option --force-confmiss.
> 
> So I'd like to know how you plan to handle this bug.

Good question. What about adding a bit of code to the
common.functions.postinst. Currently:
    if [ -f "$cfgfile.preinst-deleted" ]; then
      echo "Preserving removal of $cfgfile."
      mv "$cfgfile" "$cfgfile.dpkg-new"
      rm "$cfgfile.preinst-deleted"
    fi

change it to
    if [ -f "$cfgfile.preinst-deleted" ]; then
      echo "It looks like $cfgfile has been removed."
      echo "If you didn't do this it could be bug #420390."
      echo "If you had tetex-base 3.0.dfsg.3-5 installed and purged it,"
      echo "this is the case."
      echo "Please reinstatiate $cfgfile from $cfgfile.new"
      echo "Preserving removal of $cfgfile."
      mv "$cfgfile" "$cfgfile.dpkg-new"
      rm "$cfgfile.preinst-deleted"
    fi

(Wording could be changed).

Would this be a good option?

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
-------------------------------------------------------------------------------
CRAIL (n. mineral)
Crail is a common kind of rock or gravel found widely across the
British Isles. Each individual stone (due to an as yet undiscovered
gravitational property) is charged with 'negative buoyancy'. This
means that no matter how much crail you remove from the garden, more
of it will rise to the surface. Crail is much employed by the Royal
Navy for making the paperweights and ashtrays used inside submarines.
			--- Douglas Adams, The Meaning of Liff



Reply to: