Re: Yum problem after update on FC-3

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

 



Timothy Murphy wrote:
Paul Howarth wrote:


I upgraded to FC-3 on my laptop,
and then ran "sudo yum update",
which worked perfectly, downloading over 200 rpms.

But now when I run "sudo yum update" I get the error
===============================================
[tim@william ~]$ sudo yum update
Traceback (most recent call last):
 File "/usr/bin/yum", line 8, in ?
   yummain.main(sys.argv[1:])
 File "/usr/share/yum-cli/yummain.py", line 51, in main
   base.getOptionsConfig(args)
 File "/usr/share/yum-cli/cli.py", line 133, in getOptionsConfig
   self.conf = yumconf(configfile = yumconffile, root=root)
 File "/usr/lib/python2.4/site-packages/yum/config.py", line 227, in
__init__
   self._doFileRepo(fn)

Hmm, python2.4; FC3 somes with python2.3 and the FC3 yum is installed mainly in /usr/lib/python2.3; which version of yum are you using and where did it come from?


[tim@william 2004]$ yum --version
2.1.11
[tim@william 2004]$ python -V
Python 2.4b2

As I said, I upgraded from FC-3 test3 to FC-3,
and yum worked perfectly,
until _after_ I downloaded some 200 rpms with "yum upgrade".
I see (from yum.log) that this did upgrade both yum and python.

The settings in /etc/yum.repos.d/ are those that came with FC-3;
each of the files
==================================
fedora-devel.repo
fedora.repo
fedora-updates.repo
fedora-updates-testing.repo

I suspect you have "enabled=1" in either or both of fedora-devel.repo and fedora-updates-testing.repo; you appear to be running rawhide, not FC3 (i.e. you've upgraded *past* FC3).


Paul.


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

  Powered by Linux