Bug#531581: Bug#530832: fails to remove: attempted use of update-texmf-config in postrm.
Hi Frank, hi all,
On Do, 28 Mai 2009, lamont@debian.org wrote:
> > /var/lib/dpkg/info/texlive-base.postrm: line 124: update-texmf-config: command not found
On Do, 28 Mai 2009, Frank Küster wrote:
> This is really strange, but given that we didn't make any changes to
> texlive in the last weeks, I don't see how it's related to our packages.
I am not sure. It might be that the packages actually have a problem:
In tex-common postrm-texlsr part we do
case "$1" in
remove|disappear)
dhit_check_run_without_errors -silent update-updmap --quiet
dhit_check_run_without_errors -silent update-language
dhit_check_run_without_errors -silent update-fmtutil
but further down in the part from postrm-tex we call:
case "$1" in
remove|disappear)
for i in allformats map ; do
if [ "$i" = map ] ; then
update-texmf-config updmap
which assumes that tex-common is installed and configured. Isn't it the
reason that wecalled update-updmap etc as above with the
dhit_check_run_without_errors because exactely of that problem?
I still do not understand why this part is called at all in the above
case, since I would expect texlive-base to be in removed-but-not-purged
state or in purged stated, but maybe it is in some broken state and will
be removed again.
Well, I guess we have to call update-texmf-config with dhit_check...,
too and rebuild the texlive packages (all of them).
On Di, 02 Jun 2009, LaMont Jones wrote:
> Removing tetex-bin ...
> Removing tex-common ...
> Purging configuration files for tex-common ...
> Removing texlive ...
> Removing texlive-base ...
> Running 'fmtutil-sys --all'.
> This may take some time...
> fmtutil-sys --all failed. Output has been stored in
> /tmp/checkrun.XX06v8m4
> If tex-common is not configured you can ignore this error message!
> Otherwise, please include this file if you report a bug.
>
> /var/lib/dpkg/info/texlive-base.postrm: line 124: update-texmf-config:
> command not found
Strange that texlive-baseis removed *AFTER* tex-common on which it
depends is removed and purged. Hmm, I guess I miss something here.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Vienna University of Technology
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
BRADWORTHY
One who is skilled in the art of naming loaves.
--- Douglas Adams, The Meaning of Liff
Reply to: