Solved

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

Posted on 2008-06-10
1
2,295 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
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.
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now