LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora - Installation (https://www.linuxquestions.org/questions/fedora-installation-39/)
-   -   yum (https://www.linuxquestions.org/questions/fedora-installation-39/yum-290380/)

fakie_flip 02-15-2005 12:23 AM

yum
 
i use yum i got this

[root@localhost christopher]# yum update
Setting up Update Process
Setting up Repo: dag
http://apt.sw.be/fedora/en/dag/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: dag
failure: repodata/repomd.xml from dag: [Errno 256] No more mirrors to try.
[root@localhost christopher]#

i am new at linux im trying to get dependency packages so i can install packages from the linux disk

reddazz 02-15-2005 12:33 AM

It seems like there is a problem with the mirror you are trying to access. You can either add more mirrors to /etc/yum.conf or wait until the mirror is fully functional again.

fakie_flip 02-15-2005 01:03 AM

ok how do i add more mirrors to yum.conf i was afraid to guess and try to do it i will mess up my computer

overlord73 02-15-2005 01:04 AM

try another mirror near you.

http://fedora.redhat.com/download/mirrors.html

edit /etc/yum.conf and add the mirror-repo or put it in a separate file named mirrorname.repo for example in /etc/yum.repos.d

overlord73 02-15-2005 01:07 AM

example for the newly released fedora-extras:

cat /etc/yum.repos.d/fedora-extras.repo

Code:

[extras]
name=Fedora Extras - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras

[extras-debug]
name=Fedora Extras - $releasever - $basearch - Debugging packages
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
enabled=0


fakie_flip 02-15-2005 01:19 AM

now it says i dont have permission to write to that folder:confused: :(

reddazz 02-15-2005 03:56 AM

Thats because you need to be root to edit system files. Switch to root in a console using the "su" command then edit the file.


All times are GMT -5. The time now is 09:44 PM.