Re [2]: [Slapt-get-user] Sources fail to download

Leon Brokken slapt-get-user@software.jaos.org
Fri, 20 Aug 2004 10:21:29 +0300


This is a multi-part message in MIME format.

--Boundary_(ID_FgpoIKeBNPBhPt69zhNiRg)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

Hi Jason,

SOURCE=http://www.slackware.no/slackware/slackware-current/
At least this one fails. Initially I had several sources uncommented, 
which didn't work (hence the question to Slapt-get-users). Then I 
commented everything except the above, still with a fail as result.
The following also fails, but I added it to the list myself (don't know 
where I got it from...)
SOURCE=http://slackware.linux.no/pub/slackware/slackware-current/

Now I use 
SOURCE=ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current/ 
and all is well :-)

Is it anyway recommended to have several mirrors uncommented?

Something else: why doesn't slapt-get always indicate which source 
fails, as in the following message when I try to connect to slackware's 
sources:
Retrieving package data 
[ftp://ftp.slackware.com/pub/slackware/slackware-current/]...Failed to 
download: Connect failed; Operation now in progress

Cheers, Leon.


Jason Woodward wrote:

>Hi Leon,
>
>  
>
>>Thanx for the fast reply.
>>    
>>
>
>No problem.
>
>  
>
>>I have solved it by commenting all the sources except one.
>>
>>Is it so that if one of the sources can't be reached the process halts?
>>    
>>
>
>Yes.  Each package source is cached as it's downloaded.  After a successful download, all the
>cached sources are joined together and stored in the /var/slapt-get/package_data file.  
>
>If one sources fails to download, the successfully downloaded package sources are still cached.
> But they are never committed into the package_data file.  This ensures that your package_data
>stays intact in case your connection drops half way through a download and you aren't left with
>partial data or no package data at all.
>
>What source was failing to download for you?
>
>
>take care,
>jason
>
>--
>Jason Woodward
>woodwardj@jaos.org
>
>-----BEGIN PGP PUBLIC KEY BLOCK-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
> 
>mQGiBDrwHPoRBAC3nDJRLKTcFcJWid9PN08ChMI7tuQevomWoVeZpZZ0zzip2w/E
>ts55Mx58eRRGFFmgZZGeP7EhyUPzb668LIsU62gFO7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s
>2V3BkMAAn2/6alBBC9b9F94svdOf0mGY/G5w
>=4p8c
>-----END PGP PUBLIC KEY BLOCK-----
>
>my($c,@s)=(0,qw( | / - \ ));$|++;my$p;&{sub{map{$p.=chr$_}
>unpack(join('a',('',split(//,$_->[1]))),$_->[0]);}}foreach
>[qw/74117115116 2333/],[qw/65110111116104101114 2333333/],
>[qw/80101114108 2333/],[qw/729799107101114 222333/];{my$z=
>$c<4?$s[$c++]:$s [$c=0];printf"\ec%s%s%s",$z,$p,$z,select*
>STDOUT,*STDOUT,*STDOUT,0.1,;redo;}##########JAPH##########
>  
>

-- 
Leon J.S. Brokken
Dept. of Physiology
Inst. of Biomedicine
University of Turku
Kiinamyllynkatu 10
20520 Turku
Finland

Tel. +358 (0)40 5845063
Fax  +358 (0)2 2502610


--Boundary_(ID_FgpoIKeBNPBhPt69zhNiRg)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jason,<br>
<br>
SOURCE=<a class="moz-txt-link-freetext" href="http://www.slackware.no/slackware/slackware-current/">http://www.slackware.no/slackware/slackware-current/</a><br>
At least this one fails. Initially I had several sources uncommented,
which didn't work (hence the question to Slapt-get-users). Then I
commented everything except the above, still with a fail as result.<br>
The following also fails, but I added it to the list myself (don't know
where I got it from...)<br>
SOURCE=<a class="moz-txt-link-freetext" href="http://slackware.linux.no/pub/slackware/slackware-current/">http://slackware.linux.no/pub/slackware/slackware-current/</a><br>
<br>
Now I use
SOURCE=ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current/
and all is well :-)<br>
<br>
Is it anyway recommended to have several mirrors uncommented?<br>
<br>
Something else: why doesn't slapt-get always indicate which source
fails, as in the following message when I try to connect to slackware's
sources:<br>
Retrieving package data
[ftp://ftp.slackware.com/pub/slackware/slackware-current/]...Failed to
download: Connect failed; Operation now in progress<br>
<br>
Cheers, Leon.<br>
<br>
<br>
Jason Woodward wrote:
<blockquote cite="midmailbox-21112-1092932419@jaos.org" type="cite">
  <pre wrap="">Hi Leon,

  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanx for the fast reply.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
No problem.

  </pre>
  <blockquote type="cite">
    <pre wrap="">I have solved it by commenting all the sources except one.

Is it so that if one of the sources can't be reached the process halts?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Yes.  Each package source is cached as it's downloaded.  After a successful download, all the
cached sources are joined together and stored in the /var/slapt-get/package_data file.  

If one sources fails to download, the successfully downloaded package sources are still cached.
 But they are never committed into the package_data file.  This ensures that your package_data
stays intact in case your connection drops half way through a download and you aren't left with
partial data or no package data at all.

What source was failing to download for you?


take care,
jason

--
Jason Woodward
<a class="moz-txt-link-abbreviated" href="mailto:woodwardj@jaos.org">woodwardj@jaos.org</a>

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see <a class="moz-txt-link-freetext" href="http://www.gnupg.org">http://www.gnupg.org</a>
 
mQGiBDrwHPoRBAC3nDJRLKTcFcJWid9PN08ChMI7tuQevomWoVeZpZZ0zzip2w/E
ts55Mx58eRRGFFmgZZGeP7EhyUPzb668LIsU62gFO7G5/oWCr3U3g3peabZsqRC9
FchdiM8DJqQu/7ryAjbQ4OFCSW+jAsMC3tKXrdaB48WiipiXUcKR/sONGwCgzGPf
yxDgOc7n9xWVH0qbUDC/vZsEAKvbckkhpe9/x2A4E15l6DUbliEmboeHiT9NJaok
vLo3ElSO1o6ld5+VhFIkhRmmovrS8oyttZNv8HjMEYf6L3NdZybTHfcdS5EIpguH
Xx2/IGzJKbgX3vM/qhJ0+F1LPuN20mOT0NO/29AXJn3V7rTKoKf/uOOKD+Eqh4r1
QVMoBAC3ZPF3idmuW3j4tqhOaWe2qHlLwEClwdsTG+KOsVYh1sU4RvyMErDIU6r/
MomkLAJfbtBTXKcknW68Y4Uv4B+UkyopklktRBFiMBffoHLUfkkQk/L9Yg1YG27N
COsECiamylF8hNSTcNIQqYXDpyoRcSi2p7gqkxJZrk7GwrX2ObQjSmFzb24gV29v
ZHdhcmQgPHdvb2R3YXJkakBqYW9zLm9yZz6IVwQTEQIAFwUCOvAc+gULBwoDBAMV
AwIDFgIBAheAAAoJEGu22odUp/oeN2IAoKHS+qH8AenlOTKL0Ifl3q1QSlDBAKDL
bvvgl7HoRTHY2b9n3pEPr+KIh7kBDQQ68Bz9EAQA2Ds/2VKc08qaNIkA1okxITmQ
aaNjUrm/au9jNzm9lyEFXWXBNegzP5Y4A1ESDKUt5RETgVhNKd9mGkP7tgPTs3f6
Z595K6W7xeZWONKbl578RbWwE1CiMqEOuXwr1/q0DzfwmNQLcqDcX3o0DEpWE+uZ
G+5CtpkXYiDmccigDKMAAwUD/iZDxEr1HC4iLnGXUCDpxXEtp7Fx150baFzZITns
4hpKRAbTR65s2tL8rh5d8ThDgqW5C9JQja9fMxI2u7zlyM2ALFXJP1xwgZTSOYvn
sq+x41i5tJpce+pDmMEl8X0wew2Z5ZRPfDLv64kKPIGNgVXsAHirH2KjChZat4VC
qkZciEYEGBECAAYFAjrwHP0ACgkQa7bah1Sn+h7qkQCePz0ds5O/dsZrm450pjLs
2V3BkMAAn2/6alBBC9b9F94svdOf0mGY/G5w
=4p8c
-----END PGP PUBLIC KEY BLOCK-----

my($c,@s)=(0,qw( | / - \ ));$|++;my$p;&amp;{sub{map{$p.=chr$_}
unpack(join('a',('',split(//,$_-&gt;[1]))),$_-&gt;[0]);}}foreach
[qw/74117115116 2333/],[qw/65110111116104101114 2333333/],
[qw/80101114108 2333/],[qw/729799107101114 222333/];{my$z=
$c&lt;4?$s[$c++]:$s [$c=0];printf"\ec%s%s%s",$z,$p,$z,select*
STDOUT,*STDOUT,*STDOUT,0.1,;redo;}##########JAPH##########
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Leon J.S. Brokken
Dept. of Physiology
Inst. of Biomedicine
University of Turku
Kiinamyllynkatu 10
20520 Turku
Finland

Tel. +358 (0)40 5845063
Fax  +358 (0)2 2502610
</pre>
</body>
</html>

--Boundary_(ID_FgpoIKeBNPBhPt69zhNiRg)--