Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2309
  • Last Modified:

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.
0
Ryman1
Asked:
Ryman1
1 Solution
 
http:// thevpn.guruCommented:
Try

apt-get -s upgrade


it will simulate an upgrade...there might be better solutions around
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now