The trouble with yum /installing Mol...

mascarasnake dontdrill at earthlink.net
Sat Oct 2 13:16:26 MDT 2004


Hey marc -

markov at tele2.be wrote:
> I'm installing mol, and yumming downto the single processor
> kernel.
> 
> I get the following problem when I replace one line in /etc/yum.conf:
> every ten minutes I get:
> IOError: [Errno 104] Connection reset by peer
> 
> This is not funny, I restart and get further (it starts at the point where it ends..

the 104 error is because the YDL site is overloaded. You can alleviate 
this by switching to a mirror with less traffic:

<http://www.yellowdoglinux.com/resources/ftp_mirrors.shtml#sites>

> 
> I then  decide to take the yum file from:
> http://www.sharplabs.com:8668/space/Configuring+YDL/Kernel+Errors+and+Mac+On+Linux
> because I'm using a dial in (free in belgium with tele2 till end 2004 ;-) and think this
> server might be better, if it does not throw me out.
> 
> But then I get:
> 
> [root at localhost root]# yum install kernel
> Gathering package information from servers
> Getting headers from: Yellow Dog Linux 3.01 updates
> Getting headers from: Yellow Dog Linux $releasever - $basearch - freshrpms
> Traceback (most recent call last):
>   File "/usr/sbin/yum", line 44, in ?
>     yummain.main(sys.argv[1:])
>   File "yummain.py", line 141, in main
>   File "clientStuff.py", line 655, in get_package_info_from_servers
>   File "clientStuff.py", line 104, in HeaderInfoNevralLoad
> ValueError: unpack list of wrong size
> 
> I know what it is, the guy at sharplabs should put his file in ascii,
> I guess there are some chars in it that can't be copied...
> (copying from html deletes CRs or so & other stuff...)

Not really. My guess is that you are using an older version of yum that 
can't read that yum.conf file properly.
I have a copy of my old yum.conf file here:
	<http://home.earthlink.net/~dontdrill/yum.conf>
those servers seemed to work well

> When I do yum clean, I get:
> yum clean
> Gathering package information from servers
> Getting headers from: Yellow Dog Linux 3.01 updates
> Getting headers from: Yellow Dog Linux $releasever - $basearch - freshrpms
> Traceback (most recent call last):
>   File "/usr/sbin/yum", line 44, in ?
>     yummain.main(sys.argv[1:])
>   File "yummain.py", line 141, in main
>   File "clientStuff.py", line 655, in get_package_info_from_servers
>   File "clientStuff.py", line 104, in HeaderInfoNevralLoad
> ValueError: unpack list of wrong size


You'll get that error as long as you are using that yum.conf file with 
the version of yum you are using. Go back to your old yum.conf file do:
	yum clean
	rpm -- rebuilddb	(just in case)
then add to that yum.conf file:
	[freshrpms YDL 3.0]
	name=Yellow Dog Linux 3.0 freshrpms
	baseurl=http://ayo.freshrpms.net/yellowdog/3.0/ppc/freshrpms
Then run:
	yum update yum
then you can use the suppositories from the YDL FAQ site.

I highly recommend that you update to the new yum. There's a new feature 
or two added (eg. yum search).

> I can of course replace /yum.conf whit the one that worked for some
> miniutes, but it lmight be better to have the fresrpms site...
> Will I have to type it in?  Or is there another error??
> 
> Marc

g'luck

-- 
     It's what you make it man
     Takes time
     A little bit
     A little bit more

             -The Minutemen

dontdrill at earthlink.net


More information about the yellowdog-general mailing list