<div dir="ltr"><div><div><div>[Bill Allombert]<br><br></div>Thanks, I will add this on script.<br>I updated the script and now its consuming 3GB of memory, on 1 hour in my PC.<br>I will to make the updates that Terceiro and Petter spoke, and remove 'apt-cache pkgnames' and use this 'mirrorbase', after these changes I will udpdate the patch.<br><br></div><div>Att,<br></div><div>Luciano Prestes<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-23 8:34 GMT-03:00 Bill Allombert <span dir="ltr"><<a href="mailto:ballombe@debian.org" target="_blank">ballombe@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Jun 21, 2016 at 10:55:54AM -0300, Luciano Prestes wrote:<br>
</span><span class="">> [Petter Reinholdtsen]<br>
><br>
> I update the patch, and test on Debian wheezy.<br>
> Following your advice the script can be run only with the popcon-entries<br>
> path like argument.<br>
> Example: create_popcon_clusters.py [popcon-entries_path]<br>
><br>
> The patch is on the attachment.<br>
<br>
</span>Your patch is still using 'apt-cache pkgnames'.<br>
I recommend not to rely on the configuration of apt on the local system<br>
but instead to use a mirror, as popcon.py does:<br>
<span class=""><br>
mirrorbase = "/srv/mirrors/debian"<br>
for d in glob.glob('%s/dists/stable/*/binary-i386/Packages.gz' %<br>
mirrorbase):<br>
read_depends(d)<br>
for d in glob.glob('%s/dists/unstable/*/binary-i386/Packages.gz' %<br>
mirrorbase):<br>
read_depends(d)<br>
<br>
Ths way you get both the packages in stable and in unstable<br>
</span>independently of the local machine configuration.<br>
<br>
Cheers,<br>
Bill.<br>
</blockquote></div><br></div>