LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2003, 05:43 AM   #1
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

Rep: Reputation: 66
Question RPMs: user and group do not exist


In some cases when installing using an rpm I get the error message that a cerain user and group do not exist - using root. And the installation fails.

How to go about in such cases?

Thnx, Leon.
 
Old 12-15-2003, 07:19 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Can you provide further details? e.g. copy and paste error messages from the console.

Baldrick
 
Old 12-15-2003, 07:46 AM   #3
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

Original Poster
Rep: Reputation: 66
Here's an example. But it occurs also with some other packages (diff. user/group names of course)

[root@leon-fyg roxfiler]# rpm -ivh shared-mime-info-0.12-1.src.rpm
warning: user romildo does not exist - using root
warning: group romildo does not exist - using root
warning: user romildo does not exist - using root
warning: group romildo does not exist - using root
warning: user romildo does not exist - using root
warning: group romildo does not exist - using root
1:shared-mime-info ########################################### [100%]
[root@leon-fyg roxfiler]#
 
Old 12-15-2003, 07:53 AM   #4
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Quote:
rpm -ivh shared-mime-info-0.12-1.src.rpm
This one's easy ... This is a source RPM file. You need to run it like this:
Code:
rpm --rebuild <package_name>.src.rpm
as root from a console. The last few lines of the output will tell you where the 'compiled' RPM is stored. You can then run:
Code:
rpm -ivh /path_to/<package_name>.rpm
and everything should be sweet.

<EDIT>
I should have mentioned that you need the kernel sources installed to compile SRC.RPM's
</EDIT>

Baldrick

Last edited by Baldrick65; 12-15-2003 at 07:54 AM.
 
Old 12-15-2003, 08:35 AM   #5
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

Original Poster
Rep: Reputation: 66
--rebuild is an unknown option.

Man rpm shows the following:

LEGACY ISSUES
Executing rpmbuild
The build modes of rpm are now resident in the /usr/bin/rpmbuild exe-
cutable. Although legacy compatibility provided by the popt aliases
below has been adequate, the compatibility is not perfect; hence build
mode compatibility through popt aliases is being removed from rpm.
Install the rpmbuild package, and see rpmbuild(8) for documentation of
all the rpm build modes previously documented here in rpm(8).

It suggests that I have to install the rpmbuild package first, right? Or can I do the following and continue using rpm?

Add the following lines to /etc/popt if you wish to continue invoking
rpmbuild from the rpm command line:

rpm exec --bp rpmb -bp
<snap>
rpm exec --rebuild rpmb --rebuild
rpm exec --recompile rpmb --recompile
 
Old 12-15-2003, 08:40 AM   #6
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
You probably have to do both. I stopped using RedHat at 7.3 The --rebuild switch is still included in Mandrake 9.1.

Baldrick
 
Old 12-15-2003, 09:57 AM   #7
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

Original Poster
Rep: Reputation: 66
Thnx Baldrick!
rpm-build package was already installed. Just had to use
'rpmbuild --rebuild' instead of 'rpm --rebuild'.
Life can be sweet indeed ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 02:14 PM
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-13-2005 12:16 AM
User Doesn't Exist: dovecot kcasarez Linux - Software 2 09-06-2005 10:07 PM
user vincent does not exist - using root? dr_zayus69 Linux - Software 1 12-22-2004 05:39 PM
error message: user <username> does exist, using root feetyouwell Linux - Software 3 01-10-2004 02:40 PM


All times are GMT -5. The time now is 06:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration