Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th May 2006, 08:51 PM
Clark Cooper Offline
Registered User
 
Join Date: May 2006
Posts: 1
"rpm -Uvh ..." not working as advertised after upgrade to FC5

I have just recently upgraded from Fedora Core 2 to Fedora Core 5. The FC 2 I was using was itself an upgrade from either FC1 or some redhat version. I suspect my problems are related to having ancient files subtly bollixing things up.

I wanted to take a look at the kernel source and found section 8.6 of the release notes. Step 3 of that section calls for the command:
rpm -Uvh kernel-2.6.15-1.2054_FC5.src.rpm
(It actually gives a version parameterized example.)

Earlier steps explicitly showed using su, so I assumed this should be run in user mode. When I attempted to do this I got the error:
error: cannot write to %sourcedir /usr/src/redhat/SOURCES
The release notes however said:
This command writes the RPM contents into ${HOME}/rpmbuild/SOURCES and ${HOME}/rpmbuild/SPECS, where ${HOME} is your home directory.
Any suggestions on how I should proceed in installing the kernel sources?

As an aside, another reason I wanted to install the kernel sources is to fix the broken symlink from /lib/modules/2.6.15-1.2054_FC5/build to /usr/src/kernels/2.6.15-1.2054_FC5-i686
Reply With Quote
  #2  
Old 24th May 2006, 08:26 PM
dogalmity Offline
Registered User
 
Join Date: May 2006
Posts: 19
I'm having exactly that problem, except that I did a clean install of FC5, so its not old files mucking up the works.
Reply With Quote
  #3  
Old 24th May 2006, 08:42 PM
blue13130 Offline
Registered User
 
Join Date: May 2005
Location: London, ON, Canada
Age: 32
Posts: 312
Have the package fedora-rpmdevtools installed (get it from yum in the extras repo) and then download your kernel.src.rpm and follow these steps as a user
1. $ fedora-buildrpmtree (this will create the rpmbuild directory tree under your user account)
2. $ rpm -ivh kernel.src.rpm (this will unpackage the kernel source to the rpmbuild directories)

From there you can do whatever you wish with the kernel source and then recompile it.
Reply With Quote
Reply

Tags
advertised, fc5, rpm uvh, upgrade, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"ls" and "cd" treat ".." differently inside symlinked directories bnorman Using Fedora 0 19th June 2008 04:49 PM
HOW TO MOUNT "C" "D" "E" LOCAL HARDDISK PARTITION ketan_hk Using Fedora 6 6th September 2007 01:10 AM
Metacity and "Xlib: extension "SHAPE" missing on display ":0.0". debu_sagii Using Fedora 0 29th August 2007 05:53 PM
Framebuffer stops working after executing "yum upgrade" trey.blancher Using Fedora 4 23rd September 2005 01:30 AM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 11:14 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat