Bug#851136: dh-make-perl: docs of where available modules -> debs found

gregor herrmann gregoa at debian.org
Wed Jan 18 18:14:43 UTC 2017


On Wed, 18 Jan 2017 11:04:52 +1100, Kevin Ryde wrote:

> > 2) DPKG::Parse::Available reading the /var/lib/dpkg/available file
> >    which doesn't get updated anymore (?).
> I thought dselect, but it didn't work for me.  Due to my setups or no
> downloads I imagine.  I hold back a few packages too so wouldn't want it
> running amok. :-)

/var/lib/dpkg/available isn't updated for me either, unless I do some
magic manually.
 
> >    I'm wondering if using DPKG::Parse::Status which reads
> >    /var/lib/dpkg/status would make sense.  This then only returns
> >    installed packages in my understanding but maybe that was the idea
> >    of this change?  [0]
> I had a suspicion apt-file now looks at installed packages too even if
> you don't have the dist contents files (which I still usually don't due
> to size).  

That may or may not be the the case but dh-make-perl doesn't call the
apt-file binary, it parses the Contents files (and caches them).

> I think I had a wishlist previously that dh-make-perl would
> look at locally installed packages, maybe now it does, or mostly.

That was the idea of Andy's patch with DPKG::Parse::Available, IIRC.
But it looks like it there's an issue here.
 
> In either case the docs could say whether currently installed packages
> are considered.

Ack, but for that we first need to find out if this actually happens
and works :) 


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Ry Cooder: Tattler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170118/a091aa05/attachment.sig>


More information about the pkg-perl-maintainers mailing list