Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I have some how managed to break my yum package installer. I am not new to linux but my skills are lacking. if i do anything with yum the ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    5

    I have broken yum

    Hi,
    I have some how managed to break my yum package installer. I am not new to linux but my skills are lacking.

    if i do anything with yum the message i receive is


    $yum
    Loaded plugins: refresh-packagekit
    Config Error: File contains no section headers.
    file: file://///etc/yum.repos.d/google.repo, line: 1
    '[google]\rname=Google - i386\rbaseurl=http//dl.google.com/linux/rpm/stable/i386\renabled=1\rgpgcheck=1\r^D\r\n'

    I also tried yum clean all

    yum clean all
    Loaded plugins: refresh-packagekit
    Config Error: File contains no section headers.
    file: file://///etc/yum.repos.d/google.repo, line: 1
    '[google]\rname=Google - i386\rbaseurl=http// dl.google.com/linux/rpm/stable/i386\renabled=1\rgpgcheck=1\r^D\r\n'

    as a final resort i tried rpm -e yum

    # rpm -e yum
    error: Failed dependencies:
    yum is needed by (installed) anaconda-yum-plugins-1:1.0-4.fc11.noarch
    yum >= 2.9.5 is needed by (installed) system-config-language-1.3.2-5.fc11.noarch
    yum >= 3.2.22 is needed by (installed) createrepo-0.9.7-7.fc11.noarch
    yum >= 3.2.19 is needed by (installed) preupgrade-1.1.0-1.fc11.noarch
    yum >= 3.2.22 is needed by (installed) yum-utils-1.1.22-1.fc11.noarch
    yum >= 3.2.19 is needed by (installed) PackageKit-yum-0.4.8-2.fc11.x86_64
    yum >= 3.0 is needed by (installed) PackageKit-yum-plugin-0.4.8-2.fc11.x86_64
    yum >= 3.2 is needed by (installed) yumex-2.0.5-6.fc11.noarch

    any suggestions would be greatly appreciated.


    ben

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Try removing the google.repo fro your /etc/yum.repos.d/ dir and see it that fixes things.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    5
    Wow, sorry.
    I dont know why i didnt think of that myself.
    Worked like a charm
    thanks!

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    No worries, it happens to the best of us.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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