LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2009, 05:42 AM   #1
just.srad
Member
 
Registered: Apr 2008
Location: Singapore
Distribution: Slackware 14.0
Posts: 153

Rep: Reputation: 15
Question Could we bypass Mock command to unpack the source rpm file?


I would like to rebuild the fedora kernel using the source rpm file.

however when i type "rpm -i kernel-2.6.29.1-111.fc11.src.rpm".

The following error occurs as shown

Code:
 warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root 
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root 
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
But based on the book"RHCE Study Guide, 5th Edition" by Michael Jang,
page 231, i should be able to execute the able command.

Any advise would be appreciated.

Justin
 
Old 05-02-2009, 06:45 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Well, the word 'mockbuild' is mentioned somewhere in the package.
And if you look for it, you will probably not find it.
An rpm package is mainly a cpio archive, and the archive holds an
information about, who packed it. [ user=owner :: group ] see 'man cpio'.
That may be the info which appears.

Unpack a couple of 'src.rpm's , and other non exsisting "users"
and "groups" will display as a warning only, not an error.

...... There is no mock command ! ......

I unpacked a random src.rpm, it said
warning: user mandrake does not exist - using root
warning: group mandrake does not exist - using root

A warning is an information and not an error, and in this
case it has no meaning, and is to be ignored.
.....

Last edited by knudfl; 05-02-2009 at 07:28 AM.
 
Old 05-03-2009, 09:48 AM   #3
just.srad
Member
 
Registered: Apr 2008
Location: Singapore
Distribution: Slackware 14.0
Posts: 153

Original Poster
Rep: Reputation: 15
Thanks for the reply.. i think i have more to understand the whole rpm stuff by reading up.

Appreciate it, Knudfl.

Justin
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to unpack source.n.gz sky_amy Linux - Newbie 6 05-28-2008 01:51 AM
Kernel rpm unpack errors daveh13 Linux - Server 1 11-21-2007 03:39 PM
where does it go when rpm a rpm source file feetyouwell Linux - Software 1 09-03-2004 04:14 PM
RPM unpack error?????? blizunt7 Linux - Newbie 6 04-01-2004 10:09 PM
Is it possible to unpack rpm change file then repack? ghow961 Linux - Newbie 2 03-23-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration