On Tue 16 Oct 2012 at 12:06:17 +0100, Lisi wrote:

> On Tuesday 16 October 2012 11:55:55 Brian wrote:
> >
> > Edit your /etc/apt/sources.list to have only the line
> >
> >    deb <your_mirror> squeeze non-free
> >
> > Then
> >
> >    apt-get update
> >
> > and look at the output.
> >
> > Add "contrib" to the line above and repeat, Do the same with "main" added.
> > Do sums.
> 
> Thanks!

Without the faffing about with getting a root prompt and using an
editor:

cat /var/lib/dpkg/available | grep '^Section:' | wc -l
cat /var/lib/dpkg/available | grep '^Section: non-free' | wc -l
cat /var/lib/dpkg/available | grep '^Section: contrib' | wc -l

28,795, 403 and 187 respectively for me.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121016125921.GH4530@desktop

Reply via email to