FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just finished installing a FC3 box, clean installation from CDs. Ran "yum update" afterwards. The OS seems working without problem.
However on evoking
cat /etc/yum.conf
Code:
[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
No repositories inside.
I was not allowed adding;
Code:
:[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
[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
[development]
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
On running
# yum update
It complained and I have to remove all of them.
Kindly advise whether I did anything wrong.
Besides I could not find "acrobat reader" from net
# yum search acroread
Code:
Searching Packages:
Setting up Repos
base 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 854/854
No Matches found
It's strange there are no repositories in yum.conf. Anyway you can rewrite the default yum.conf with the one that coantains livna repos which are faster. Here's the link . (It's safe, don't worry). Also you can install yum extender , which is a gui frontend for yum; it's easy to use and allows you to use lots of different repositories.
Well, for your first post, it seems there are the default repositories in /etc/yum.conf. I haven't run "yum update" the way you said, (I always run "yum update <package_name>"). Maybe it updated all the packages you have installed?? Run "yum check-update", if you see no packages so it updatedt all the packages; or maybe without parameters it just updates the kernel?? I'm not sure.
Try adding each repository as a seperate file in /etc/yum.repos.d. You may have to import the GPG keys for these repos as well (rpm --import /path/to/gpg/key) if you haven't done this already.
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
If you were able to run "yum update" as root, then you should be fine. It sounds like the package you named doesn't exist in any of your repositories. Yes - if you need to add another repository, the best way to do it is add another file to the /etc/yum.repos.d directory.
Well I don't know how to retrieve the default /etc/yum.conf, all I can suggest you is to use livna's yum.conf which is safe and fast and has the same packages that the default yum.conf has. All you have to do is download it from the previous link and copy it in /etc. This way you'll overwrite your default yum.conf and get the livna repositories. (That's what I did and it works fine for me). You can also download yum extender which is a GUI frontend for yum and uses lots of repositories (including the default yum.conf repositories, livna repositories and others). With yum extender you can select which repositories you want to use, if you find it more secure. I hope this helps you.
Well I don't know how to retrieve the default /etc/yum.conf, all I can suggest you is to use livna's yum.conf........
I performed following steps
# touch /etc/yum.repos.d/livna.repo
copied
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=0
# Added this because some mirrors go down and then retying takes forever.
retries=1
timeout=10
# Basic Repos are in /etc/yum.conf.d/ #
###################
## Fedora Extras ##
###################
[extras]
name=Fedora Extras - $releasever - $basearch
baseurl=http://fr2.rpmfind.net/linux/fedora/extras/$releasever/$basearch/
http://mirrors.kernel.org/fedora/extras/$releasever/$basearch/
http://mirror.hiwaay.net/redhat/fedora/linux/extras/$releasever/$basearch/
http://www.mirrorservice.org/sites/d.../linux/extras/$releasever/$basearch/
# http://download.fedora.redhat.com/pu.../linux/extras/$releasever/$basearch/
gpgcheck=0
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
###############
## Livna.org ##
###############
[livna-stable]
name=Livna.org - Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.stable
#gpgcheck=1
[livna-unstable]
name=Livna.org - Fedora Compatible Packages (unstable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.unstable
#gpgcheck=1
[livna-testing]
name=Livna.org - Fedora Compatible Packages (testing)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.testing
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.testing
#gpgcheck=1
############
# Jpackage #
############
# JPackage is a GREAT repository for Java Software.
# However, you may have to compile some SRPMs to use it,
# so it's commented out by default. See
# <http://mirrors.sunsite.dk/jpackage/1...non-free/SRPMS>
# For the SRPMs, and <http://www.jpackage.org/rebuilding.php> for
# the general details.
#
# Note: JPackage IS compatible with the fedora.us repositories.
# You can use JPackage and fedora.us at the same time, without
# any trouble. It's also compatible with the Alternate Repositories,
# for the most part.
[jpackage-generic]
name=JPackage Cross-Platform Packages
baseurl=http://mirrors.sunsite.dk/jpackage/1.6/generic/free
ftp://jpackage.hmdc.harvard.edu/JPac...6/generic/freehttp://sunsite.informatik.rwth-aache...6/generic/free
failovermethod=priority
enabled=0
#gpgcheck=1
[jpackage-fedora]
name=JPackage Fedora Packages
baseurl=http://mirrors.sunsite.dk/jpackage/1.6/fedora-$releasever/free
ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/fedora-$releasever/free
http://sunsite.informatik.rwth-aache...ge/1.6/fedora-$releasever/free
failovermethod=priority
enabled=0
#gpgcheck=1
############################
## Alternate Repositories ##
############################
# To use these repos, either use the --enablerepo
# command-line argument to yum, or change "enabled=0"
# to "enabled=1". Note: Some packagesfrom these repositories
# may conflict with the fedora.us packages. If you use these
# repositories, you may wish to disable the fedora.us and
# livna.org repositories.
[freshrpms]
name=FreshRPMs
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=0
#gpgcheck=1
[dag]
name=Dag APT Repository
baseurl=http://dag.freshrpms.net/fedora/$releasever/en/$basearch/dag/
http://dag.atrpms.net/fedora/$releasever/en/$basearch/dag/
http://ftp.heanet.ie/pub/freshrpms/pub/dag/fedora/$releasever/en/$basearch/dag/
enabled=0
#gpgcheck=1
[dries]
name=Dries APT/YUM Repository
baseurl=http://ftp.freshrpms.net/pub/dag/dries/fedora/linux/$releasever/$basearch/dries/RPMS/
http://mirrors.ircam.fr/pub/dag/dries/fedora/linux/$releasever/$basearch/dries/RPMS/
http://apt.sw.be/dries/fedora/linux/$releasever/$basearch/dries/RPMS/
http://dries.studentenweb.org/yum/fedora/linux/$releasever/$basearch/dries/RPMS/
enabled=0
#gpgcheck=1
[newrpms]
name=NewRPMs
baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever
http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever
enabled=0
#gpgcheck=1
[atrpms]
name=ATrpms - Stable
baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable
http://ftp-stud.fht-esslingen.de/atr...ms.net/fedora/$releasever/en/$basearch/at-stable
http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-stable
enabled=0
#gpgcheck=1
[atrpms-testing]
name=ATrpms - Testing
baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-testing
http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-testing
http://ftp-stud.fht-esslingen.de/atr...ms.net/fedora/$releasever/en/$basearch/at-testing
enabled=0
#gpgcheck=1
# Warning: Don't enable this "bleeding" repo if you want stable software!
[atrpms-bleeding]
name=ATrpms - Bleeding
baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding
http://ftp-stud.fht-esslingen.de/atr...ms.net/fedora/$releasever/en/$basearch/at-bleeding
http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-bleeding
enabled=0
#gpgcheck=1
###################
## Miscellaneous ##
###################
# Semi-official Macromedia repository containing the flash-plugin rpm.
[flash]
name=macromedia.mplug.org - Flash Plugin
baseurl=http://macromedia.mplug.org/apt/fedora/$releasever
http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever
http://ruslug.rutgers.edu/macromedia/apt/fedora/$releasever
http://macromedia.rediris.es/apt/fedora/$releasever
enabled=0
#gpgcheck=1
Yes, you should import gpg keys. The yumex repos url's are in /etc/yumex.repos.conf. By the way, you can start yumex just by going to menu/system tools (or system)/Yum Extender.
I forgot, gpgkeys url's are in /etc/yumex.repos.conf as well. To import them just su to root and type: rpm --import <gpgkey_url>, where <gpgkey_url> is the url specified in the gpgkey sections of /etc/yumex.repos.conf. This link might help you.
According to the yum.conf you posted, most of your repositories are not enabled. I don't know anything about yumex, so I'm no help there at all. Personally, I use base, freshrpms, dries, atrpms and dag. I also use kde-for-redhat. I generally only use rpmforge repositories, but kde 3.4 is a must IMO, and amaroK is more or less also a must have. Google for dag repositories for more info about rpmforge.
After downloaded and installed "yumex-0.34-1.tla.1.FC3.noarch.rpm" my life is much easier now.
Run
# yumex
on Konsole as root to start "Yum Extender" window
Repositories -> Install Repository -> check the repositories to be installed -> Add
The repositories were automatically installed as separate files under /etc/yum.repo.d/
The "base", "update-released ", etc. were automatically installed on /etc/yum.config.
Run Cmd -> selecting; clean/check-upate/, etc. and entering "Yum Parameter" -> Execute
you will be on your way.
One problem still encountered, I was not allowed to check the boxes of "Didier" and "atrpms" on the "Select Active Repositories" window. I have /etc/yum.repos.d/atrpms-stable (a separte yum repository file) Did it matter? Then what about "DIdier"?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.