Find the answer to your Linux question:
Results 1 to 2 of 2
kernel source cannot install using rpmbuild -------------------------------------------------------------------------------- Dear all, here is my problem i downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5. i installed succeffully above src.rpm using ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    15

    rpmbuild cannot install src.rpm

    kernel source cannot install using rpmbuild

    --------------------------------------------------------------------------------
    Dear all, here is my problem

    i downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5.

    i installed succeffully above src.rpm using command ..
    rpmbuild --rebuild kernel-2.6.18-53.el5.src.rpm

    it created a directory in /usr/src/redhat

    then i manually deleted the redhat directory just because i want to rebuild the kernel source again.so i i removed the redhat directory but now i tried to excute above rpmbuild command again but it is failed.

    saying: error:cannot create %sourcedir /usr/src/redhat/sources
    error:kernel-2.6.18-53.el5.src.rpm cannot be installed

    may i know the reason why it is failing


    thanks
    noor

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you should use rpm command to install rpm files, even src ones i believe

    what does rpm -qa kernel* return?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...