Koozali.org: home of the SME Server

Error when using YUM

Offline Teviot

  • *
  • 610
  • +0/-0
Error when using YUM
« on: January 16, 2005, 09:31:38 AM »
I have a proble with YUM.  Every time I try to check the reposity's is get the following responce.

Quote
Yum check repository report
Software error:
Error running yum info updates.

For help, please send mail to the webmaster (admin), giving this error message and the time and date of the error.


Can anyone help me.

Thanks in Advance
Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

djhomeless

Error when using YUM
« Reply #1 on: January 17, 2005, 04:41:23 PM »
Are you doing this from the command line or the web interface?

Offline Teviot

  • *
  • 610
  • +0/-0
Error when using YUM
« Reply #2 on: January 18, 2005, 01:12:58 AM »
Quote
Posted: 16 Jan 2005 18:31    Post subject: Error when using YUM

--------------------------------------------------------------------------------
 
I have a proble with YUM. Every time I try to check the reposity's is get the following responce.

Quote:
Yum check repository report
Software error:
Error running yum info updates.

For help, please send mail to the webmaster (admin), giving this error message and the time and date of the error.
 


Can anyone help me.

Thanks in Advance
Adrian


Quote
Are you doing this from the command line or the web interface?


Yes i am
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

mbachmann

Error when using YUM
« Reply #3 on: January 18, 2005, 11:23:23 AM »
You cannot reply yes to an "or" question, because nobody will understand wich "or" you have in mind.

djhomeless

Error when using YUM
« Reply #4 on: January 18, 2005, 01:01:27 PM »
Quote from: "mbachmann"
You cannot reply yes to an "or" question, because nobody will understand wich "or" you have in mind.


Unless your goal is to confuse us! :)

Offline Teviot

  • *
  • 610
  • +0/-0
Error when using YUM
« Reply #5 on: January 19, 2005, 05:06:32 AM »
how about instead of caring on ... answer the question
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

silva

yum
« Reply #6 on: January 20, 2005, 07:02:55 PM »
this message shows up when you are using the web interface. Have you tried running yum from the command line? which version on yum are you using, 1 or 2 ? also do you have any repositories configured?
often, without the right information it can be difficult to figure out the problem.

nicbaxter

Error when using YUM
« Reply #7 on: February 01, 2005, 12:31:13 AM »
Hi teviot
I had this issue after I upgraded by Python from 1.5 to 2.0.  I just linked /usr/bin/python back to /usr/bin/python1.5 and it worked again.  I mean to investigate further but ran out of time.

Cheers
Nic

Offline Teviot

  • *
  • 610
  • +0/-0
Error when using YUM
« Reply #8 on: February 01, 2005, 03:26:12 AM »
Hello Nic

how do I do what you suggest?

Regards
Adrian

Quote
Hi teviot
I had this issue after I upgraded by Python from 1.5 to 2.0. I just linked /usr/bin/python back to /usr/bin/python1.5 and it worked again. I mean to investigate further but ran out of time.

Cheers
Nic
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

nicbaxter

Error when using YUM
« Reply #9 on: February 01, 2005, 04:09:40 AM »
Hi Adrian
The first thing to do is check which version of python you are using so from a command prompt type:
ls -l /usr/bin/python
I get a result like:
lrwxrwxrwx    1 root     root           18 Feb  1 13:50 /usr/bin/python -> /usr/bin/python1.5
If your's points to a version other than python1.5 then you may have the same issue as me.  Linking python back to 1.5 may fix thenyum issue but may break another program  if it requires a later version.  Still its worth a go.  You can always change the link back later.
So login in as root and remove the link by:
rm /usr/bin/python
then:
ln -s /usr/bin/python1.5 /usr/bin/python
he new link will be created.  Check it by doing:
ls -l /usr/bin/python
the result should be the same as mine.
If you want to go back to the previous then deleted the link again and link to your other version of python like:
ln -s /usr/bin/python2 /usr/bin/python

cheers

Nic