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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.