Find the answer to your Linux question:
Results 1 to 2 of 2
hi all ,,, firstly i'm sooo embarrasingly new to linux, i have searched all the forums about my predicament any way my problem started when i was trying to get ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    problems with repositories i think

    hi all ,,,
    firstly i'm sooo embarrasingly new to linux,

    i have searched all the forums about my predicament

    any way my problem started when i was trying to get Gnome Do (gnome docky) sorted out, i was on a page explaining what to download or copy using a terminal, so like a newbie i copied the code suggested and pasted in a terminal thingy, that was it,

    I have tried "yum lean all" , and "yum clean metadata", ive googled the text asked.com.... for a few days now, searched these forums, googled every conotation i can think of,,, either im unique in that i cant find a fluffy thing to do with what i have got,,,,

    ive checked the file in question its in /etc/yum.repos.d folder.

    i have opened the file wit gedit text editor and basically it takes me to facebook login page

    here's what comes up in yum when requesting ANYTHING AT ALL,,,,
    without the brackets

    ( Loaded plugins: presto, refresh-packagekit, remove-with-leaves
    Config Error: File contains no section headers.
    file: file://///etc/yum.repos.d/kagesenshi.repo, line: 1
    '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n'
    )

    thing is i dont really know how to go about fixing this without re-installation and start all over again,

    i have
    acer laptop, aspire 1600,
    fedora 12.
    intel pentium 4 2.8
    512mb ddr sdram
    40gb altra ata/100 hdd
    dvd/d-rw

    no idea what else to put,,, hope someone an help,,,,

    thanks in advance

    sam

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Error:

    Code:
    Config Error: File contains no section headers.
    Where is the error? This file:

    Code:
    /etc/yum.repos.d/kagesenshi.repo
    This is a custom repo you added and it has bad configuration information in it. Move/delete the file:

    Code:
    mv /etc/yum.repos.d/kagesenshi.repo /root
    Rerun yum afterwards.

Posting Permissions

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