Help!

Compare 2 rpm files


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management RSS
Next:  rpm -e confirm uninstall  
Author Message
felad
External


Since: Sep 12, 2005
Posts: 2



PostPosted: Thu Aug 10, 2006 9:34 am    Post subject: Compare 2 rpm files
Archived from groups: linux>redhat>rpm (more info?)

Hi

Is there a way to compare 2 rpm files and getting list of added \
removed \ changed files ?
( I'm not talking about rpm I have already installed )
Back to top
Daniel Ganek
External


Since: Jun 01, 2004
Posts: 60



PostPosted: Thu Aug 10, 2006 3:26 pm    Post subject: Re: Compare 2 rpm files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

felad wrote:
> Hi
>
> Is there a way to compare 2 rpm files and getting list of added \
> removed \ changed files ?
> ( I'm not talking about rpm I have already installed )
>

diff <(rpm -qpl foo.rpm) <(rpm -qpl bar.rpm)


/dan


-----

2 + 2 approaches 5 for large values of 2
Back to top
Michal Jaegermann
External


Since: Jun 06, 2004
Posts: 62



PostPosted: Thu Aug 10, 2006 5:58 pm    Post subject: Re: Compare 2 rpm files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

felad <felad.RemoveThis@walla.co.il> wrote:
>
> Is there a way to compare 2 rpm files and getting list of added \
> removed \ changed files ?

rpm -qlvp first.file.rpm > list.one
rpm -qlvp second.file.rpm > list.two

and now process 'list.one' and 'list.two' to get what you want.

Michal
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum