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

Bug#584928: tetex-bin fails to configure



On 07.06.10 Giuseppe Sacco (giuseppe@eppesuigoccas.homedns.org) wrote:

Hi,

> Package: tetex-bin
> Version: 3.0-31
> Severity: important
> 
> Today I upgraded from Debian etch security repository a machine and
> found this problem:
> 
> baanlnx:/baan/etc# LC_ALL=C apt-get -f install
<snip>
> Setting up tetex-bin (3.0-31) ...
> No alternatives for oxdvi.bin.
> dpkg: error processing tetex-bin (--configure):
<snip>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> The failing statement is "update-alternatives --remove-all
> oxdvi.bin" that fails with message "No alternatives for oxdvi.bin."
> 
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?

Workaround: remove the lines in question from the postinst script. Is
upgrading to TeX Live an option?

H.
-- 
sigmentation fault

Attachment: signature.asc
Description: Digital signature


Reply to: