|
Home > Archive > Red Hat Topics > March 2006 > Fedora Core 4 updated - Now yum won't work!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Fedora Core 4 updated - Now yum won't work!
|
|
| somebody 2006-03-01, 7:48 am |
| I just did a "yum -y update", and am now at kernel
2.6.15-1.1831_FC4. Besides breaking other things,
yum will not run, and displays the error below.
I tried installing from a src rpm, but that didn't
help. I also tried upgrading, and downgrading yum
but that didn't help either. I also "forced" a
re-installation of python, and still it won't run
Any suggestions would be greatly appreciated.
mybox:/> yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named cElementTree
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
| |
| Lenard 2006-03-01, 7:48 am |
| somebody wrote:
> I just did a "yum -y update", and am now at kernel
> 2.6.15-1.1831_FC4. Besides breaking other things,
> yum will not run, and displays the error below.
> I tried installing from a src rpm, but that didn't
> help. I also tried upgrading, and downgrading yum
> but that didn't help either. I also "forced" a
> re-installation of python, and still it won't run
> Any suggestions would be greatly appreciated.
Did the python-elementtree rpm package recently change??? (most likely)
Download the source rpm to yum and rebuild the binary, as root from the
console or xterm session;
rpm -ivh
http://download.fedora.redhat.com/p...2.3.2-7.src.rpm
The above command is one long line, watch out for word wrap. A space is
after the 'rpm -ivh' portion and before the rest. This will download and
installs the source package.
cd /usr/src/redhat/SPECS
rpmbuild -bb yum.spec
cd/usr/src/redhat/RPMS/i386 (or x86_64 or whatever)
rpm -Uvh yum-2.3.2*.rpm --force
--
"A personal computer is called a personal computer because it's yours,
Anything that runs on that computer, you should have control over."
Andrew Moss, Microsoft's senior director of technical policy, 2005
| |
| somebody 2006-03-01, 5:47 pm |
| > Did the python-elementtree rpm package recently change??? (most likely)
>
> Download the source rpm to yum and rebuild the binary, as root from the
> console or xterm session;
>
> rpm -ivh
> http://download.fedora.redhat.com/p...2.3.2-7.src.rpm
>
> The above command is one long line, watch out for word wrap. A space is
> after the 'rpm -ivh' portion and before the rest. This will download and
> installs the source package.
>
> cd /usr/src/redhat/SPECS
>
> rpmbuild -bb yum.spec
>
> cd/usr/src/redhat/RPMS/i386 (or x86_64 or whatever)
>
> rpm -Uvh yum-2.3.2*.rpm --force
Yes, I believe the pyhon-elementtree module changed when I did
a "yum update". I tried what you suggested, and receive a
different error regarding python:
mypc:/downloads> yum
The yum libraries do not seem to be availableon your system for this version of Python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
Please make sure the package you used to installyum was built for your
install of python.
I've tried unsuccessfully to upgrade python, and install different
versions of elemttree. Any other suggestions?
-Thanks
|
|
|
|
|