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

Bug#197579: tetex-base: on purge, this pkg removes conffiles from other packages



On 21.06.03 Atsuhito Kohda (kohda@pm.tokushima-u.ac.jp) wrote:
> From: Hilmar Preusse <hille42@web.de>
> Subject: Bug#197579: tetex-base: on purge, this pkg removes conffiles from other packages
> Date: Tue, 17 Jun 2003 00:29:37 +0200

Hi,

> > OK, I see. So during purging of tetex-base we must remove only
> > the files, which might have been created during postin. The
> > following patch might do this.
> 
> For clarification.  Did you refer to 2.0.2-4? In 2.0.2-4.1,
> generated files are in /var/lib/texmf/web2c so 
> "rm -rf /var/lib/texmf/web2c" is enough to remove them 
> and this line should be in tetex-bin.postrm, I guess.
> 
*grrrmbl* Must have missed that change. I never had 2.0.2-4 here, as
it was super seeded, before I could do a download.

> ("rm -rf /var/lib/texmf" in tetx-base.postrm is to remove
> ls-R etc. so it is another story, IMHO)
> 
Yes, I guess it's better to split the removing of ls-R off from the
purging of tetex-bin, as tetex-base might be kept and needs a working
ls-R.

> So, you mean
> 
> >  if [ x"$1" = xpurge ] ; then
> > -  rm -f ${TEXMFC}* ${FMTCNF}*
> > +  rm -f ${TEXMFC}* ${FMTCNF}* ${LDAT}*
> >    rm -rf ${TEXMFD}
> >    rm -rf ${FMTD}
> 
>  -  rm -rf ${TEXMFD}
>  -  rm -rf ${FMTD}
> 
Exactly! Sorry, forgot to expand the patch for these 2 lines, just
mentioned it in the text.

> and should add (as I explained above),
> 
>  + rm -rf /var/lib/texmf/web2c
> 
> Or, does this also do something harmful?
> 
So, what do we have in /var/lib/texmf/web2c:
- some files belonging to tetex-bin
- some generated files (by tetex-bin, jadetex etc.) but they have to
  be regenerated during reinstallation of these packages.
- nothing the user should touch.
So, should be fine.

HTH,
  H. 
-- 
sigmentation fault



Reply to: