LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-08-2009, 06:59 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
What flag do I use with RPM to show the changes/patches included in an RPM?


For instance I have:
openssh-4.3p2-36.el5_4.2

But I know that is 4.4.x.

rpm -? openssh

TIA
 
Old 12-09-2009, 12:44 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try here to start, also www.rpm.org http://kbase.redhat.com/faq/docs/DOC-9302
 
Old 12-09-2009, 08:16 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# yum install openssh

.. provides : openssh-4.3p2-36.el5_4.2
.. from the updates repo.

Explanation : the system version ' 4.3p2 ' has probably
got some security fixes, borrowed from version 4.x or 5.x .
The package is not a patch ...
Release version, CentOS 5.2 = openssh-4.3p2-26.el5 .
.....

I don't think you can get rpm to show you an edit in
a source file.
To know the full story : The source code package =
http://mirror.centos.org/centos/5.4/...l5_4.2.src.rpm
> > openssh-4.3p2-36.el5_4.2.src.rpm .
The changes are in the 'changelog' .. see openssh.spec ,
if not included elsewhere.
' rpm2cpio <(SRC)_RPM> | cpio -idmv ' can unpack rpm's.
' lesspipe.sh openssh-4.3p2-36.el5_4.2.src.rpm ' for info.
.....

Last edited by knudfl; 12-09-2009 at 08:53 AM.
 
  


Reply



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
How to know in %post scriptlet if rpm was invoked with --prefix flag? peace_out Linux - General 1 09-17-2008 04:11 PM
RPM hangs on install/erase/update when scripts are included uber-mood Linux - Software 5 12-13-2007 01:55 AM
rpm -Va should show no results on a good system right? dr_zayus69 Linux - Software 1 01-06-2005 10:50 AM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

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

All times are GMT -5. The time now is 05:53 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
Open Source Consulting | Domain Registration