LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-03-2009, 04:26 PM   #1
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Rep: Reputation: 30
Need Command To Show Newest Kernel Available


I have often wanted to find out if there is a newer version of a Debian kernel than the one I have installed. I want to find this out before I do my dist-upgrade.

I have done some searches but have not found a command to do this. So please let me know if you know of such a thing.....

cheers,
obnascar
 
Old 09-03-2009, 04:46 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Code:
apt-show-versions <package-name>
lists the installed and available versions of a package. Option -u without the <package-name> as argument shows only the upgradeable packages.
 
Old 09-03-2009, 04:57 PM   #3
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by colucix View Post
Code:
apt-show-versions <package-name>
I'm not sure of this part.........
So package name would be ?:
Code:
linux-image-2.6
Would it need a wildcard ?:
Code:
linux-image-2.6*
Thanks for your help colucix

Last edited by obnascar; 09-03-2009 at 05:01 PM.
 
Old 09-03-2009, 05:13 PM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Unfortunately I don't have the Debian system at hand now to test the usage of wildcards (I'm not sure about this point). However, the information you need can be retrieved using:
Code:
apt-show-versions -u | grep linux-image
 
Old 09-03-2009, 05:25 PM   #5
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by colucix View Post
However, the information you need can be retrieved using:
Code:
apt-show-versions -u | grep linux-image
I am actually in sidux, which is about as Debian as you can get I always thought, but it doesn't like that command:
Code:
bash: apt-show-versions: command not found
 
Old 09-03-2009, 05:33 PM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
You can try:
Code:
apt-get install apt-show-versions
 
Old 09-03-2009, 05:57 PM   #7
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Ok colucix, I got it ! I appreciate you being so patient....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian: What is the command to show my current kernel version? charon79m Linux - General 4 01-18-2011 05:21 AM
Newest Kernel Image FredGSanford Debian 6 07-31-2007 05:54 PM
list directory only show newest file amarok* carl0ski Linux - General 1 01-29-2006 10:31 AM
FC3 newest kernel! bluknight43 Linux - Software 0 02-15-2005 05:46 PM
What, no Gr-security in the newest kernel? subzero0 Linux - General 1 02-19-2004 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration