Re: Cleanups in 3.0
Hi,
Hilmar Preusse <hille42@web.de> wrote:
> 1. Christoph Martin said he would like to be taken out from the
> Uploaders line. This was done in 2.0.2 but not in 3.0.
Right.
> 2. tetex-bin 3.0 Depends on tetex-base, but Conflicts with tetex-base
> (<< 2.96.1). Wouldn't it be easier wo simply Dep on
> tetex-base (=> 2.96.1)?
This is not equivalent. When A Conflicts with B, it tells apt that A and
B cannot be unpacked at the same time. Therefore, if you have tetex-base
2.96.0 installed and apt is considering installing tetex-bin 3.0, in the
first case, it will:
* either upgrade tetex-base first to a version >= 2.96.1 and then
unpack tetex-bin 3.0;
* or remove tetex-base before unpacking tetex-bin 3.0 (and since this
one depends on tetex-base, the new tetex-base version will unpacked
and configured before tetex-bin is configured).
If you only put "Depends: tetex-base (>= 2.96.1)" for tetex-bin, apt
could perfectly:
1. unpack tetex-bin 3.0;
2. unpack and configure a tetex-base version that is >= 2.96.1;
3. configure tetex-bin.
which would cause dpkg to abort in step 1 if there is a file clash
between tetex-bin 3.0 and your still-unpacked tetex-base 2.96.0.
> 3. Depends line of tetex-bin:
>
> Depends: <snip> debconf (>= 0.5) | debconf-2.0, ... debconf (>= 0.5.00),
>
> The first is written into by ${misc:Depends}, the second by us
> manually. I guess the latter can be dropped.
... and probably should, since the added dependency is preventing
tetex-bin from working with only debconf-2.0 installed. Unless tetex-bin
really doesn't work with debconf-2.0, we are therefore being more
restrictive than necessary.
--
Florent
Reply to: