Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 03-04-2008, 07:06 AM   #1
Registered: Aug 2003
Location: Texas
Distribution: Fedora 9
Posts: 177

Rep: Reputation: 30
Question How do I take something out of an rpm?

This may be unusual for the typical newbie, but I screwed a video/webcam driver and without investigating first, I removed it from the kernel src and then removed the module. It was the only way I knew to get back in Fedora 8. Then I figured I could replace the driver and module by dragging them from a non-installed kernel-devel...rpm and dropping them in the installed rpm. Someone told me I could do that, but he forgot how to do it.

The person said I could open the rpm in Konqueror and do the dragging and such from in there. However, when I try to open the rpm, Konqueror wants to install it. It does offer the choice of open with "other", but I do not know what other to choose. Does anyone know? Everyone's help will be greatly appreciated. Of course, if my dragging and dropping idea is not possible in a kernel I would also appreciate knowing that.

Old 03-04-2008, 07:55 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
I do not know why one would do what you did, you could have and should have just blacklisted the module(s), see the /etc/modprobe.d/blacklist file; cat /etc/modprobe.d/blacklist

You have two ways to recover, the easiest is to simply re-install the kernel rpm package as root type something like;

rpm -ivh <the full kernel package filename here> --force

Or if you really want then use rpm2cpio, for example type something like;

rpm2cpio kernel- | cpio -id
Old 03-04-2008, 09:30 AM   #3
Registered: Feb 2008
Location: India, Kolkata
Distribution: Fedora 16
Posts: 59

Rep: Reputation: 16
you can do what i do.

1]Right-Click on the .rpm file
2]Select Open With Other
3]Type in "file-roller" (the compression program in GNOME)

And you can see all the files in GUI.


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
rpm -i --prefix=/home/user package.src.rpm doesn't work? registering Linux - Software 2 07-18-2007 11:28 AM
installed apache from source, didn't remove rpm, updated rpm causes problems leftPeg Linux - Newbie 5 06-06-2007 09:20 PM
counter part of "rpm -ivh --force kernel....rpm in slackware b0nd Slackware 2 01-28-2006 07:46 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:55 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
Open Source Consulting | Domain Registration