Re: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Jonathan Nieder
Guillem Jover wrote: > The API is preserved as long as no multiarch is enabled. With > multiarch enabled any sane behaviour implies an interface change. > Outputting multiple paragraphs per package set would imply you need > to know which paragraph belongs to which package instance, it would > als

Re: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Guillem Jover
On Tue, 2012-04-03 at 20:29:46 +0200, Bill Allombert wrote: > On Tue, Apr 03, 2012 at 03:27:47PM +, Thorsten Glaser wrote: > > From: Cron Daemon > > To: r...@zigo.mirbsd.org > > Date: Tue, 3 Apr 2012 06:25:41 GMT > > Subject: Cron test -x /usr/sbin/anacron || ( cd / && run-parts > > --rep

Re: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Bill Allombert
On Wed, Apr 04, 2012 at 01:14:34AM +0200, Raphael Hertzog wrote: > On Tue, 03 Apr 2012, Jonathan Nieder wrote: > > Forgive my ignorance: could you explain the rationale for the choice > > that was made for the meaning of "dpkg-query -L " when > > is multiarch:same? > > (Unless of course you wante

Re: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Raphael Hertzog
On Tue, 03 Apr 2012, Jonathan Nieder wrote: > Forgive my ignorance: could you explain the rationale for the choice > that was made for the meaning of "dpkg-query -L " when > is multiarch:same? The choice was not made for "dpkg -L" only, it was made in general for all the package names that dpkg t

Re: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Jonathan Nieder
(dropping cc to bug#660712) Russ Allbery wrote: > (I didn't reply because I > didn't know enough about the internal data model of dpkg to be able to > discuss it meaningfully.) Do you mean on disk or in memory? If you mean on disk, everything is in /va

Re: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Russ Allbery
Jonathan Nieder writes: > I ask because Bill's request makes a lot of sense in light of the > explanation Russ gave on debian-devel of multiarch, where there is one > package being installed and the list of architectures is just a detail > of how it is installed. It's important to note that Guil

Re: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Jonathan Nieder
Raphael Hertzog wrote: > It's not going to happen. This interface choice has been discussed at > length. I don't want to rehash the discussion. Forgive my ignorance: could you explain the rationale for the choice that was made for the meaning of "dpkg-query -L " when is multiarch:same? If the e

Re: [Popcon-developers] Bug#660712: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Raphael Hertzog
Hi, On Tue, 03 Apr 2012, Bill Allombert wrote: > > /etc/cron.daily/popularity-contest: > > dpkg-query: error: --listfiles needs a valid package name but > > 'gcc-4.7-base' is not: ambiguous package name 'gcc-4.7-base' with more than > > one installed instance > > I think dpkg should just report

Re: [Popcon-developers] Bug#660712: popularity-contest broken with Multi-Arsch

2012-04-03 Thread Bill Allombert
On Tue, Apr 03, 2012 at 03:27:47PM +, Thorsten Glaser wrote: > ping? > -- Forwarded message -- > From: Cron Daemon > Message-ID: <201204030625.q336pfbx002...@zigo.mirbsd.org> > X-Spam-Status: No, hits=0.00 required=0.90 > To: r...@zigo.mirbsd.org > Date: Tue, 3 Apr 2012