Problems with yum?

John Cochrane yellowdog-general@lists.terrasoftsolutions.com
Sat May 1 16:21:00 2004


Doug,

YDL 3.1?! I presume you mean 3.0.1!

I'm a newbie too and I had exactly this problem with yum very recently. The
yum update process (reliant on the /etc/yum.comf file) defaults to source
it's update files from the main yellow dog ftp site which it seems does get
overloaded. The solution, which I found in previous posts was to point the
yum updater to a mirror, in my case the UK, a list of which is available at=
:

<http://www.yellowdoglinux.com/resources/downloads.shtml>

and once I had done this, it all completed without any problems.

In order to do this you need to edit the /etc/yum.conf file, which initiall=
y
looks like this:


[main]
cachedir=3D/var/cache/yum
debuglevel=3D2
logfile=3D/var/log/yum.log
pkgpolicy=3Dnewest
                  =20
[base]
name=3DYellow Dog Linux 3.0 base
baseurl=3Dhttp://ftp.yellowdoglinux.com/pub/yellowdog/yum/3.0/RPMS.main/
                  =20
                  =20
[updates]
name=3DYellow Dog Linux 3.0 updates
baseurl=3Dhttp://ftp.yellowdoglinux.com/pub/yellowdog/yum/3.0/RPMS.updates/



For example, in my case I replaced the relevant url lines with:

baseurl=3Dhttp://ftp.mirror.ac.uk/sites/ftp.yellowdoglinux.com/pub/yellowdog/=
y
um/3.0/RPMS.main/

baseurl=3Dhttp://ftp.mirror.ac.uk/sites/ftp.yellowdoglinux.com/pub/yellowdog/=
y
um/3.0/RPMS.updates/

Main thing is that wherever your most appropriate mirror is located, ensure
the url address points to the equivalent files.

You may also wish to view my recent post:

<http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/2004-April=
/
013363.html>

and the inital reply:

<http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/2004-April=
/
013371.html>

Hope this is helpful.

John



From: Douglas Denholm <ddenholm@TheWorld.com>
Reply-To: yellowdog-general@lists.terrasoftsolutions.com
Date: Sat, 01 May 2004 16:58:37 -0400
To: <yellowdog-general@lists.terrasoftsolutions.com>
Subject: Problems with yum?




I am a newbie... But I have managed to get YDL 3.1 up and running on my old
G3 233MHz Mac. I have it hooked up to the internet through a HomePlug
network, Linksys router, and DSL. And I have things like KDE running...
Still struggling with CUPS to get printing working... And Mozilla doesn=B9t
work, although Konquerer does (go figure).

In any case, I read a bit about yum and figured I should see if any of the
packages I installed from the YDL install disks need to be updated. However=
,
when I enter =8Cyum list updates=B9, I get the following behavior:

[root@YellowDog root]# yum list updates
Gathering package information from servers
Getting headers from: Yellow Dog Linux 3.0 base
Getting headers from: Yellow Dog Linux 3.0 updates
Finding updated packages
Downloading needed headers
getting /var/cache/yum/base/headers/gtk-doc-0-0.9-5.noarch.hdr
getting /var/cache/yum/base/headers/python-tools-0-2.2.2-21a.ppc.hdr
getting /var/cache/yum/base/headers/amanda-devel-0-2.4.2p2-9.ppc.hdr
getting /var/cache/yum/base/headers/pmake-1-1.45-8.ppc.hdr
getting /var/cache/yum/base/headers/ipchains-0-1.3.10-16.ppc.hdr
getting /var/cache/yum/base/headers/libcapplet0-devel-1-1.4.0.1-9a.ppc.hdr
getting /var/cache/yum/base/headers/telnet-server-1-0.17-23.ppc.hdr
getting /var/cache/yum/base/headers/python-optik-0-1.4-2.noarch.hdr
getting /var/cache/yum/base/headers/libart_lgpl-devel-0-2.3.10-1.ppc.hdr
getting /var/cache/yum/base/headers/anaconda-runtime-0-8.0-4i.ppc.hdr
getting /var/cache/yum/base/headers/gimp-perl-1-1.2.3-9.ppc.hdr
getting /var/cache/yum/base/headers/libesmtp-devel-0-0.8.12-2.ppc.hdr
getting /var/cache/yum/base/headers/gimp-print-devel-0-4.2.1-5.ppc.hdr
getting /var/cache/yum/base/headers/kde-i18n-British-1-3.1-2.noarch.hdr
getting /var/cache/yum/base/headers/x3270-x11-0-3.2.19-1.ppc.hdr
getting /var/cache/yum/base/headers/ORBit-devel-1-0.5.16-1b.ppc.hdr
IOError: [Errno 104] Connection reset by peer
URL:=20
http://ftp.yellowdoglinux.com/pub/yellowdog/yum/3.0/RPMS.main/headers/ORBit=
-
devel-1-0.5.16-1b.ppc.hdr
[root@YellowDog root]#

Whenever I try this I get the IOError but at different points in the hdr
download. Is this just because the YellowDogLinux servers are overloaded? I=
f
so, can anyone recommend other mirror sites to use? Are all the yum
repositories listed at http://linux.duke.edu/projects/yum/repos/ equivalent
in terms of packages/versions available?

TIA,

--Doug