Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
whenever i try and run yum on fc6 i get the same error [root@localhost ~]# yum update Loading "installonlyn" plugin Repository updates is listed more than once in the configuration ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Location
    UK
    Posts
    31

    yum problems


    whenever i try and run yum on fc6 i get the same error

    [root@localhost ~]# yum update
    Loading "installonlyn" plugin
    Repository updates is listed more than once in the configuration
    Setting up Update Process
    Setting up repositories
    http://apt.sw.be/fedora/6/en/i386/da...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Sun, 10 Dec 2006 04:39:19 GMT
    Content-Length: 310
    Content-Type: text/html; charset=iso-8859-1
    Server: Apache/2.2.2 (Unix)

    Trying other mirror.
    Error: Cannot open/read repomd.xml file for repository: dag

  2. #2
    Linux Newbie unchiujar's Avatar
    Join Date
    Oct 2006
    Posts
    194
    Try removing the repository from the ones that yum checks.

    yum --disablerepo=dag update

    I assume it's called dag

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    open /etc/yum.repos.d folder and move dag.repo file ( or file having similar name ) to somewhere else. you must be root to do this.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2005
    Location
    UK
    Posts
    31
    this is what happened when running "yum --disablerepo=dag update"

    [root@localhost ~]# yum --disablerepo=dag update
    Loading "installonlyn" plugin
    Repository updates is listed more than once in the configuration
    Setting up Update Process
    Setting up repositories
    extras 100% |=========================| 1.1 kB 00:00
    core 100% |=========================| 1.1 kB 00:00
    base 100% |=========================| 951 B 00:00
    updates 100% |=========================| 951 B 00:00
    freshrpms 100% |=========================| 1.1 kB 00:00
    http://download.fedoralegacy.org/fed...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Sun, 10 Dec 2006 06:34:56 GMT
    Content-Length: 337
    Content-Type: text/html; charset=iso-8859-1
    Server: Apache/2.0.51 (Fedora)

    Trying other mirror.
    Error: Cannot open/read repomd.xml file for repository: legacy-utils
    also in the /etc/yum.repos.d folder i have these files only
    [root@localhost ~]# cd /etc/yum.repos.d
    [root@localhost yum.repos.d]# dir
    fedora-core.repo fedora-extras-development.repo~ fedora-updates.repo~
    fedora-core.repo~ fedora-extras.repo fedora-updates-testing.repo
    fedora-development.repo fedora-extras.repo~ fedora-updates-testing.repo~
    fedora-development.repo~ fedora-legacy.repo freshrpms.repo
    fedora-extras-development.repo fedora-updates.repo freshrpms.repo~

  6. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    problem in legacy repo. execute this
    Code:
    su -
    mv /etc/yum.repos.d/fedora-legacy.repo /etc/yum.repos.d/fedora-legacy.repo.bak
    yum clean all
    yum update





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #6
    Just Joined!
    Join Date
    Nov 2005
    Location
    UK
    Posts
    31
    thnaks but its stil not working this is what happened
    [ollie@localhost ~]$ su -
    Password:
    [root@localhost ~]# mv /etc/yum.repos.d/fedora-legacy.repo /etc/yum.repos.d/fedora-legacy.repo.bak
    [root@localhost ~]# yum clean all
    Loading "installonlyn" plugin
    Repository updates is listed more than once in the configuration
    Cleaning up Everything
    [root@localhost ~]# yum update
    Loading "installonlyn" plugin
    Repository updates is listed more than once in the configuration
    Setting up Update Process
    Setting up repositories
    extras 100% |=========================| 1.1 kB 00:00
    core 100% |=========================| 1.1 kB 00:00
    http://apt.sw.be/fedora/6/en/i386/da...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Sun, 10 Dec 2006 06:56:57 GMT
    Content-Length: 310
    Content-Type: text/html; charset=iso-8859-1
    Server: Apache/2.2.2 (Unix)

    Trying other mirror.
    Error: Cannot open/read repomd.xml file for repository: dag
    [root@localhost ~]#

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    execute this
    Code:
    su -
    rm /etc/yum.repos.d/*.repo~
    yum --disablerepo=dag update
    in case, it doesn't work, post the output of 'ls /etc/yum.repos.d' again.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Just Joined!
    Join Date
    Nov 2006
    Posts
    1
    @olliepetch

    whether u r using internet or not
    1.if u r using internet in FC6 there is no problem in running yum (add/remove programs)
    2.if u want to install packages from ur CD then


    better see this link http://www.city-fan.org/tips/YumRepo...goryTip%5Cb%29

  10. #9
    Just Joined!
    Join Date
    Nov 2005
    Location
    UK
    Posts
    31
    still not working
    [root@localhost ~]# rm /etc/yum.repos.d/*.repo~
    rm: remove regular file `/etc/yum.repos.d/fedora-core.repo~'? yes
    rm: remove regular file `/etc/yum.repos.d/fedora-development.repo~'? yes
    rm: remove regular file `/etc/yum.repos.d/fedora-extras-development.repo~'? yes
    rm: remove regular file `/etc/yum.repos.d/fedora-extras.repo~'? yes
    rm: remove regular file `/etc/yum.repos.d/fedora-updates.repo~'? yes
    rm: remove regular file `/etc/yum.repos.d/freshrpms.repo~'? yes
    [root@localhost ~]# yum --disablerepo=dag update
    Loading "installonlyn" plugin
    Repository updates is listed more than once in the configuration
    Setting up Update Process
    Setting up repositories
    http://download.fedoralegacy.org/fed...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Sun, 10 Dec 2006 07:29:24 GMT
    Content-Length: 337
    Content-Type: text/html; charset=iso-8859-1
    Server: Apache/2.0.51 (Fedora)

    Trying other mirror.
    Error: Cannot open/read repomd.xml file for repository: legacy-utils
    [root@localhost ~]# ls /etc/yum.repos.d
    fedora-core.repo fedora-legacy.repo.bak
    fedora-development.repo fedora-updates.repo
    fedora-extras-development.repo fedora-updates-testing.repo
    fedora-extras.repo freshrpms.repo
    [root@localhost ~]#

  11. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    hmmm.... something wrong in repo files.
    move all files
    Code:
    su -
    mkdir ~/repo
    mv /etc/yum.repos.d/* ~/repo
    create three files in /etc/yum.repos.d folder. copy contents as it is and save files.
    filename -- fedora-core.repo
    Code:
    [core]
    name=Fedora Core $releasever - $basearch
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
    filename -- fedora-extras.repo
    Code:
    [extras]
    name=Fedora Extras $releasever - $basearch
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
    gpgcheck=1
    filename -- fedora-updates.repo
    Code:
    [updates]
    name=Fedora Core $releasever - $basearch - Updates
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    you must be logged in as root to create these files. you can use any editor like gedit, kate or kwrite etc...
    after saving these files, execute 'yum clean all' and 'yum update'





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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