Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-27-2004, 03:59 PM
|
#1
|
Member
Registered: Feb 2004
Posts: 46
Rep:
|
midnight commander
ok here goes, when i extract files from an rpm using mc i can edit them, but when i try and copy the edited filies back into the rpm i get an error, or when i copy and entire linux ditro cd with rpms and try to acces them through mc it sayss "inconsistant exfts archive" is there an alternative program to what i am doing, or is there something that im doing wrong?
|
|
|
02-27-2004, 04:14 PM
|
#2
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
AFAIK, mc extracts compressed files to a temporary directory - so you can edit them and save them elsewhere. But the compressed files are compressed according to an algorithm based on their contents that would be broken if you try to copy a file back into it with different data. You'd need to actually unpack, edit, and repack such things. And I believe rpm's are compressed.
Or possibly mc has capabilities to handle archives I'm not aware of. But I don't think it's really doable. I think rpm has decompression and recompression tools for the packages, though.
|
|
|
02-28-2004, 02:04 AM
|
#3
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
You pretty much hit it on the head I think, digiot. mc is a great way to grab specific files from an archive, but it won't edit the originals.
I'd say if you want to modify an RPM, you'd probably be better off grabbing the source files, edit those, and create a new RPM from that.
|
|
|
All times are GMT -5. The time now is 05:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|