Bug#584928: tetex-bin fails to configure
Il giorno lun, 07/06/2010 alle 20.40 +0200, Hilmar Preuße ha scritto:
[...]
> Seems to be a thinko in our postinst and prerm script: to assume
> there is an alternative for oxdvi configured, which is only valid for
> upgrade from older dist versions. This should hit all people *not*
> doing an dist-upgrade.
>
> What does "update-alternatives --display oxdvi.bin && echo a" and
> "update-alternatives --display oxdvi.bin || echo a" prints on that
> box?
baanlnx:~# update-alternatives --display oxdvi.bin && echo a
Nessuna alternativa per oxdvi.bin.
baanlnx:~# update-alternatives --display oxdvi.bin || echo a
Nessuna alternativa per oxdvi.bin.
a
baanlnx:~#
> Workaround: remove the lines in question from the postinst script. Is
> upgrading to TeX Live an option?
You are right. I changed the line to
update-alternatives --remove-all oxdvi.bin || true
and it worked as expected.
Bye,
Giuseppe
Reply to: