Jump to content

Problem with Yum


harinath

Recommended Posts

Hi Guys here I am facing problem with YUM since weeks ago

 

when I give yum install http*

 

Traceback (most recent call last):

  File "/usr/bin/yum", line 28, in <module>

    import yummain

  File "/usr/share/yum-cli/yummain.py", line 75

    base = cli.YumBaseCli()

      ^

SyntaxError: invalid syntax

 

this is output I am getting,please can anybody help in this issue,needed urgent,please reply as soon as possible

Link to comment
https://forums.phpfreaks.com/topic/171774-problem-with-yum/
Share on other sites

Your going to have to do some googling, reading & learning.

 

rpm -qa 

Shows all listed installed packages.

rpm -qa | grep yum

Shows all yum packages installed.

 

Your going to have to search and download a rpm package for either yum (if you want to try and fix it) or httpd. (RPMs available on http://dries.ulyssis.org/rpm/packages/index.html and other places too).

 

Read: http://www.rpm.org/max-rpm/

 

-steve

Link to comment
https://forums.phpfreaks.com/topic/171774-problem-with-yum/#findComment-909818
Share on other sites

Thanks Steve for telling me a 2 different commands and give me a links to read and install different packages,but you did not get my actual problem,here the problem is when I am giving

 

yum install httpd or httpd* it is showing the error as

 

Traceback (most recent call last):

  File "/usr/bin/yum", line 28, in <module>

    import yummain

  File "/usr/share/yum-cli/yummain.py", line 75

    base = cli.YumBaseCli()

      ^

SyntaxError: invalid syntax

[root@localhost harinath]# yum install samba*

Traceback (most recent call last):

  File "/usr/bin/yum", line 28, in <module>

    import yummain

  File "/usr/share/yum-cli/yummain.py", line 75

    base = cli.YumBaseCli()

      ^

SyntaxError: invalid syntax

 

Please let me know once you solved my problem

 

 

Link to comment
https://forums.phpfreaks.com/topic/171774-problem-with-yum/#findComment-910058
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.