LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-22-2004, 03:20 PM   #1
ghow961
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.

Thanks.
 
Old 03-22-2004, 04:18 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
rpm2tgz
rpmbuild
 
Old 03-23-2004, 02:22 PM   #3
ghow961
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?

Thanks.
 
  


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


All times are GMT -5. The time now is 04:32 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