Help!

Recreating RPM package from rpm database

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management RSS
Next:  Version attribute with Subversion Revision keywor..  
Author Message
dolfantimmy
External


Since: Nov 21, 2006
Posts: 5



PostPosted: Wed Feb 07, 2007 12:02 pm    Post subject: Recreating RPM package from rpm database
Archived from groups: linux>redhat>rpm (more info?)

I have an unusual situation. I have a package that was installed some
time ago and the rpm is no longer available. I need to test some
processes on a dev box. How can I go about rebuilding the rpm file
from the rpm database?

on RH ES3

Thanks
Back to top
Michal Jaegermann
External


Since: Jun 06, 2004
Posts: 62



PostPosted: Thu Feb 08, 2007 12:07 am    Post subject: Re: Recreating RPM package from rpm database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

dolfantimmy <dolfantimmy RemoveThis @yahoo.com> wrote:
> I have an unusual situation. I have a package that was installed some
> time ago and the rpm is no longer available. I need to test some
> processes on a dev box. How can I go about rebuilding the rpm file
> from the rpm database?

You cannot rebuild _that_ rpm from an information which is in
database. What you can get is a listing of all installed
files for it by doing 'rpm -ql package'. Then you can retrieve
all files and repackage them into some rpm. See, for example,
how various "nosource" packages are done on http://www.jpackage.org/
You can retrieve from there some sample specs.

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