[pkg-php-pear] Bug#774815: php-monolog: Versionned Provides field

Vincent Danjean vdanjean at debian.org
Thu Jan 8 00:40:49 UTC 2015

On 08/01/2015 00:44, David Prévot wrote:
> On Wed, Jan 07, 2015 at 10:23:24PM +0100, Vincent Danjean wrote:
>> Package: php-monolog
>> Version: 1.12.0-1
>> Severity: serious
>> Justification: Policy 7.1
>>   Your package in experimental declare a versionned Provides field.
> Indeed, as supported by apt since 1.0.7 (#758153) and dpkg since
> 1.17.11.

I'm very glad to learn that this feature seems supported by
apt and dpkg now. I did not know.

>> It is wrong
> Not really, but the lack of support in (soon to be old)stable makes it
> annoying.

It also against the current policy:
>From https://www.debian.org/doc/debian-policy/ch-relationships.html:
> All of the fields except for Provides may restrict their applicability to
> particular versions of each named package.

So a bug should probably be filled against the policy (and then against
lintian to remove or fix the current check).

>>   This bug is present for one week. Can you correct it quickly? The reason
>> is that apt-get complain about it:
> There are at least three other options I can think of:
> - not using an experimental repository in a stable environment;
> - using a more recent apt on machine where an experimental repository is
>   needed;

Note that using experimental (ie installing packages from experimental)
is not required to suffer from the problem. Just having experimental
in sources.list is enough.

> - make apt (or apticron) ignore such error and get this change accepted
>   in the next stable update.

As the relation ship was not an error as I was thinking but
the use of a new future feature, I will find local workaround.

> The third possibility may make sense in the near future, so we can start
> benefiting of this feature early in Strech development, without people
> using Wheezy being bored by the same kind of error messages if they have
> an unstable or testing repository in their sources.list
>>   I agree that, per se, this bug is a very little bug for php-monolog
> Indeed, keeping it open if you wish to reassign it to apt.
> (“bts reopen 758153 , reassign 774815 apt , forcemerge 758153 774815 , \
>   affects 758153 php-monolog” could be another option.)

I do not have enough time today. If nobody does it before, I will try
to do it in a few days (and also opening bugs against policy and lintian)


> Regards
> David

Vincent Danjean       GPG key ID 0xD17897FA         vdanjean at debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5  CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main

More information about the pkg-php-pear mailing list