[Yum] do I gotta be root?
Keith.Gallie at amd.com
Mon May 21 15:07:24 UTC 2007
Yes, the yum version is old, v2.0.8. RPM 4.2.3. I'm trying to work with
what is already installed...
The distro is internal s/w not linux system s/w. I wanted to run in
parallel w/ the same yum and rpm as the system.
> -----Original Message-----
> From: yum-bounces at lists.dulug.duke.edu
> [mailto:yum-bounces at lists.dulug.duke.edu] On Behalf Of Fajar
> A. Nugraha
> Sent: Sunday, May 20, 2007 7:36 PM
> To: Yellowdog Updater, Modified
> Subject: Re: [Yum] do I gotta be root?
> 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.
> > 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
> >> 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.
> Yum mailing list
> Yum at lists.dulug.duke.edu
More information about the Yum