Re: Yum problems for fedora-extras....

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

 



On Thu, 2005-03-10 at 09:12 +0000, Irving, Dave wrote:
> Im trying to install some Fedora Extras...
> I've followed the instructions
> (http://download.fedora.redhat.com/pub/fedora/linux/extras/EXTRAS) to
> add [extras] to my /etc/yum.repos.d dir

What did you call the file you put in /etc/yum.repos.d? It needs to end
in ".repo"

> and I've imported the
> Fedora-Extras RPM GPG Key in to my rpm database like this:
> 
> rpm --import
> http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fe
> dora-Extras
> 
> The rpm bit seemed to work.....
> When I connect to the internet, I need to use a proxy server.. For rpm
> this was fine (I just used --proxyhost x --proxyport y).
> For yum, I've read that I need to have $http_proxy exported... I've done
> this.
> So, time to download a package... Im trying to get gnome_phone_manager
> to work, and from the instructions Im following
> (http://hem.bredband.net/miko22/INSTALL.html), I need to get hold of
> libsigc++-devel.
> I gave this a try:
> 
> yum -t --enablerepo=extras install gnome-bluetooth libsigc++-devel
> 
> The result? A load of python errors:
> 
>   File "/usr/lib/python2.3/site-packages/yum/config.py", line 299, in
> _doFileRepo
>     doRepoSection(self, repoconf, section)
>   File "/usr/lib/python2.3/site-packages/yum/config.py", line 313, in
> doRepoSection
>     mirrorurls = getMirrorList(mirrorlist)
>   File "/usr/lib/python2.3/site-packages/yum/config.py", line 390, in
> getMirrorList
>     fo = urlresolver.urlopen(url)
> [snip]
> TypeError: iterable argument required
> 
> So now Im lost... Can anyone help with what I might be doing wrong?

Which version of yum are you using?

$ rpm -q yum

If you followed the instructions at
http://download.fedora.redhat.com/pub/fedora/linux/extras/EXTRAS then
the extras repo is enabled by default and you don't need --
enablerepo=extras

If you move the extras.repo file (whatever you called it) out of
the /etc/yum.repos.d directory, does yum still crash?

If you do "man yum.conf" you'll see that there's now (in yum 2.2.0) a
way of specifying proxies in your /etc/yum.conf file so you don't need
the environment variables.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux