LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   broken link fedora-build rpmtree does not exist (http://www.linuxquestions.org/questions/linux-newbie-8/broken-link-fedora-build-rpmtree-does-not-exist-520474/)

sjw01748 01-18-2007 07:50 AM

broken link fedora-build rpmtree does not exist
 
Good Morning:

As a result of my posts /lib/modules/2.6.15-1.2054_FC5/build:broken symbolic link post I received two suggestions.

Execute the following commands:
1. yum install kernel-devel
2. su -c 'yum install kernel-{PAE,xen,kdump}-devel'

I executed the yum install kernel-devel command and received the following result display:

Added 6131 new packaged
Parsing packages install arguments
Resolving Dependencies
-->Populating transaction set with selected packages.
-->Download header for kernel-deck to pack into transaction set
kernel-devel-2.6.18-1.225 100% 1==663kb
-->Package kernel-devel.i686 0:2.6.18-1.2257.fc5 set to be installed
-->Running transaction check
Dependencies Resolved

Package ARCH Version Repository Size
Installing i686 2.6.18-1.2257.fc5 updates 4.4M
kernel-devel i686--
Total download size 4.4M
Exiting on user command
Complete!

Once competed I checked the /lib/modules/2.6.15-1.2054_FC5 directory and see the "build" and "source" links are still broken.

Question 1: Should I have executed the 2nd command
su -c 'yum install kernel-{PAE,xen,kdump}-devel' ??

Question 2:Reading the release notes p14 I logged in as myself (not root) and executed the following command

su -c 'yum install fedora-rpmdevtools' fedora-buildrpmtree

I received the following error message

su: user fedora-build rpmtree does not exist

Should I be manually removing the broken links and manually setting links using the 'ln' command??

How to solve this problem ??

Help please!

\Steve

Lenard 01-18-2007 08:16 AM

The links are still broken because the kernel-devel packages you downloaded/installed via yum are for the updated 2.6.18-1.2257.fc5 kernel. Please reboot the system and use the new kernel. A quick check to see what you did;

rpm -qa 'kernel*'

If you really want the kernel-devel packages installed for the older kernel then you needed to specify this; yum install kernel-devel-2.6.15-1.2054_FC5

But you should use the updated kernel and kernel-devel packages that should be already installed instead.

Also you should carefully review what you read, you combined two commands into one line;

Quote:

su -c 'yum install fedora-rpmdevtools' fedora-buildrpmtree
Install the package; su -c 'yum install fedora-rpmdevtools'
Then as a normal user from the console or xterm session type; fedora-buildrpmtree

This is why the two commands are on separate lines.


All times are GMT -5. The time now is 05:51 PM.