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

Bug#264241: Some corrections regardings statements in this bug



On Sat, Aug 14, 2004 at 12:25:49PM +0200, Hilmar Preusse wrote:
>...
> Hi Adrian,

Hi Hilmar,

> > > Maybe I'm dumb. If you do the experiment: Install tetex-base, -bin,
> > > -extra and then purge tetex-extra he'll call mktexlsr. Same
> > > happens on remove.
> > 
> > If you purge an installed package, it's first removed and then purged.
> > 
> I guess that was my failure.
> 
> > mktexlsr is called during the remove phase, but not during the
> > purge phase.
> > Look at the following (with "set -x" in the postrm script):
> > 
> > <--  snip  -->
> > 
> > # dpkg --purge tetex-extra
> > (Reading database ... 136930 files and directories currently installed.)
> > Removing tetex-extra ...
> > + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
> > + TETEXDIR=
> > + TEXMF=
> > + TEXCONFIG=/usr/bin/texconfig
> > + BLUESKY_UCF=config.ams config.cm config.amz config.cmz
> <snip>
> > + command mktexlsr
> > + mktexlsr
> > mktexlsr: Updating /usr/local/lib/texmf/ls-R... 
> > mktexlsr: Updating /var/lib/texmf/ls-R... 
> > mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
> > mktexlsr: Updating /var/cache/fonts/ls-R... 
> > mktexlsr: Done.
> > + '[' xpurge = xremove ']'
> > 
> And this is the point, where he starts purging, right?
>...

no.

I'm an idiot.

Ryan is right.

Purging starts after the "Purging configuration files for tetex-extra".

The mktexlsr call is outside of the check whether it's the removal 
phase (I've first looked at 2.0.2-9, where it's inside the check).

> Regards,
>   Hilmar

Sorry for the confusion
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Reply to: