Solved

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

Posted on 2008-06-10
1
2,303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Suggested Solutions

Title # Comments Views Activity
awk file 6 123
Selenium docs api java index 3 94
VB.NET String Settings and Temp Folder Question 3 87
Problems moving Excel files from local drive to server 4 69
This is an explanation of a simple data model to help parse a JSON feed
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…

736 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