View Full Version : FC3 yum.conf?
mark
23rd September 2004, 03:16 AM
Just got FC3T2 installed and seem to be having problems with yum - does anybody have a known good yum.conf file they'd like to share? Thanks!
samuelshi
23rd September 2004, 03:27 AM
what's the error displayed when you using yum?
superbnerd
23rd September 2004, 03:30 AM
most repos don't support test releases, but cuase of their ultra short life span :( but you can usually use the rawhide or testing repos if your desperate :eek:
oh, remember to report you bugs to the bugzilla, and thanks for testing!
Shadow Skill
23rd September 2004, 03:43 AM
Exscue me what are some testing repos I could use..my yum is doing the same thing repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Darkmage
23rd September 2004, 05:25 AM
Exscue me what are some testing repos I could use..my yum is doing the same thing repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
On this thread cylon posted a good yum.conf
http://www.fedoraforum.org/forum/showthread.php?t=22438&page=2&pp=15
Shadow Skill
23rd September 2004, 07:50 AM
Yum error looks like this Traceback (most recent call last):
File "/usr/share/yum-cli/yummain.py", line 139, in ?
main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 94, in main
(result, resultmsgs) = base.buildTransaction()
File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 131, in buildTransaction
(rescode, restring) = self.resolveDeps()
File "/usr/lib/python2.3/site-packages/yum/depsolve.py", line 151, in resolveDeps
self.populateTs(test=1)
File "/usr/lib/python2.3/site-packages/yum/depsolve.py", line 115, in populateTs
hdr = po.getHeader()
File "/usr/lib/python2.3/site-packages/yum/packages.py", line 272, in getHeader
hdr = hlist[0]
IndexError: list index out of range
What do I do?
superbnerd
23rd September 2004, 07:55 AM
do your duty and file a bug report at the fedora bugzilla (http://bugzilla.redhat.com/bugzilla)
Darkmage
23rd September 2004, 07:57 AM
post your /etc/yum.conf
mark
23rd September 2004, 12:57 PM
Okay, my 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
#[base]
#name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#[updates-released]
#name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
[development]
name=Fedora Core $releasever - Development Tree
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
# Trying to add Mozilla back into the mix....
[mozilla-seamonkey]
name=Mozilla SeaMonkey Releases
baseurl=http://ftp.mozilla.org/pub/mozilla.org/mozilla/yum/SeaMonkey/releases/current/redhat/$releasever
It's the "stock" FC3T2 config file with the addition of the Mozilla Seamonkey repo. The error is:
Setting up Update Process
Setting up Repo: development
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: mozilla-seamonkey
repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Cannot open/read repomd.xml file for repository: mozilla-seamonkey
failure: repodata/repomd.xml from mozilla-seamonkey: [Errno 256] No more mirrors to try.
If I remove the Mozilla section, I don't get the error - but I don't get Mozilla, either....
Darkmage
23rd September 2004, 02:19 PM
@mark
I see 2 things wrong with your /etc/yum.conf. one is never use the master repository, always use a mirror closer to you
Go here -------> Mirror Access (http://fedora.redhat.com/download/mirrors.html) and select about 3 or 4 mirrors.
The mozilla repository will not work because you are running FC3T2 (2.91) which is the $releasever so change
# Trying to add Mozilla back into the mix....
[mozilla-seamonkey]
name=Mozilla SeaMonkey Releases
baseurl=http://ftp.mozilla.org/pub/mozilla.org/mozilla/yum/SeaMonkey/releases/current/redhat/$releasever
to
# Trying to add Mozilla back into the mix....
[mozilla-seamonkey]
name=Mozilla SeaMonkey Releases
baseurl=http://ftp.mozilla.org/pub/mozilla.org/mozilla/yum/SeaMonkey/releases/current/redhat/2/$basearch
:)
cylon
23rd September 2004, 02:21 PM
I'm no programmer myself...just like to tinker with thing sometime..so my observation should be taken in context of a tinkerer..
1. I believe u can always get the latest mozilla from fedora
2. This is FC3...the yum program is different..something about metadata support..if you look at http://download.fedora.redhat.com/pub/fedora/linux/core/development/x86_64/]Fedora FC3[/I] ([I) or i believe even in your main directory in your install cd you'll see something which said "repodata". this is where the yum program looks and if it didnt found it it'll post an error. Previous yum looks for something which said "header". So if you running pre FC3 then looks in the directory for "headers" and "repodata" for FC3. That's why i'm using FC3..livna.rpm.org repos for AMD64 doesnt contains "headers" directory anymore....so no mplayer or totem.
Shadow Skill
23rd September 2004, 10:09 PM
What should I type if I want to update gnome yum update is broken because of some dependency issue that the developers have created....
superbnerd
23rd September 2004, 10:13 PM
if the conflict is caused by the developers, you should inform them. that what a test release is for. please file a bug report.
mark
24th September 2004, 02:07 AM
I'm no programmer myself...just like to tinker with thing sometime..so my observation should be taken in context of a tinkerer..
1. I believe u can always get the latest mozilla from fedora
2. This is FC3...the yum program is different..something about metadata support..if you look at http://download.fedora.redhat.com/pub/fedora/linux/core/development/x86_64/]Fedora FC3[/I] ([I) or i believe even in your main directory in your install cd you'll see something which said "repodata". this is where the yum program looks and if it didnt found it it'll post an error. Previous yum looks for something which said "header". So if you running pre FC3 then looks in the directory for "headers" and "repodata" for FC3. That's why i'm using FC3..livna.rpm.org repos for AMD64 doesnt contains "headers" directory anymore....so no mplayer or totem.I'm a tinker, myself...and you're right - it looks like the yum "mechanism" has changed. Anyway, I've gotten the closest yet by using the yum.conf you posted here http://www.fedoraforum.org/forum/showthread.php?t=22438&page=2&pp=15 .
My thanks to all and, if I discover anything new & useful, I'll put it up here.
imdeemvp
24th September 2004, 02:10 AM
if i am not mistaken, the updates for fc3 thru yum are not working....i believe i saw this in a recent post.
Darkmage
24th September 2004, 02:21 AM
Dependencies Resolved
[i] gnutls.i386 0:1.0.20-3 - dep
[u] alchemist.i386 0:1.0.34-1 - user
[u] atk.i386 0:1.8.0-1 - user
[u] basesystem.noarch 0:8.0-4 - user
[u] bitmap-fonts.noarch 0:0.3-4 - user
[u] bluez-bluefw.i386 0:1.0-6 - user
[u] bluez-hcidump.i386 0:1.11-1 - user
[u] boost.i386 0:1.31.0-9 - user
[u] boost-devel.i386 0:1.31.0-9 - user
[u] cdda2wav.i386 8:2.01.1-3 - user
[u] cdrecord.i386 8:2.01.1-3 - user
[u] comps-extras.noarch 0:9.92-2 - user
[u] dbus.i386 0:0.22-9 - user
[u] dbus-glib.i386 0:0.22-9 - user
[u] dbus-x11.i386 0:0.22-9 - user
[u] ethereal.i386 0:0.10.6-2 - user
[u] fontconfig.i386 0:2.2.3-4 - user
[u] fontconfig-devel.i386 0:2.2.3-4 - user
[u] glibc.i686 0:2.3.3-55 - user
[u] glibc-common.i386 0:2.3.3-55 - user
[u] glibc-devel.i386 0:2.3.3-55 - user
[u] glibc-headers.i386 0:2.3.3-55 - user
[u] gtk2.i386 0:2.4.10-1 - user
[u] hwdata.noarch 0:0.134-1 - user
[u] initscripts.i386 0:7.84-1 - user
[u] libbonobo.i386 0:2.8.0-1 - user
[u] libbonoboui.i386 0:2.8.0-1 - user
[u] libcroco.i386 0:0.6.0-4 - user
[u] libgnome.i386 0:2.8.0-1 - user
[u] libgnomecanvas.i386 0:2.8.0-1 - user
[u] libgnomeui.i386 0:2.8.0-1 - user
[u] libieee1284.i386 0:0.2.8-4 - user
[u] libieee1284-devel.i386 0:0.2.8-4 - user
[u] libselinux.i386 0:1.17.13-2 - user
[u] libselinux-devel.i386 0:1.17.13-2 - user
[u] libsoup.i386 0:2.2.0-2 - user
[u] libuser.i386 0:0.51.11-1 - user
[u] libuser-devel.i386 0:0.51.11-1 - user
[u] mailcap.noarch 0:2.1.16-1 - user
[u] mikmod.i386 0:3.1.6-28 - user
[u] mkinitrd.i386 0:4.1.12-1 - user
[u] mkisofs.i386 8:2.01.1-3 - user
[u] module-init-tools.i386 0:3.1-0.pre5.3 - user
[u] mozilla.i386 37:1.7.3-1 - user
[u] mozilla-nspr.i386 37:1.7.3-1 - user
[u] mozilla-nss.i386 37:1.7.3-1 - user
[u] net-snmp.i386 0:5.1.2-7 - user
[u] net-snmp-libs.i386 0:5.1.2-7 - user
[u] nscd.i386 0:2.3.3-55 - user
[u] oprofile.i386 0:0.8.1-8 - user
[u] perl-Convert-ASN1.noarch 0:0.18-3 - user
[u] perl-DateManip.noarch 0:5.42a-3 - user
[u] perl-HTML-Tagset.noarch 0:3.03-30 - user
[u] perl-LDAP.noarch 0:0.31-5 - user
[u] perl-Parse-Yapp.noarch 0:1.05-32 - user
[u] perl-XML-Dumper.noarch 0:0.71-2 - user
[u] perl-XML-Encoding.noarch 0:1.01-26 - user
[u] perl-XML-Grove.noarch 0:0.46alpha-27 - user
[u] perl-XML-NamespaceSupport.noarch 0:1.08-6 - user
[u] perl-XML-Twig.noarch 0:3.13-6 - user
[u] perl-libxml-enno.noarch 0:1.02-31 - user
[u] perl-libxml-perl.noarch 0:0.07-30 - user
[u] pinfo.i386 0:0.6.8-6 - user
[u] planner.i386 0:0.12-6 - user
[u] redhat-artwork.i386 0:0.102-1 - user
[u] redhat-menus.noarch 0:1.6.1-2 - user
[u] rhpl.i386 0:0.146-1 - user
[u] rootfiles.noarch 0:8-1 - user
[u] setup.noarch 0:2.5.34-1 - user
[u] sgml-common.noarch 0:0.6.3-17 - user
[u] swig.i386 0:1.3.21-4 - user
[u] system-config-keyboard.noarch 0:1.2.3-1 - user
[u] system-logviewer.noarch 0:0.9.9-1 - user
[u] udev.i386 0:032-2 - user
[u] usermode.i386 0:1.71-2 - user
[u] usermode-gtk.i386 0:1.71-2 - user
[u] xml-common.noarch 0:0.6.3-17 - user
[u] yelp.i386 0:2.6.3-1 - user
Is this ok [y/N]: y
Works just fine :D
Daverz
24th September 2004, 10:42 PM
I had trouble with dependencies for a couple packages, epiphany and libbtctl. Since I use neither, I just did a 'yum remove' on them and then everything was OK.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.