How does one get a count of how many packages on my system need to be upgraded?

This works:

$ apt-get update >& /dev/null && apt-get -s upgrade | grep -o
'^[0-9].*upgraded,'

Was just wondering if there is a more simple way.  The -u option looks
like what I want, but didn't seem to do anything different from
running apt-get without it.

Regards,
- Robert

-- 
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug

Reply via email to