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

Re: dvips35.map disappearing from ls-R after force-purge-then-reinstall of tex-common



Frank Küster <frank@debian.org> wrote:

>> Why does dvips35.map disappear from the ls-R db after
>> removing (OK, with --force-depends) and reinstalling tex-common?
>
> Because of this in tex-common's postrm.in:
>
>   remove)
>     # remove TEXMFSYSVARDIR: All files and dirs are created either by
>     # us, or by packages depending on us.
>     rm -rf $TEXMFSYSVARDIR

Ah, thanks.

> (As a side note, shouldn't this be "rm -rf $TEXMFSYSVARDIR/*"
> instead?)

Why? This would not let $TEXMFSYSVARDIR (empty directory, or directory
containing only dotfiles/dotdirs) hanging around.

> I think it is good to take care that no old generated files survive
> after tex-common is removed, this should generally make upgrades and
> installing-again easier.  However, it seems we have to take more care.

Hmm, I'm not sure. Now that I understand what is happening, I think
there is no bug (the problem can't be triggered without using
--force-depends).

In order to go through this line, we have to remove tex-common. This
can't be done without first deconfiguring tetex-base. The latter can
only be configured again *after* tex-common (because of the Depends) and
the ls-R file will be updated properly when this is done.

So, IMHO, tex-common is ready for upload.

-- 
Florent



Reply to: