I'm not sure what I need to do to get yum working again, but as of now it's not cooperating. I'm editing files, but not sure if I'm actually going the right direction or just making more of a mess here. Thanks ahead of time for anyone who can help me get this going the right way.
I
upgraded FC3 to FC4 earlier today. Everything upgraded without displaying any error messages. I'm using KDE desktop environment if that makes any difference.
Currently, this is what I have written in yum.conf:
[root@localhost etc]# more 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
###################
## 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/download.fedora.redhat.com/pub/fedora/linux
/extras/$releasever/$basearch/
# http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$base
arch/
gpgcheck=0
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fed
ora-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.6/generic/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/JPackage/1.6/generic/free
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/generic/fr
ee
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-aachen.de/ftp/pub/Linux/jpackage/1.6/fedora-$re
leasever/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/$basearc
h/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/RPM
S/
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/atrpms/download.atrpms.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/$basea
rch/at-testing
http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-testing
http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.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/atrpms/download.atrpms.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
[root@localhost etc]# yum
Code:
The yum libraries do not seem to be availableon your system for this version of python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
Please make sure the package you used to installyum was built for your install of python.
[root@localhost etc]# cd yum.repos.d
[root@localhost yum.repos.d]# ls
Code:
atrpms.repo fedora-extras.repo freshrpms.repo
dag.repo fedora.repo livna.repo
fedora-devel.repo fedora-updates.repo
fedora-extras-devel.repo fedora-updates-testing.repo
=============================================
What is this?
Downloaded the yumfix.txt script per thread:
http://fedoraforum.org/forum/showthread.php?t=59904
downloaded and installed the file under /etc since there was not clear direction as to where I should place the file, so I hope that doesn't matter... and I was in the same directory folder when I typed ./yumfix.txt
[root@localhost etc]# ./yumfix.txt
Code:
Which Repos do you want to install? If you install livna, you cannot install any others
Install livna? [y|n] y
Livna Installed!
[root@localhost etc]# yumex
Code:
kbuildsycoca running...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Traceback (most recent call last):
File "yumex.py", line 23, in ?
File "yumWrapper.py", line 26, in ?
File "/usr/src/build/535819-i386/install/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ?
RuntimeError: could not open display
[root@localhost etc]# KWrited - Listening on Device /dev/pts/4
==================================================
Unlike per thread:
http://fedoraforum.org/forum/showthr...=yum+libraries
I did not want to do a
clean install, I went the
upgrade path (since it was made available as an option to me) so here I'm stuck with this yum problem.