[CentOS] Mock on 5.5 x86_64 failing with Could not find useradd in chroot, maybe the install failed?

Jason Pyeron jpyeron at pdinc.us
Sat Sep 25 17:22:02 EDT 2010


I am atempting to work with some rpms in the c5-testing repo.

When I add:

[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/5/testing/x86_64/
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

to centos-5-x86_64.cfg, saving as centos-5-x86_64-testdev.cfg I get the
aformentioned error.

Example

[mockbuild at localhost ~]$ mock -r centos-5-x86_64-testdev.cfg init
init
clean
prep
This may take a while
Could not find useradd in chroot, maybe the install failed?
ending
done

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.





More information about the CentOS mailing list