[Yum] do I gotta be root?

Fajar A. Nugraha fajar at fajar.net
Mon May 21 01:35:41 UTC 2007


Gallie, Keith wrote:
> Ok, I resorted to downloading the source and figuring it out from there.
>
> I changed the pid lockfile to a local file and conf.uid=0.
>
> Wild question - will I run into any other issues? There weren't that
> many checks for conf.uid == 0 so I figure after I go through those I'll
> be in good shape, yes?
>
>   
What version of yum and which distro are you running, exactly?
Seems like you're using a really OLD version of yum.
yum >= 2.4.3 allows "yum list" as non-root.
It also uses repositories created by createrepo, not yum-arch.

Regards,

Fajar
> Thanks
>
>  
>
>   
>> -----Original Message-----
>> From: yum-bounces at lists.dulug.duke.edu 
>> [mailto:yum-bounces at lists.dulug.duke.edu] On Behalf Of Gallie, Keith
>> Sent: Friday, May 18, 2007 2:01 PM
>> To: yum at lists.dulug.duke.edu
>> Subject: [Yum] do I gotta be root?
>>
>>
>> 1. I was able to create RPMs and use yum-arch to create a 
>> repository and use a local config file. I was happy. Now yum 
>> tells me I have to be root to even do a list. I don't want to 
>> be root. I gotta be root to even get a list? Is there any way 
>> around this? See machinations below...
>>
>> 2. Another thing I didn't expect was that I created the 
>> repository in a local work area. I got all sorts of cache errors like 
>>
>> yum -c $YUM_CONFIG list all
>> Gathering header information file(s) from server(s)
>> Server: experimental
>> Error - /home/kgallie/YUM/cache/yum/stable/header.info cannot 
>> be found Please ask your sysadmin to update the headers on 
>> this system.
>>
>>     




More information about the Yum mailing list