James Westby <[EMAIL PROTECTED]> wrote:
> On Sun, 2007-11-25 at 16:58 +0100, Frank Küster wrote:
>> James Westby <[EMAIL PROTECTED]> wrote:
>>
>> > Package: preview-latex-style
>> > Version: 11.83-7
>> > Severity: important
>> > Tags: patch
>> >
>> > Hi,
>> >
>> > I believe this might be severity: serious, but I thought I would
>> > play it safe, and it probably doesn't actually hit that many
>> > people.
>> >
>> > The package fails to install due to mktexlsr not being present as
>> > there is a missing texlive dependency.
>>
>> No, there isn't, at least not here. Can you please show the errors that
>> you get? I just tried in a clean sid pbuilder chroot, and it configures
>> fine. This is also expected, since the postinst contains this code:
>>
>>
>
> My apologies. I am just forwarded patches, and I wasn't involved in the
> initial bug.
Ah, I see. In this case, many thanks to you for this valuable work!
> The first was to say the package failed to install, when in fact it
> failed to remove.
Still, the current Debian package doesn't have this problem - same code
in postinst:
case "${1}" in remove|disappear)
kpsewhich --version &>/dev/null && type mktexlsr &>/dev/null &&
mktexlsr >/dev/null
esac
> The second was not to give you a pointer to the bug. You can read
> it here.
>
> https://bugs.launchpad.net/ubuntu/+source/auctex/+bug/148469
So the affected package was 11.83-4, while we have 11.83-7 now (even
etch has 11.83-6, and sarge had 0.9.whatever). This latest version has
the changelog entry
* control (Build-Depends-Indep): Dropped "tetex-bin".
(auctex/Recommends): Dropped "tetex-base".
(preview-latex-style/Depends): Dropped "tetex-bin".
So it seems that the change to the prerm might have been done in this
version; but maybe it's even older. There is no changelog entry for the
introduction of the checks in prerm, and I don't know when Davide
introduced this.
> If the fix is wrong, inappropriate or unneeded then please explain why
> and I will happily report this to the correct place in Ubuntu.
If Ubuntu is updated to the latest auctex from Debian unstable, this
added dependency is not needed.
> For reference the usual approach would just be to file a bug
> using
>
> https://bugs.launchpad.net/ubuntu/+source/auctex/+filebug
>
> The idea is that this would be triaged to high priority and
> hopefully some one would fix it, certainly when the next
> merge with one of your uploads was done.
>
> Unfortunately this requires an account, which you may not
> have.
I fear I might have two, and I can only try the usual suspects when they
ask me for username and password...
Regards, Frank
--
Frank Küster
Debian Developer (teTeX/TeXLive)