[Yum] yum quesiton -pt 2... trying to do a 'yum install foo'

bruce bedouglas at earthlink.net
Sun Apr 24 18:14:47 UTC 2005


[root at lserver2 rpm]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
#distroverpkg=redhat-release
distroverpkg=fedora-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/$releasever/$basearc
h/os/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i
386/
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/


[updates-released]
name=Fedora Core1 $releasever - $basearch - Released Updates
hi...

i'm trying to do
 yum install gcc-3.4.2-6

and i get....

Repository development already added, not adding again
Repository updates-released already added, not adding again
Repository base already added, not adding again
Setting up Install Process
Setting up Repo:  development
repomd.xml                100% |=========================| 1.1 kB    00:00
Setting up Repo:  updates-released2
repomd.xml                100% |=========================|  903 B    00:00
Setting up Repo:  base
repomd.xml                100% |=========================| 1.1 kB    00:00
Setting up Repo:  updates-released
repomd.xml                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
developmen: ################################################## 3566/3566
updates-re: ################################################## 643/643
base      : ################################################## 2622/2622
updates-re: ################################################## 872/872
No Match for argument gcc-3.4.2-6
Nothing to do
-----------------------------------------------------

any ideas as to why this isn't working...???? (i've tried gcc-3.4.2-6.fc3 as
well)

the gcc rpm is in the updates/released section....

my yum.conf is....
--------------------------------------------
[root at lserver2 rpm]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
#distroverpkg=redhat-release
distroverpkg=fedora-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/$releasever/$basearc
h/os/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i
386/
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/

[updates-released]
name=Fedora Core1 $releasever - $basearch - Released Updates
#baseurl=ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/$releasever/
$basearch/
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i3
86/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$re
leasever/$basearch/


#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/tes
ting/$releasever/$basearch/

[development]
name=Fedora Core- $releasever - Development Tree
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/
i386/

[updates-released2]
name=http-download.fedora.us-fedora-fedora-3-i386-RPMS.stable-
baseurl=http://download.fedora.us/fedora/fedora/3/i386/RPMS.updates/



-----Original Message-----
From: yum-bounces at lists.dulug.duke.edu
[mailto:yum-bounces at lists.dulug.duke.edu]On Behalf Of bruce
Sent: Sunday, April 24, 2005 8:45 AM
To: yum at lists.dulug.duke.edu
Subject: [Yum] yum quesiton...


hi,

is there a way to use yum to allow me to point yum at a given rpm and tell
it to install/upgrade the package, and yum will figure out what to do??
reading through google, and actually trying it didn't get much success...

 kindof  --> 'yum install package_foo.rpm"

thanks

bruce
bedouglas at earthlink.net


_______________________________________________
Yum mailing list
Yum at lists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/yum




More information about the Yum mailing list