~ Mayank Johri’s Tips ~

June 4, 2008

PitHole: RPM : “warning, user XXX does not exist – using root”

Filed under: Linux, Packaging — mayankjohri @ 2:53 pm
Tags:
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 »

  1. 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

    Comment by RaiulBaztepo — March 29, 2009 @ 12:40 am | Reply

  2. 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

    Comment by PiterKokoniz — April 8, 2009 @ 12:18 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.