Yum

Andrew yellowdog-newbie@lists.terrasoftsolutions.com
Thu, 06 May 2004 22:51:40 -0400


On Thu, 2004-05-06 at 16:58, JGE wrote:
> Hey there:
hello
> Finished installing YDL 3.0 on an old PM7500 with a G3 card in it. Having
> trouble completing updates. I keep getting "connection reset by Peer" Now
> I started trying about 12:15pm and tried off and on for an hour same
> thing. I would guess that the server was extremely busy, as it connecting
> started "getting" headers resolving dependancies and the "connection
> reset..." Arrrrrrrrrgggggggggggghhhhhhhhhhhhhhhhhhhh
> 
> Any help would be useful. Can't get "apt-get" update or upgrade to work
> either for a different reason.
> 
> Cheers,
> G. in NJ
> 

Point yum to one of the mirrors from:
 <<http://www.yellowdoglinux.com/resources/ftp_mirrors.shtml#sites>>

To do so, you must edit, as root, </etc/yum.conf>. I'll provide an
example file (my 'old' file, actually) pointed to the Sherbrook
University mirror (in Quebec, Canada, as its the closest to me I could
find) later on, for your convenience. I suggest you to perform "yum
install yum" first as it will update yum to 2.0.5-1 who provide a
yum.conf pointed to ayo.freshrpms by default and that is a good thing!
yum will let you know that the 'new' yum.conf has been created as
<yum.conf.rpmnew>. You must replace the 'old' file <etc/yum.conf> by the
'new' one <etc/yum.conf.rpmnew>. Either erase the old then rename the
new as 'yum.conf' or select-all-copy-paste the 'new' file content into
the 'old' one and save changes... I know <yum -c [config file]> allow to
specify the config file to use but I actually never got it to
work...heh... OK, now you can use yum without 'connection reset by Peer
ARRRRRRRRGGGGGGGGHHHHHHHHH' keyboard slamming!


::OLD and modified </etc/yum.conf> file::

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest

[base]
name=Yellow Dog Linux 3.0 base
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/3.0/RPMS.main/
baseurl=http://gulus.usherbrooke.ca/pub/distro/yellowdog/yum/3.0/RPMS.main/

[updates]
name=Yellow Dog Linux 3.0 updates
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/3.0/RPMS.updates/
baseurl=http://gulus.usherbrooke.ca/pub/distro/yellowdog/yum/3.0/RPMS.updates/
[updates301]
name=Yellow Dog Linux 3.0.1 updates
baseurl=http://gulus.usherbrooke.ca/pub/distro/yellowdog/yum/3.0.1/update/

[freshrpms]
name=FreshRPMS
baseurl=http://ayo.freshrpms.net/yellowdog/3.0/ppc/freshrpms/
---cut here


::NEW and bone-stock </etc/yum.conf> (formerly </etc/yum.conf.rpmnew>)::

# $Id: yum-yd.conf,v 1.5 2003/09/18 16:29:06 dude Exp $

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=yellowdog-release
gpgcheck=1
tolerant=1
exactarch=1

[os]
name=Yellow Dog Linux $releasever - $basearch - os
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/os

[updates]
name=Yellow Dog Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/updates

[freshrpms]
name=Yellow Dog Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/freshrpms

#[ruffpack]
#name=Yellow Dog Linux $releasever - $basearch - ruffpack
#baseurl=http://ayo.freshrpms.net/yellowdog/$releasever/$basearch/ruffpack
--cut here

-Andrew

> ______________________________________________________________________ 
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> yellowdog-newbie mailing list
> yellowdog-newbie@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie