Norbert Preining <[email protected]> wrote: > Hi Frank, hi all, > > On Do, 28 Mai 2009, [email protected] 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?
No, I don't think so. I think the reason for dhit_check_run_without_errors is although all declared dependency relations are fulfilled, we got problems during the upgrade of libkpathsea. I'm not sure why this couldn't be solved by adding a "Depends: libkpathsea4" to tex-common - but that's how we did it. We need to look that up in the archives. Anyway, if texlive-$foo depends on tex-common, then it may assume that tex-common in its postinst unless it's purged: ,---- Policy 7.2 | The Depends field should also be used if the postinst, prerm or postrm | scripts require the package to be present in order to run. Note, | however, that the postrm cannot rely on any non-essential packages to | be present during the purge phase. `---- > Strange that texlive-baseis removed *AFTER* tex-common on which it > depends is removed and purged. Hmm, I guess I miss something here. See my other mail to the bug. Regards, Frank -- Dr. Frank Küster Debian Developer (TeXLive) VCD Aschaffenburg-Miltenberg, ADFC Miltenberg B90/Grüne KV Miltenberg -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

