LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Yum not working on Fedora 8 - 64 bit (https://www.linuxquestions.org/questions/linux-server-73/yum-not-working-on-fedora-8-64-bit-861151/)

Prabagaran 02-07-2011 06:12 AM

Yum not working on Fedora 8 - 64 bit
 
Hi,
Yum was working fine earlier, but i don't know, when the problem occured. Recently when i tried to install some apps through yum, i was not able to.

Then i tried to update yum, but i got the same error which i got when tried to install apps, as mentioned below:

#yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in <module>
import yummain
File "/usr/share/yum/yummain.py", line 22, in <module>
import clientStuff
File "/usr/share/yum/clientStuff.py", line 18, in <module>
import rpm
ImportError: No module named rpm

Whichever command issued with yum, above mentioned is the only error i get.

Would be really greateful, if someone directs me in right path to get rid of this issue and start working yum as before.

Regards, Prabagaran L.

prodev05 02-08-2011 03:45 AM

try running up2date or update your yum package and try again. Try these two options, possibly the issue would resolve.

John VV 02-08-2011 12:15 PM

yum WAS NOT working fine on fedora 8

almost all of the 8 repos mirrors are dead and the repo was moved to the historical archives last year

Quote:

Then i tried to update yum
seeing as the VERY LAST update to fedora 8 was 2 years ago
update & yum will not have worked for the last two years

Quote:

Would be really greateful, if someone directs me in right path to get rid of this issue and start working yum as before.
there is NO WAY to get it to work when there is NOTHING to install with yum on fedora 8
yum IS 100% dead on 8

the only fix is to install a supported version of fedora
the current is fedora 14
you are 6 versions OUT OF DATE

Prabagaran 02-09-2011 01:09 AM

Quote:

Originally Posted by Arun
try running up2date or update your yum package and try again

"up2date or update" will this update yum or the operating sytem ?

Quote:

Originally Posted by John VV
you are 6 versions OUT OF DATE

I agree that i am not using the current version of Fedora.

Quote:

Originally Posted by John VV
there is NO WAY to get it to work when there is NOTHING to install with yum on fedora 8
yum IS 100% dead on 8

I have another 5 Linux servers running Fedora 8 (64-bit), along with YUM working without any issues, since 2009.

So, I think there would be a way to resolve the reported issue, which i don't know :(

prodev05 02-09-2011 02:11 AM

I agree with John VV statement. :)

Prabagaran For what purpose you are updating Fedora 8, running any Apps/its a production box ?

Prabagaran 02-09-2011 02:32 AM

Hi prodev05,

I am not at all trying to update my operating system, as it is a production server.

But, i need a solution to fix the issue which i have with YUM, in the Fedora 8 box.

prodev05 02-09-2011 03:42 AM

Great. Then this won't work. Probably you have to check the technical notes (for bugs solved/open bugs), then start work on the issue. If the issue is related to production, pl upgrade the OS to your latest. Else deploy a new box. :)

John VV 02-09-2011 04:36 PM

Quote:

"up2date or update" will this update yum or the operating sytem ?
fedora DOSE NOT and never did use the VERY old rhel4 "up2date"

up2date in NOT USED !!!!
Quote:

I have another 5 Linux servers running Fedora 8 (64-bit), along with YUM working without any issues, since 2009.
HOW
the fedora 8 repos have been dead for 2 years
most have been removed from the mirrors
http://mirrors.fedoraproject.org/pub...Fedora/8/i386/
there are only 8 still listed
and you would have had to manually edit the yum repo mirror list to use them
and the main was moved to the .archives. historical archives

there has been NO NEW RPMS added to the fedora 8 repo in two 2 years
how can it "still be working" !!!!!!


Quote:

I am not at all trying to update my operating system, as it is a production server.
a production server
why was fedora 8 even installed in Nov.2007
the life for fedora is only 13 months
that means that fedora 10 SHOULD have been installed before Dec. 2008

Using fedora, was and never has been , recommended for a server AND NEVER NEVER recommended for a production server!!!
at this point i would VERY SERIOUSLY !!!! think about installing CentOS 5.5 or RHEL 6.0


All times are GMT -5. The time now is 07:21 PM.