rpm error installing kernel source package
Ed Greshko
Ed.Greshko at greshko.com
Sat Mar 25 02:11:55 UTC 2006
Colin Brace wrote:
> Hi all,
>
> I get an RPM error trying to install the kernel source:
>
> $ rpm -ivh kernel-2.6.15-1.2054_FC5.src.rpm
> error: cannot create %sourcedir /usr/src/redhat/SOURCES
>
> A section of the FC5 release notes, "8.6. Preparing for Kernel
> Development", says this should be done as normal user, not root, but
> running it either way the rpm still generates this error message.
> According to the text:
>
> "This command writes the RPM contents into ${HOME}/rpmbuild/SOURCES
> and ${HOME}/rpmbuild/SPECS, where ${HOME} is your home directory."
>
> It looks like the path that source package is using is deprecated.
> Anyone know what is going on here?
>
> I am running FC5, kernel 2.6.15-1.2054
Did you read all of the release notes and do as it instructs?
Prepare a RPM package building environment in your home directory. Run
the following commands:
su -c 'yum install fedora-rpmdevtools'
fedora-buildrpmtree
More information about the fedora-list
mailing list