Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-22-2004, 04:20 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
Is it possible to unpack rpm change file then repack?

I have a binary rpm without the source rpm and I would like to change a file that gets installed (without having to do it post-install).

Is there a tool that can extract the files from an rpm so that I can make the change, and then be able to pack it back into a working rpm again?

Also it would be good if it was possible to change the version number during this process as well.

Old 03-22-2004, 05:18 PM   #2
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
Old 03-23-2004, 03:22 PM   #3
LQ Newbie
Registered: Mar 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks, but that only seems to extract the files without creating any spec listing the information and dependencies of the rpm.

So when I tried to build it with rpmbuild it complained that the name, version, release etc must be present in package.

Do I have the wrong version of rpm2tgz or is there some other way of extracting the spec with the files?



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
how to unpack a file? kuertensun Linux - Newbie 11 06-22-2005 02:32 PM
How to unpack an ISO file Scrag Linux - Software 6 02-06-2005 05:31 AM
How to unpack a bz2 file? threepennybit Linux - Software 5 12-12-2004 05:05 AM
RPM unpack error?????? blizunt7 Linux - Newbie 6 04-01-2004 11:09 PM
How to unpack a .tar.gz2 file? ReSync Linux - Newbie 1 06-18-2002 07:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration