Wednesday, June 4, 2008

PitHole: RPM : "warning, user XXX does not exist - using root"

If while installing rpm package following error occurs

warning: user XXX does not exist - using root

Issue : I'm trying to build/install an rpm and it keeps giving me these warnings while installing the binary. Though I heard this could be safely ignored as its bcos there is no user XXX on my box, was wondering if there is a way to supress this in the rpm spec file itself. I know I could also manually build it as root. But curious if we could supress this from the spec.

Resolution:

Add the following in the spec file and recompile the spec file

%defattr(-,root,root)

2 comments:

RaiulBaztepo said...

Hello!
Very Interesting post! Thank you for such interesting resource!
PS: Sorry for my bad english, I'v just started to learn this language ;)
See you!
Your, Raiul Baztepo

PiterKokoniz said...

Hi !!!! ^_^
I am Piter Kokoniz. Just want to tell, that I like your blog very much!
And want to ask you: will you continue to post in this blog in future?
Sorry for my bad english:)
Tnx!
Your Piter Kokoniz, from Latvia