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

Bug#400478: xterm: broken postinst handling of missing manpage alternative

On Mon, Jan  1, 2007 at 21:58:47 -0800, Jamey Sharp wrote:

> The test manpage notes that "Except for -h and -L, all FILE-related
> tests dereference symbolic links."  Changing the test on line 40 of the
> postinst from -e to -L fixes this bug and allows the postinst to
> complete.
This bug was reported against 222-2, which as far as I can see uses test
-L.  Not sure why I changed it to -e in 222-1etch1, this may need to be
fixed indeed.  However, I'd like to understand why the 222-2 postinst
failed in this case before I do that.

> However, this postinst code doesn't actually seem to address the issue
> it intended to.  Once repaired as above, it ensures the existence of the
> symlink /usr/share/man/man1/x-terminal-emulator.1.gz ->
> /etc/alternatives/x-terminal-emulator.1.gz, but the latter still does
> not exist.  Changing the alternative to something else and back repairs
> it; another fix might work as well.
I think I tested various scenarios for the upgrade, and never
encountered a case where /etc/alternatives/x-terminal-emulator.1.gz was
missing after the upgrade.  Can you tell me which steps are required to
reproduce this?


Attachment: signature.asc
Description: Digital signature

Reply to: