Re: Bug#867104: wanna-build issue with src:perl versioned Provides
- To: Adrian Bunk <bunk@debian.org>
- Cc: Ralf Treinen <treinen@free.fr>, 867104@bugs.debian.org, Niko Tyni <ntyni@debian.org>, Johannes Schauer <josch@debian.org>, debian-dpkg@lists.debian.org
- Subject: Re: Bug#867104: wanna-build issue with src:perl versioned Provides
- From: Sven Joachim <svenjoac@gmx.de>
- Date: Thu, 06 Jul 2017 16:39:44 +0200
- Message-id: <[🔎] 87van5mxxr.fsf@turtle.gmx.de>
- Mail-followup-to: Adrian Bunk <bunk@debian.org>, Ralf Treinen <treinen@free.fr>, 867104@bugs.debian.org, Niko Tyni <ntyni@debian.org>, Johannes Schauer <josch@debian.org>, debian-dpkg@lists.debian.org
- In-reply-to: <[🔎] 20170706090244.6vp3oox3r6qc4y6r@localhost> (Adrian Bunk's message of "Thu, 6 Jul 2017 12:02:44 +0300")
- References: <20170704065108.k2krf7fkggozi7xt@seneca.home.org> <149915430639.4990.3364741325767773815@localhost> <20170704190937.plgbufdenc3fdseu@seneca.home.org> <20170704192935.cwxp7235nemlhtrt@estella.local.invalid> <20170704201807.oz5vtfwt2immw4pj@seneca.home.org> <[🔎] 20170704203037.lobctuws764w3qcr@estella.local.invalid> <[🔎] 20170705010110.5fku6g7mrmzbub7v@gaara.hadrons.org> <[🔎] 20170705193005.amyydiy6uytvl262@seneca.home.org> <[🔎] 20170705200252.63ti3adjt3ngudpe@localhost> <[🔎] 20170706022604.xyz3rylqxfgljo6l@gaara.hadrons.org> <[🔎] 20170706090244.6vp3oox3r6qc4y6r@localhost>
On 2017-07-06 12:02 +0300, Adrian Bunk wrote:
> On Thu, Jul 06, 2017 at 04:26:04AM +0200, Guillem Jover wrote:
>> On Wed, 2017-07-05 at 23:02:52 +0300, Adrian Bunk wrote:
>>...
>> > 6)
>> >
>> > Package: a
>> > Depends: p (>= 1), p (<< 2)
>> >
>> > Package: b
>> > Provides: p (=1)
>> >
>> > Package: c
>> > Provides: p (=2)
>> >
>> > When a and b are installed, can c be installed without removing a?
>>
>> Yes, because b is enough to satisfy the dependency. This is not a
>> Conflicts/Breaks field after all.
>>...
>
> But it is being used for that purpose in *many* packages.
>
> As an example, there are ~ 300 Python3 packages that have
> "python3 (<< 3.7), python3 (>= 3.5~)" dependencies autogenerated using:
>
> Depends: ${python3:Depends}
>
> If this is considered a bug, then what is required is that dh-python adds
> ${python3:Breaks}, and then each of these packages has to be changed to:
>
> Depends: ${python3:Depends}
> Breaks: ${python3:Breaks}
This will only necessary when (or rather if) some contender for the
python3 package comes along that is co-installable with the real python3
package and has a legitimate reason to "Provides: python3".
Which is not totally inconceivable, but seems unlikely at the moment.
Cheers,
Sven
Reply to: