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

Re: Installing Stretch/Testing with absolute minimal bandwith useage



On Thu, Jun 15, 2017 at 03:05:36PM +0100, Brian wrote:
> On Thu 15 Jun 2017 at 06:26:55 -0500, Richard Owlett wrote:
> > A mechanics question, "How to count the number of installed packages?"
> > I'd like to be able to reproducibly count installed packages.
> 
> dpkg -l | grep ^ii | wc -l

That will miss packages that are held ("hi").

dpkg -l | grep -c ^.i

would be better.


Reply to: