Find the answer to your Linux question:
Results 1 to 4 of 4
I have kernel-2.6.23.12-52.fc7.src.rpm downloaded and I'm trying to get it installed. At first I was getting the Code: warning: user mockbuild does not exist - using root errors when running ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    173

    Can't install kernel source - mock problem


    I have kernel-2.6.23.12-52.fc7.src.rpm downloaded and I'm trying to get it installed. At first I was getting the
    Code:
    warning: user mockbuild does not exist - using root
    errors when running
    Code:
    rpm -ivh kernel-2.6.23.12-52.fc7.src.rpm
    so I installed mock successfully (I think). Now I am trying to install it using
    Code:
    mock install kernel-2.6.23.12-52.fc7.src.rpm
    but I'm now getting
    Code:
    ERROR: Could not find required config file: /etc/mock/default.cfg
    ERROR: Did you forget to specify the chroot to use with '-r'?
    I'm not sure what to make of that. I would really like to get this installed though.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    The package is probably already installed. The initial error was just informing you that a user called mockbuild does not exist (probably the username of whoever created the kernel rpms) on your system so root was used instead.

  3. #3
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    173
    So if it's installed, where would it be?

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Somewhere in /usr/src.

Posting Permissions

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