LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2008, 06:01 AM   #1
pavan_pnv
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Command to get list of patches applied


I am looking for a command in Linux which could list the patches applied to the machine. Along the lines of "showrev" on Solaris.
 
Old 03-11-2008, 04:12 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Which distro are you running?
 
Old 03-12-2008, 02:43 AM   #3
pavan_pnv
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
uname -a gave me:
Linux NODENAME 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:46:51 EDT 2005 i686 athlon i386 GNU/Linux

Thanks for your help in advance!
 
Old 03-12-2008, 03:27 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
That doesn't reveal the distro, just the kernel version and architecture details.

There is a standard file called /etc/lsb-release which should contain your distro name and version, but this is a fairly recent addition to the Linux Standards Base, and as such does not exist on many older systems.

If it does exist, please say what is in it. If not, look also for these files:

Code:
/etc/debian_version
/etc/*release*
 
Old 03-12-2008, 04:32 AM   #5
pavan_pnv
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
The files /etc/lsb-release and /etc/debian_version are not present on the machine. When I do a cat on "/etc/*release*", it gave me
"2006030901dev Red Hat Enterprise Linux AS release 3 (Taroon Update 5)"
 
Old 03-12-2008, 07:02 AM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Aha, that's your distro then - Red Hat.

What do you mean by a list of patches? To me this can mean a few things:
  1. Software updates. i.e. some sort of installation and/or update log for all packages on the system.
  2. A list of modifications from the standard kernel sources which Red Hat provide (they have somewhat customised kernels)
  3. A list of modifications from the standard sources of major applications, e.g. Apache.
  4. Something else?
What exactly do you mean?
 
Old 03-12-2008, 10:33 AM   #7
pavan_pnv
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
I was able to see the list of packages and their latest information from the "rpm -q -a" command.

I was refering to "list of modifications from the standard kernel sources which Red Hat provide (they have somewhat customised kernels)" when I said patches.

Thanks in advance!
 
Old 03-12-2008, 06:29 PM   #8
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
I don't know the answer to this question, but that's because I don't use Red Hat. I'm sure someone out there will be able to tell you. If not, then you might want to take your question to the Red Hat support people (assuming you have a support contract), or some Red Hat user discussion mailing list / chat room.
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
Command to run another command against a list of files psweetma Linux - General 3 11-09-2005 06:29 PM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 03:37 PM
Suse Command List nthnmsnr Linux - Distributions 2 08-19-2005 12:06 PM
RedHat patches vs open source patches paulsh2k4 Linux - Software 1 10-14-2004 04:18 AM


All times are GMT -5. The time now is 12:26 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