PDA

View Full Version : FAILURE: YUM not working after FC3 upgrade to FC4


need2mod
20th June 2005, 08:04 AM
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

[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

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

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

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

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/showthread.php?t=55821&highlight=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.

need2mod
20th June 2005, 08:06 AM
It's late for me, but here's some more stuff if it's necessary:

[root@localhost etc]# more yumex.repos.conf

[atrpms-bleeding]
name=ATrpms for Fedora Core $releasever bleeding
baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding
http=//wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-b
leeding
gpgcheck=1
enabled=0
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms


[atrpms-good]
name=ATrpms for Fedora Core $releasever good
baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-good
gpgcheck=1
enabled=0
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

[atrpms-stable]
name=ATrpms for Fedora Core $releasever stable
baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable
http=//wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-s
table
gpgcheck=1
enabled=0
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

[atrpms-testing]
name=ATrpms for Fedora Core $releasever testing
baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basea
rch/at-testing
http=//ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/e
n/$basearch/at-testing
gpgcheck=1
enabled=0
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

[dag]
name=Dag
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/
gpgcheck=1
enabled=0
gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://apt.sw.be/dries/fedora/linux/$releasever/$basearch/dries/RPMS/
gpgcheck=1
enabled=0
gpgkey=http://dries.ulyssis.org/ayo/RPM-GPG-KEY.dries.txt


[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=0

[freshrpms]
name=FreshRPMS-Fresh
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
gpgcheck=1
enabled=0
gpgkey=http://svn.rpmforge.net/svn/trunk/rpms/yum/RPM-GPG-KEY-freshrpms

[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=0

[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=0

[kde-redhat-stable]
name=kde-redhat-stable
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/$releasever/$basearch
/stable/mirrors
enabled=0
gpgcheck=1
gpgkey=http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca

[kde-redhat-stable-all]
name=kde-redhat-stable-all
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/all/stable/mirrors
enabled=0
gpgcheck=1
gpgkey=http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca

[kde-redhat-testing]
name=kde-redhat-testing
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/$releasever/$basearch
/testing/mirrors
enabled=0
gpgcheck=1
gpgkey=http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca

[kde-redhat-testing-all]
name=kde-redhat-testing-all
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/all/testing/mirrors
enabled=0
gpgcheck=1
gpgkey=http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca

[kde-redhat-unstable]
name=kde-redhat-unstable
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/$releasever/$basearch
/unstable/mirrors
enabled=0
gpgcheck=1
gpgkey=http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca

[kde-redhat-unstable-all]
name=kde-redhat-unstable-all
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/all/unstable/mirrors
enabled=0
gpgcheck=1
gpgkey=http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca

[livna-stable]
name=Livna.org - Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.lvn
gpgcheck=1
enabled=0
gpgkey=http://rpm.livna.org/RPM-LIVNA-GPG-KEY

[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/yum/testing
gpgcheck=1
enabled=0
gpgkey=http://rpm.livna.org/RPM-LIVNA-GPG-KEY

[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
enabled=0
gpgcheck=0
gpgkey=http://rpm.livna.org/RPM-LIVNA-GPG-KEY

[newrpms]
name=Fedora Core 3 NewRPMS.sunsite.dk
baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever
http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever
gpgcheck=1
enabled=0
gpgkey=http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt

[Didier]
name=Didier's yum repository for e17 apps/lib
baseurl=http://sps.nus.edu.sg/~didierbe/fedora/3/en/i386
gpgcheck=1
enabled=0
gpgkey=http://sps.nus.edu.sg/~didierbe/RPM-GPG-KEY.didier.txt

SlowJet
20th June 2005, 09:02 AM

It appears that you went off on a non-core non-extra treak during FC3.
You have many repos that could have installed things that FC4 would not deal with.
You even have devl repros in there and that is bad news for an updtae.

You need to clean up the yum.repo.d, yum.conf
erase yumex as it may be old,
erase yum as it is newer than the .py screwed up by yumex.

download an rpm for yum for FC4 and install it, maybe along with the 4.0.5 ....py

The do a yum clean all
yum update yum
yum update # this will download all the headers and then sync up with the new repo style (or not).

If you can't get pass the 4.0.2..py and yum for GCC4 then you are in a dependcy loop and probably need to install FC4 CD's.

If you do pass and it appears ok, it still may have devl gunk hidding in the shadows that may not appear until .... condition met.

In other words, your FC3 install was so out of core that an update FC4 was no longer an option.

SJ

need2mod
20th June 2005, 11:53 AM
Aww, SlowJet, in other words if I don't do a clean install I might have a dark cloud follow me around waiting one day to strike me down good least I expect it?? :D

I was going to go through the clean up and manual changes until you mention that there could be hidden conflicting dependencies that may not show up as a problem until conditions are met.

Oh well, you are right, I'm such a noob with Linux I wouldn't know what hit me if I run into problems later on because of this..... I will do a clean install later I suppose, not a big issue ...just a dissapointment to find out that this upgrade could not be done on my system properly.

Thanks for the help :)

need2mod
20th June 2005, 11:59 PM
F*&K)NG UPGRADE booger. Here goes for a clean re-install, I'll see you all in 6 months when I finally get FC4 working properly..... :rolleyes:

*rolls up sleeves*

92b16vx
21st June 2005, 12:05 AM
F*&K)NG UPGRADE booger. Here goes for a clean re-install, I'll see you all in 6 months when I finally get FC4 working properly..... :rolleyes:

*rolls up sleeves*
Come on now, I don't know hardly nothing about Linux and got it working in under 24 hours :)