[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm/mock: can't upbuild FC10 targets on FC9 host



Panu Matilainen wrote:
> On Thu, 3 Sep 2009, Philip Prindeville wrote:
>   
>> No joy:
>>
>> [root builder SRPMS]# rm -rf /var/lib/mock/fedora-10-x86_64/root
>> [root builder SRPMS]# mock -r fedora-10-x86_64 --init --rebuild perl-Net-Patricia-1.15_01-1.fc9.src.rpm
>>     
>
> Don't run mock as root. That'll avoid the incompatible db environment 
> from getting created. Also some older versions of mock left the db 
> environment in the root-cache tarball which is sure to cause problems 
> sooner or later (this has been fixed since then but don't remember which 
> version)
>
>  	- Panu -
>
>   

So... run it as whom?

[philipp builder SRPMS]$ mock -r fedora-10-x86_64 --init --rebuild perl-Net-Patricia-1.15_01-1.fc9.src.rpm 

ERROR: [Errno 1] Operation not permitted

ERROR: The most common cause for this error is trying to run /usr/sbin/mock as an unprivileged user.
ERROR: Check your path to make sure that /usr/bin/ is listed before /usr/sbin, or manually run /usr/bin/mock to see if that fixes this problem.

[philipp builder SRPMS]$ 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]