Re: Trying to install local repository.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel B. Thurman wrote:
Since I have an ASUS P5GC-MX/1333 motherboard, I do not have a working
network LAN module, so I am required to build the LAN module, given the
source-code and it requires the Kernel source as well.

So what I had to do was to download the base core files first and set up a
base-core local repository from which I was able to install all of the development
tools.

The next step I needed was to also install the core-source files onto my local
repository as well but for some reason, I was not able to use it because I probably
do not have the yum source repo file correctly setup since it does not find the
*.src.rpm source tags?

I have already used the createrepo command for the core-base local repository and
it worked, but it does not work the same way in setting up the core-source files?

I was able to do the following as a non-root user:
1) rpmdev-setuptree

but I was not able to do:
2) yumdownloader --source kernel

because it cannot find the kernel source file.  I found out the hard way that the source.repo
file is finding *.rpm but not the *.src.rpm file for which I need?

Can someone kindly point me in the right direction in defining my local yum source repo
file so that it correctly finds the *.src.rpm files?

Thanks!


No virus found in this outgoing message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM

First:

-> sudo yum install yum-fastestmirror yum-downloadonly yum-skip-broken

Next:

-> sudo yumdownloader --source kernel

pulls the kernel src.rpm from updates and drops it into the current directory.

Next:

(as you)
-> rpm -ihv kernel-2.6.23.9-85.fc8.src.rpm

Works for me.

Good luck!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux