Solved

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

Posted on 2008-06-10
1
2,298 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 250 total points
ID: 21758666
Try

apt-get -s upgrade


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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
This code tracks birthdays 3 74
Auto-indent certain lines in Notepad++ 10 76
ASP/VB email question 4 35
What is linux 4.8.22? Is it the same as ubuntu 16.10 ?? 2 41
A short article about a problem I had getting the GPS LocationListener working.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

803 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