Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

List Package Updates with apt-get - How can I list them?

Posted on 2008-06-10
1
Medium Priority
?
2,308 Views
Last Modified: 2013-12-06
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
Comment
Question by:Ryman1
1 Comment
 
LVL 19

Accepted Solution

by:
http:// thevpn.guru earned 1000 total points
ID: 21758666
Try

apt-get -s upgrade


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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Progress
Introduction to Processes

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question