Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Teviot on January 16, 2005, 09:31:38 AM

Title: Error when using YUM
Post by: Teviot 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
Title: Error when using YUM
Post by: djhomeless on January 17, 2005, 04:41:23 PM
Are you doing this from the command line or the web interface?
Title: Error when using YUM
Post by: Teviot 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
Title: Error when using YUM
Post by: mbachmann 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.
Title: Error when using YUM
Post by: djhomeless 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! :)
Title: Error when using YUM
Post by: Teviot on January 19, 2005, 05:06:32 AM
how about instead of caring on ... answer the question
Title: yum
Post by: silva 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.
Title: Error when using YUM
Post by: nicbaxter 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
Title: Error when using YUM
Post by: Teviot 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
Title: Error when using YUM
Post by: nicbaxter 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