Bug#603068: tex-common,texlive-binaries: can't be installed together
Dear dpkg maintainers,
I have a question concerning dpkg-query, it seems that the semantics
of it has changed:
Currently, when I call
dpkg-query -W -f='${Status}' texlive-base
it returns 1 (error) if texlive-base is not installed (or going to
be installed).
This breaks installation of tex-common with texlive-binaries, but without
texlive-base.
As far as I remember in former times this was working, so is this a
recent change, and was it intended, or is this a coding error from
our side.
In principle what we are doing the in the tex-common trigger action
is to check whether texlive-base is installed, and if it is we run
some commands.
Thanks and all the best
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
SKELLOW (adj.)
Descriptive of the satisfaction experienced when looking at a really
good dry-stone wall.
--- Douglas Adams, The Meaning of Liff
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101110235106.GD30326@gamma.logic.tuwien.ac.at">h ttp://lists.debian.org/20101110235106.GD30326@gamma.logic.tuwien.ac.at
11-11-2010, 10:47 PM
Norbert Preining
Bug#603068: tex-common,texlive-binaries: can't be installed together
Sorry dpkg guys for involving you into that.
I have seen the bug report, checked the code, missed the || true I had
already added, and only afterwards realized the the bug report
was done with an ancient version of tex-common - which I also missed.
On Do, 11 Nov 2010, Sven Joachim wrote:
> You seem to have been aware of that some time ago, judging by the
> comment in tex-common's postinst script:
>
> ,----
> | # dpkg-query has two defects wrt not existing packages
> | # - it is noisy to stderr
> | # - it returns 1
> | # so shut both errors up
> | stat=$(dpkg-query -W -f='${Status}' texlive-base 2>/dev/null || true)
> `----
> The question remains WTF Holger's piuparts test was run with the ancient
> tex-common version 2.06.
Right, but this is not up to me to find out ;-)
Again, sorry for the noise, and thanks for the replies.
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
(aikamuotojen käyttö aikamatkustuksessa)
You can arrive (mayan arivan on-when) for any sitting you
like without prior (late fore-when) reservation because you
can book retrospectively, as it were when you return to
your own time. (you can have on-book haventa forewhen
presooning returningwenta retrohome.)
--- Douglas Adams, The Hitchhikers Guide to the Galaxy
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101111234747.GE5780@gamma.logic.tuwien.ac.at">ht tp://lists.debian.org/20101111234747.GE5780@gamma.logic.tuwien.ac.at
11-12-2010, 01:07 PM
Norbert Preining
Bug#603068: tex-common,texlive-binaries: can't be installed together
Hi Holger,
On Fr, 12 Nov 2010, Holger Levsen wrote:
> I'm very sorry too, what else can I say. Running piuparts constantly against
I wasn't complaining about you, more about myself and excusing
myself not to have read properly ...
Your work is much appreciated!!!
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
STEBBING (n.)
The erection you cannot conceal because you're not wearing a jacket.
--- Douglas Adams, The Meaning of Liff
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101112140756.GA7075@gamma.logic.tuwien.ac.at">ht tp://lists.debian.org/20101112140756.GA7075@gamma.logic.tuwien.ac.at