On Fri, Oct 21, 2005 at 09:30:03AM -0700, Lan Barnes wrote:
> On Thu, Oct 20, 2005 at 11:33:21PM -0700, Carl Lowenstein wrote:
> > On 10/20/05, Juan M. Duran <[EMAIL PROTECTED]> wrote:
> > > On jue, 2005-10-20 at 21:06 -0700, Lan Barnes wrote:
> > > > I'm a newbie to yum. I need some yum repos for my config file so I can
> > > > get stuff. FC4. Stuff like Nvu, etc.
> > >
> > > There you are a commented example of yum.conf, take a look.
> > > Actually its is for FC3, but you will find the repos inside, just change
> > > the $releasever to 4
> > 
> > Is not $releasever a global variable that is set to the release
> > version you are running?
> > So it is automagically set to 4 if that's what you need.
> > 
> > > http://www.fedorafaq.org/fc3/samples/yum.conf
> > >
> > > Anyway check
> > >
> > > http://www.fedorafaq.org
> > 
> 
> This is probably true. To reiterate, I am a yum novice (and I don't mean
> a hottie-nun).

It is true.  Yum gets $releasever from the version of the fedora-release
package (rpm -q fedora-release --qf "%{VERSION}").

> How then would I instruct yum to go do the right thing and get me a FC3
> package for FC4? The reason I ask is because I can't find a yum server
> with the FC4 versions of xine, the goal of the exercise. (It's for the
> new Myth box.)

You can hard-code the version (3) instead of using $releasever in the
repo file.  I don't know how well this works.  You'd probably end up in
dependency hell.

However, xine can be found in the Livna repository:

[EMAIL PROTECTED] ~]$ yum list xine
Setting up repositories
Reading repository metadata in from local files
Available Packages
xine.i386                                0.99.4-0.lvn.3.4       livna

Setting up the Livna repository is as easy as (from
http://rpm.livna.org/configuration.html),

    rpm -i 
http://rpm.livna.org/fedora/4/i386/RPMS.lvn/livna-release-4-0.lvn.5.4.noarch.rpm

As a side note, I don't recommend ATrpms.  It's useful to grab packages
now and then, but it replaces a lot of core packages and leads to a lot
of system instability.  A lot of problems I see crop up in #fedora is
due to running 'yum update' with ATrpms enabled.

> Alternate question: I'm perfectly happy to compile xine and all its
> necessary dependencies for this box. Why not? BUT (big *but*) I'd sure
> like to know what code packages I have to download to satisfy all the
> dependencies. Can yum tell me that? 
> 
> I wish I had a brain ...

-- 
Chris Grau <[EMAIL PROTECTED]>

Attachment: pgp3URAIp9kko.pgp
Description: PGP signature

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to