Python problems with FC5
I have been getting error messages when I use the command
yum-y update. Quote:
Also when I download and have run rpm -ivh Python-2.4.x.x.x.FC5.i386.rpm I get you have already installed this and the same applies to installing YUM How can I get rid of the Mandriva components and replace with the appropriate Fedora Core equivalents |
Here's the message I get when I try and install a later (FC5) version of Python
Quote:
|
and, of course, the same applies to YUM
Quote:
Quote:
|
Latest news
Quote:
rpm -ivh python-2.4.3-8.FC5.i386.rpm Quote:
but V 2.4.3 is YUM needs python to work and the command I use to update all the packages is yum -y update so when I use this (again as su) I get Quote:
So that which doesn't exist does indeed but that which shouldn't does The package I'm trying to remove isn't there the package I'm trying to install is already installed |
I'm starting to think that my only solution is to do a complete re-install of Core 5.
I have looked through all of /etc and found nothing called (or resembling) python 2.4.1 there have looked through /usr with the same result Where else should I be looking as (apart from this) I have the machine running everything I wanted above my expectations ? :cry: :cry: |
Have you tried yum clean all
It's a long shot, but may help, before you try a reinstall. |
Well if
yum -y update returns an error message of "Yum is not installed" Quote:
something like Quote:
|
woops, sorry didn't mean to increase your frustration, guess i should have read a bit more carefully.
|
Latest --
#updatedb --(wait a few minutes) #locate python this gives me the location of the file I don't want remove the file replace with Python 2.4.3 FC5 installs like a charm !! - (briefly happy and hopeful) This all started because I was unable to update anything because of the incorrect version of Python now this has been solved I expected the problem to have cleared up But Quote:
|
You hosed python, yum and rpm by installing Mandriva packages on Fedora Core. Whilst Mandriva and Fedora Core share the same basic package management system, their packages are not compatible. Since rpm is hosed and there is not way to reinstall yum, python and rpm a complete OS reinstall maybe necessary.
|
Quote:
with the greatest reluctance to accept this as sage advice Quote:
but Since I have re-installed the correct python package, the correct yum package what's the impediment to fixing rpm ? :confused: |
Since rpm seems to be somehow working, try doing
Code:
# rpm -Uvh --nodeps --force rpm-4.4.2-15.2.i386.rpm |
This looked good so I tried it
Quote:
Now to the latest python from the fedora core repository so python forced itself But to no avail the report is still "no module named rpm" So I'm still at a loss :( |
Did you read the last bit of the post that talks about rpm-python? :)
|
Quote:
|
All times are GMT -5. The time now is 12:32 PM. |