I was wondering how to list the package updates with apt-get and Debian.
With Redhat, I use "yum list updates" and get something like:
377 packages excluded due to repository priority protections
gnutls.x86_64 1.4.1-3.el5_1 updates
kernel.x86_64 2.6.18-53.1.21.el5 updates
kernel-devel.x86_64 2.6.18-53.1.21.el5 updates
kernel-headers.x86_64 2.6.18-53.1.21.el5 updates
nagios.x86_64 2.12-1.el5.rf rpmforge
Is there a way to do that with apt-get? I want to use it in a script so using apt-get upgrade does not work because it requires a response.