[Piuparts-devel] Bug#603068: tex-common, texlive-binaries: can't be installed together
Raphael Hertzog
hertzog at debian.org
Thu Nov 11 21:01:27 UTC 2010
Hi,
On Thu, 11 Nov 2010, Norbert Preining wrote:
> 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.
It's not a recent change AFAIK, but nowadays dpkg is removing
entries of purged packages from the status file so maybe it's more
likely to happen than before due to this.
We recently documented that behaviour in dpkg-query however.
EXIT STATUS
0 The requested query was successfully performed.
1 Problems were encountered while parsing the command line or
performing the query, including no file or package being found
(except for --control-path).
> 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.
You should consider an error like an indication that the package
is not installed.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer ◈ [Flattr=20693]
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
More information about the Piuparts-devel
mailing list