clone 604217 -1
retitle -1 axiom-tex should depends on texlive-binaries
severity -1 normal
thanks


Hi!

* Lucas Nussbaum <[email protected]> [101121 11:00]:

> > -- Purging package: FAILED
> > (Reading database ... 6495 files and directories currently installed.)
> > Removing axiom-tex ...
> > Purging configuration files for axiom-tex ...
> > /var/lib/dpkg/info/axiom-tex.postrm: 9: texhash: not found
> > dpkg: error processing axiom-tex (--purge):
> > subprocess installed post-removal script returned error exit status 127
> > Errors were encountered while processing:
> > axiom-tex

Looking through the list of RC bugs I stumbled of this.
axiom-tex.postrm looks like this:

if [ "$1" = "remove" ] || [ "$1" = "purge" ] ; then
        texhash
fi

The cause of the problem is the purge part, as the dependencies are not
avaiable.  I think the bug can be solved by removing the purge part
entirely, as texhash has already been called during the removal of the
package.  I did some tests, and it seems to work for me that way.

Furthermore, axiom-tex uses texhash but doesn't directly depend on the
package containing it, which could cause problems, should the indirect
dependency chain break.  Therefore cloning this bug.


Best Regards,
  Alexander



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to