Debian Bug report logs - #774815
php-monolog: Versionned Provides field

version graph

Package: apt; Maintainer for apt is APT Development Team <deity@lists.debian.org>; Source for apt is src:apt (PTS, buildd, popcon).

Affects: php-monolog

Reported by: Vincent Danjean <vdanjean@debian.org>

Date: Wed, 7 Jan 2015 21:27:02 UTC

Severity: wishlist

Merged with 758153

Found in version apt/1.0.6

Fixed in version apt/1.0.7

Done: Michael Vogt <mvo@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>:
Bug#774815; Package php-monolog. (Wed, 07 Jan 2015 21:27:07 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Danjean <vdanjean@debian.org>:
New Bug report received and forwarded. Copy sent to Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>. (Wed, 07 Jan 2015 21:27:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vincent Danjean <vdanjean@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php-monolog: Versionned Provides field
Date: Wed, 07 Jan 2015 22:23:24 +0100
Package: php-monolog
Version: 1.12.0-1
Severity: serious
Justification: Policy 7.1

  Hi,

  Your package in experimental declare a versionned Provides field.
It is wrong, and this has been catched by lintian:
https://lintian.debian.org/maintainer/pkg-php-pear@lists.alioth.debian.org.html#php-monolog
https://lintian.debian.org/tags/versioned-provides.html

  This bug is present for one week. Can you correct it quickly? The reason
is that apt-get complain about it:
# apt-get update
[...]
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.
#

  So, for one week, for each machine where I use apticron with the
experimental repo listed in my sources, I get a mail per day about this error.

  I agree that, per se, this bug is a very little bug for php-monolog (ie no
local consequences). But, as it is catched by apt-get and leads to spurious
output, it has consequences on other unrelated software (especially apticron in
my case). So I would be very pleased if you can fix it quickly.

  Regards,
    Vincent

-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel

Kernel: Linux 3.18.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>:
Bug#774815; Package php-monolog. (Wed, 07 Jan 2015 23:48:07 GMT) (full text, mbox, link).


Acknowledgement sent to David Prévot <taffit@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>. (Wed, 07 Jan 2015 23:48:07 GMT) (full text, mbox, link).


Message #10 received at 774815@bugs.debian.org (full text, mbox, reply):

From: David Prévot <taffit@debian.org>
To: Vincent Danjean <vdanjean@debian.org>, 774815@bugs.debian.org
Subject: Re: Bug#774815: php-monolog: Versionned Provides field
Date: Wed, 7 Jan 2015 19:44:32 -0400
[Message part 1 (text/plain, inline)]
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.

> It is wrong

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

>   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;
- make apt (or apticron) ignore such error and get this change accepted
  in the next stable update.

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.)

Regards

David
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>:
Bug#774815; Package php-monolog. (Thu, 08 Jan 2015 00:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Danjean <vdanjean@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>. (Thu, 08 Jan 2015 00:45:05 GMT) (full text, mbox, link).


Message #15 received at 774815@bugs.debian.org (full text, mbox, reply):

From: Vincent Danjean <vdanjean@debian.org>
To: 774815@bugs.debian.org
Subject: Re: Bug#774815: php-monolog: Versionned Provides field
Date: Thu, 08 Jan 2015 01:40:49 +0100
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,
    Vincent

> Regards
> 
> David
> 


-- 
Vincent Danjean       GPG key ID 0xD17897FA         vdanjean@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




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>:
Bug#774815; Package php-monolog. (Fri, 13 Mar 2015 17:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to David Prévot <taffit@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>. (Fri, 13 Mar 2015 17:57:04 GMT) (full text, mbox, link).


Message #20 received at 774815@bugs.debian.org (full text, mbox, reply):

From: David Prévot <taffit@debian.org>
To: Vincent Danjean <vdanjean@debian.org>, 774815@bugs.debian.org
Subject: Re: Bug#774815: php-monolog: Versionned Provides field
Date: Fri, 13 Mar 2015 13:54:41 -0400
[Message part 1 (text/plain, inline)]
Control: affects 761219 php-monolog
Control: reopen 758153
Control: reassign -1 apt
Control: forcemerge 758153 -1
Control: affects 758153 php-monolog

On Thu, Jan 08, 2015 at 01:40:49AM +0100, Vincent Danjean wrote:
> On 08/01/2015 00:44, David Prévot wrote:
> > On Wed, Jan 07, 2015 at 10:23:24PM +0100, Vincent Danjean wrote:

> >>   Your package in experimental declare a versionned Provides field.

> So a bug should probably be filled against the policy

There is #761219 already, feel free improve the proposed patch or second
it.

Regards

David
[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package 'php-monolog' to 'apt'. Request was from David Prévot <taffit@debian.org> to 774815-submit@bugs.debian.org. (Fri, 13 Mar 2015 17:57:05 GMT) (full text, mbox, link).


No longer marked as found in versions php-monolog/1.12.0-1. Request was from David Prévot <taffit@debian.org> to 774815-submit@bugs.debian.org. (Fri, 13 Mar 2015 17:57:06 GMT) (full text, mbox, link).


Severity set to 'wishlist' from 'serious' Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Fri, 13 Mar 2015 18:03:09 GMT) (full text, mbox, link).


Marked Bug as done Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Fri, 13 Mar 2015 18:03:10 GMT) (full text, mbox, link).


Notification sent to Vincent Danjean <vdanjean@debian.org>:
Bug acknowledged by developer. (Fri, 13 Mar 2015 18:03:12 GMT) (full text, mbox, link).


Marked as fixed in versions apt/1.0.7. Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Fri, 13 Mar 2015 18:03:12 GMT) (full text, mbox, link).


Marked as found in versions apt/1.0.6. Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Fri, 13 Mar 2015 18:03:13 GMT) (full text, mbox, link).


Merged 758153 774815 Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Fri, 13 Mar 2015 18:03:14 GMT) (full text, mbox, link).


Added indication that 774815 affects php-monolog Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Fri, 13 Mar 2015 18:03:16 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 11 Apr 2015 07:26:24 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 4 08:05:36 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.