Ryman1
asked on
List Package Updates with apt-get - How can I list them?
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
Updated Packages
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.
With Redhat, I use "yum list updates" and get something like:
377 packages excluded due to repository priority protections
Updated Packages
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.