[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How many packages in Sid



On Thu, 5 Sep 2013 22:06:46 +0100,
Brian<ad44@cityscape.co.uk> wrote:

>On Thu 05 Sep 2013 at 22:16:39 +0200, sp113438 wrote:
>
>> How do I find out the number of packages currently in Sid?
>> Google did not help me.
>
>An example:
>
>  wget
> ftp://ftp.debian.org/debian/dists/sid/main/binary-i386/Packages.gz
>
>  gunzip Packages.gz
>
>  grep ^Package: Packages | wc -l
>
>

Nice!
For fun I put together the attached perl script which can check this in
a nice way - it does need some work though, it checks i386 only as it
is, but can easily be modified to check other architectures.

Also, I have removed most output, it downloads the gz, which can take
some time if you don't have broadband.

-- Andreas Rönnquist
mailinglists@gusnan.se
gusnan@gusnan.se

Attachment: count_packages
Description: Binary data


Reply to: