Find the answer to your Linux question:
Results 1 to 7 of 7
Hi. I have a problem With yum [~]# yum update Traceback (most recent call last): File "/usr/bin/yum", line 28, in ? import yummain ImportError: No module named yummain I hope ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    4

    I have a problem With yum


    Hi.
    I have a problem With yum

    [~]# yum update
    Traceback (most recent call last):
    File "/usr/bin/yum", line 28, in ?
    import yummain
    ImportError: No module named yummain

    I hope to find help

    Thank you.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hi. That means the user doesn't have correct permission. Try it as
    Code:
    sudo yum update

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    4
    [~]# sudo yum update
    Traceback (most recent call last):
    File "/usr/bin/yum", line 28, in ?
    import yummain
    ImportError: No module named yummain

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    What distro are you running? Fedora, RHEL? And what release?

  6. #5
    Just Joined!
    Join Date
    Oct 2009
    Posts
    4
    CentOS 5 32Bit
    # uname -r
    2.6.18-92.1.13.el5.028stab059.6

    Thank you for reply

  7. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    The problem seems to be a python module that yum needs didn't get updated.

    Yum problem with CentOS - help please - LinuxQuestions.org

  8. #7
    Just Joined!
    Join Date
    Oct 2009
    Posts
    4
    thanks reed9.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •