FC4 yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can't figure out why yum won't work.

[root@localhost yum.repos.d]# yum check-update
Setting up repositories
Cannot find a valid baseurl for repo: updates-released

[root@localhost etc]# yum --disablerepo=updates-released check-update
Setting up repositories
Cannot find a valid baseurl for repo: extras

[root@localhost etc]# yum --disablerepo=updates-released
--disablerepo=extras check-update
Setting up repositories
Cannot find a valid baseurl for repo: base

[root@localhost etc]# yum --disablerepo=updates-released
--disablerepo=extras --disablerepo=base check-update
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files

Here are my files
[root@localhost yum.repos.d]# more /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

[root@localhost etc]# ll yum.repos.d/
total 48
-rw-r--r--  1 root root 1123 Jun  3 11:12 fedora-devel.repo
-rw-r--r--  1 root root  312 Jun  3 11:12 fedora-extras-devel.repo
-rw-r--r--  1 root root  299 Jun  3 11:12 fedora-extras.repo
-rw-r--r--  1 root root  294 Jun  3 11:12 fedora.repo
-rw-r--r--  1 root root  330 Jun 18 17:37 fedora-updates.repo
-rw-r--r--  1 root root  337 Jun  3 11:12 fedora-updates-testing.repo
[root@localhost etc]# more yum.repos.d/*
::::::::::::::
yum.repos.d/fedora-devel.repo
::::::::::::::
[development]
# These packages are untested and still under development. This
# repository is used for updates to test releases, and for
# development of new releases.
#
# This repository can see significant daily turn over and can see major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
# fedora-test-list@xxxxxxxxxx is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# fedora-devel-list@xxxxxxxxxx is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with developing new releases.
#
# Reportable issues should be filed at bugzilla.redhat.com
# Product: Fedora Core
# Version: devel
name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide
enabled=0
gpgcheck=0
::::::::::::::
yum.repos.d/fedora-extras-devel.repo
::::::::::::::
[extras-development]
name=Fedora Extras $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-devel
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0
::::::::::::::
yum.repos.d/fedora-extras.repo
::::::::::::::
[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
::::::::::::::
yum.repos.d/fedora.repo
::::::::::::::
[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
::::::::::::::
yum.repos.d/fedora-updates.repo
::::::::::::::
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
::::::::::::::
yum.repos.d/fedora-updates-testing.repo
::::::::::::::
[updates-testing]
name=Fedora Core $releasever - $basearch - Test Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc$releasever
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test

Also, it might be of note that up2date doesn't work for me either, it
just has a gray icon with a red slash through it.  The warning is
"Network Error -3: Temporary failuer in name resolution"
-- 
-Dragos Neagu <><
"If I have been able to see farther, it was only because I stood on
the shoulders of giants." - Sir Isaac Newton
Get Firefox!   http://www.getfirefox.com


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux