LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-20-2010, 01:05 PM   #1
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 595

Rep: Reputation: 30
How to find out the last patched patch in the server


Hi all,

How to find out the last patch , which was patched in the server? The OS list includes FREEBSD, RHAS 3/4/5 and redhat 8.

Is there a way to find it out without YUM or up2date?


Thanks
 
Old 01-20-2010, 04:40 PM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 37
You could look at the log files.

[root@centos-node txts]# ls -l /var/log/yum.log
-rw-r--r-- 1 root root 19574 Jan 12 14:20 /var/log/yum.log
[root@centos-node txts]# less /var/log/yum.log
 
Old 01-20-2010, 05:34 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,758

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
The command : rpm -qa --last > last-packages.txt

.. will save the text file in /home/'user'/
showing all installed packages, the latest at line 1.
All with install date, and install time.

Or use : rpm -qa --last | less


Patches : Everything comes as rpm packages and will
be included in the above.
.....
 
1 members found this post helpful.
Old 01-20-2010, 06:37 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
For FreeBSD, simply use:
Code:
% uname -a
The -p(n) suffix refers to the latest patch level installed for the base system.

For ports, use:
Code:
% pkg_info -x port_name

Last edited by anomie; 01-20-2010 at 06:49 PM.
 
Old 02-04-2016, 04:33 AM   #5
satishcarya
LQ Newbie
 
Registered: May 2011
Posts: 3

Rep: Reputation: 0
last patching date

Quote:
Originally Posted by knudfl View Post
The command : rpm -qa --last > last-packages.txt

.. will save the text file in /home/'user'/
showing all installed packages, the latest at line 1.
All with install date, and install time.

Or use : rpm -qa --last | less


Patches : Everything comes as rpm packages and will
be included in the above.
.....
Thanks this helped..
 
  


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
patch problem - can't find file to patch jnutt Linux - Kernel 3 02-10-2010 04:45 PM
I patched my RHEL 4 ES server and now I am getting segfault errors. sdaehn Linux - Newbie 5 08-25-2008 05:04 PM
where can I find the patch for Fedora8 vvcat Linux - Newbie 2 03-03-2008 12:44 PM
supermoun patch where can i find it? davegermiquet Conectiva 0 09-22-2004 02:08 PM
How to find patch information? grub Linux - Software 1 01-29-2004 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:07 AM.

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