Help!

slack13.0 download

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Slackware RSS
Next:  Opera 10 final qt3 failing on Mandriva 2009.1  
Author Message
heavytull
External


Since: Nov 28, 2006
Posts: 124



PostPosted: Tue Sep 01, 2009 12:17 pm    Post subject: slack13.0 download
Archived from groups: alt>os>linux>slackware (more info?)

I just downloaded slack 13.0 from an ftp server, but after checking
the md5sums I noticed that 345 files were missing. most of these are
from the '/source' directory.
the command that i used is like this:
wget -r -nH --cut-dirs=3 ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
-a log.txt
Back to top
heavytull
External


Since: Nov 28, 2006
Posts: 124



PostPosted: Tue Sep 01, 2009 3:03 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 1, 9:32 pm, emmel <em... RemoveThis @invalid.invalid> wrote:
> Thus heavytull spoke:
>
> > I just downloaded slack 13.0 from an ftp server, but after checking
> > the md5sums I noticed that 345 files were missing. most of these are
> > from the '/source' directory.
> > the command that i used is like this:
> > wget -r -nH --cut-dirs=3ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
> > -a log.txt
>
> Ah, well, even though wget usually dows a good job, you won't want to
> rely on ftp when integrity is your concern. I never had any missing
> files with it, AFAIR, but I sure had my share of corrupt ones. You might
> want to give rsync a try. With the right options you should get away
> without re-downloading anything. YMMV

can you write here the command to use?
I used this but it doesn't work:
rsync --dry-run -azv -e ssh --delete ftp.belnet.be:/packages/slackware/
slackware-13.0/ ./
Back to top
emmel
External


Since: Mar 31, 2009
Posts: 11



PostPosted: Tue Sep 01, 2009 4:10 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thus heavytull spoke:

> I just downloaded slack 13.0 from an ftp server, but after checking
> the md5sums I noticed that 345 files were missing. most of these are
> from the '/source' directory.
> the command that i used is like this:
> wget -r -nH --cut-dirs=3 ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
> -a log.txt

Ah, well, even though wget usually dows a good job, you won't want to
rely on ftp when integrity is your concern. I never had any missing
files with it, AFAIR, but I sure had my share of corrupt ones. You might
want to give rsync a try. With the right options you should get away
without re-downloading anything. YMMV
Back to top
Aaron W. Hsu
External


Since: Aug 10, 2009
Posts: 15



PostPosted: Tue Sep 01, 2009 5:09 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 01 Sep 2009 15:32:46 -0400, emmel <emmel.TakeThisOut@invalid.invalid> wrote:

> Thus heavytull spoke:
>
>> I just downloaded slack 13.0 from an ftp server, but after checking
>> the md5sums I noticed that 345 files were missing. most of these are
>> from the '/source' directory.
>> the command that i used is like this:
>> wget -r -nH --cut-dirs=3
>> ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
>> -a log.txt
>
> Ah, well, even though wget usually dows a good job, you won't want to
> rely on ftp when integrity is your concern. I never had any missing
> files with it, AFAIR, but I sure had my share of corrupt ones. You might
> want to give rsync a try. With the right options you should get away
> without re-downloading anything. YMMV

And if the end goal is to grab everything in the release, it might make
more sense to grab the whole DVD from BitTorrents.

Aaron W. Hsu

--
Of all tyrannies, a tyranny sincerely exercised for the good of its
victims may be the most oppressive. -- C. S. Lewis
Back to top
Dan C
External


Since: Nov 26, 2006
Posts: 657



PostPosted: Tue Sep 01, 2009 6:10 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 01 Sep 2009 12:17:39 -0700, heavytull wrote:

> I just downloaded slack 13.0 from an ftp server, but after checking the
> md5sums I noticed that 345 files were missing. most of these are from
> the '/source' directory.
> the command that i used is like this: wget -r -nH --cut-dirs=3
> ftp://ftp.belnet.be/packages/slackware/slackware-13.0/ -a log.txt

Download the friggin ISO. Sheesh.


--
"Ubuntu" -- an African word, meaning "Slackware is too hard for me".
"Bother!" said Pooh, as he garotted another passing Liberal.
Usenet Improvement Project: http://twovoyagers.com/improve-usenet.org/
Back to top
Grant
External


Since: Feb 26, 2009
Posts: 22



PostPosted: Tue Sep 01, 2009 7:10 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 1 Sep 2009 15:03:24 -0700 (PDT), heavytull <heavytull.TakeThisOut@hotmail.com> wrote:

>On Sep 1, 9:32 pm, emmel <em....TakeThisOut@invalid.invalid> wrote:
>> Thus heavytull spoke:
>>
>> > I just downloaded slack 13.0 from an ftp server, but after checking
>> > the md5sums I noticed that 345 files were missing. most of these are
>> > from the '/source' directory.
>> > the command that i used is like this:
>> > wget -r -nH --cut-dirs=3ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
>> > -a log.txt
>>
>> Ah, well, even though wget usually dows a good job, you won't want to
>> rely on ftp when integrity is your concern. I never had any missing
>> files with it, AFAIR, but I sure had my share of corrupt ones. You might
>> want to give rsync a try. With the right options you should get away
>> without re-downloading anything. YMMV
>
>can you write here the command to use?
>I used this but it doesn't work:
>rsync --dry-run -azv -e ssh --delete ftp.belnet.be:/packages/slackware/
>slackware-13.0/ ./

Not quite what you want, but here's my local mirror sync script
that you could pull the rsync command from. Are you sure your
local mirror uses ftp.belnet.be for rsync?

grant@deltree:~$ cat /usr/local/bin/rsync-slack
#!/bin/bash
#
# rsync slackware install source to local mirror
#
# Copyright (C) 2006-2009 Grant Coady <grant.TakeThisOut@bugsplatter.id.au> GPLv2
#
# 2009-05-24 more comments, easier options
# 2009-05-20 add slackware64!
# 2008-12-11 rewrite again

# set the source mirror host machine here, find these from the slackware.com
# 'get slack' mirrors page
MIRROR_HOST="mirror.pacific.net.au"

# set the local mirror parent directory here
MIRROR_DIR="/home/mirror"

# set bandwidth limit to this value in kiloBytes/second -- I set this to
# 32kB/s on a 512/128kbps ADSL connection so there's plenty of bandwidth
# available for normal web browsing and email while this script is running.
BWLIMIT=32

# these rsync options usually not require any changes, they work for me
RSYNC_OPTS="-avPH --bwlimit=$BWLIMIT --delete --delete-excluded --progress "

# Note: Remove '--exclude */kdei' lines below if you need the KDE
# international language support.

do_rsync() # version
{
case $vers in

# maintenance group, no source, extra, pasture or testing
slackware-11.0 )

rsync $RSYNC_OPTS \
--exclude slackware/kdei \
--exclude source \
--exclude extra \
--exclude pasture \
--exclude testing \
$MIRROR_HOST::slackware/$1/ $MIRROR_DIR/$1
;;

# slackware64 is slightly different
slackware64-* )

rsync $RSYNC_OPTS \
--exclude slackware64/kdei \
--exclude source/kdei \
$MIRROR_HOST::slackware/$1/ $MIRROR_DIR/$1
;;

# for the rest we grab everything
* )

rsync $RSYNC_OPTS \
--exclude slackware/kdei \
--exclude source/kdei \
$MIRROR_HOST::slackware/$1/ $MIRROR_DIR/$1
;;
esac
}

# read slackware install tree local mirror version list from inline file
while read vers rest; do
echo ""
echo $vers
do_rsync $vers
done <<-EOF
slackware-11.0
slackware-13.0
slackware-current
slackware64-13.0
slackware64-current
EOF
echo "Done!"
# end

Grant.
--
http://bugsplatter.id.au
Back to top
Grant
External


Since: Feb 26, 2009
Posts: 22



PostPosted: Tue Sep 01, 2009 8:10 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 02 Sep 2009 08:33:54 +1000, Grant <g_r_a_n_t_.RemoveThis@bugsplatter.id.au> wrote:

....
>do_rsync() # version
>{
> case $vers in

Hmm, this works because $vers is a global set below, but '$vers' should be
'$1' here to match the rsync options below. Sorry for any confusion Wink

case $1 in
>
> # maintenance group, no source, extra, pasture or testing
> slackware-11.0 )
>
> rsync $RSYNC_OPTS \
> --exclude slackware/kdei \
> --exclude source \
> --exclude extra \
> --exclude pasture \
> --exclude testing \
> $MIRROR_HOST::slackware/$1/ $MIRROR_DIR/$1
> ;;
....

Grant.
--
http://bugsplatter.id.au
Back to top
Giovanni
External


Since: Sep 11, 2006
Posts: 118



PostPosted: Wed Sep 02, 2009 4:10 am    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 09/01/09 21:17, heavytull wrote:

> I just downloaded slack 13.0 from an ftp server, but after checking
> the md5sums I noticed that 345 files were missing. most of these are
> from the '/source' directory.
> the command that i used is like this:
> wget -r -nH --cut-dirs=3 ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
> -a log.txt

Maybe by removing the '--cut-dirs=3' you'll retrieve all the files.
And using '--mirror' you can rerun wget and get only the missing files.

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
< http://giovanni.homelinux.net/ >
Back to top
heavytull
External


Since: Nov 28, 2006
Posts: 124



PostPosted: Wed Sep 02, 2009 10:22 am    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 2, 9:41 am, Giovanni <lsod....TakeThisOut@home.net.it> wrote:
> On 09/01/09 21:17, heavytull wrote:
>
....
> > wget -r -nH --cut-dirs=3ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
> > -a log.txt
>
> Maybe by removing the '--cut-dirs=3' you'll retrieve all the files.
> And using '--mirror' you can rerun wget and get only the missing files.
>
Why?
Wouldn't it be just a random guess?

> Ciao
> Giovanni

....
Back to top
heavytull
External


Since: Nov 28, 2006
Posts: 124



PostPosted: Wed Sep 02, 2009 10:35 am    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 1, 9:17 pm, heavytull <heavyt....DeleteThis@hotmail.com> wrote:
> I just downloaded slack 13.0 from an ftp server, but after checking
> the md5sums I noticed that 345 files were missing. most of these are
> from the '/source' directory.
> the command that i used is like this:
> wget -r -nH --cut-dirs=3ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
> -a log.txt

I tried this:
rsync --dry-run -azv --delete "ftp.belnet.be":packages/slackware/
slackware-13.0/ ./

this is not working

the local mirror is ./
Back to top
heavytull
External


Since: Nov 28, 2006
Posts: 124



PostPosted: Wed Sep 02, 2009 11:19 am    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 2, 7:39 pm, Martin Schmitz <n....TakeThisOut@rmz.ath.cx> wrote:
> heavytull wrote:
> > I tried this:
> > rsync --dry-run -azv --delete "ftp.belnet.be":packages/slackware/
> > slackware-13.0/ ./
>
> Your URL doesn't look like a correct Rsync-URL. Try something like this:
>
> rsync -avz --exclude="source/" --delete --delete-excluded \
> rsync://slackware.osuosl.org/slackware/slackware-13.0/ /ftp/slackware-13.0/
>
> HTH,
> Martin

wow, i don't understand what you do.

here is the output of my command:
rsync --dry-run -azv --delete "ftp.belnet.be":packages/slackware/
slackware-13.0/ ./
ssh: connect to host ftp.lip6.fr port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far)
[receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c
(632) [receiver=3.0.4]
Back to top
heavytull
External


Since: Nov 28, 2006
Posts: 124



PostPosted: Wed Sep 02, 2009 11:20 am    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 2, 7:39 pm, Martin Schmitz <n....RemoveThis@rmz.ath.cx> wrote:
> heavytull wrote:
> > I tried this:
> > rsync --dry-run -azv --delete "ftp.belnet.be":packages/slackware/
> > slackware-13.0/ ./
>
> Your URL doesn't look like a correct Rsync-URL. Try something like this:
>
> rsync -avz --exclude="source/" --delete --delete-excluded \
> rsync://slackware.osuosl.org/slackware/slackware-13.0/ /ftp/slackware-13.0/
>
> HTH,
> Martin

wow, i don't understand what you do.

here is the output of my command:
rsync --dry-run -azv --delete "ftp.belnet.be":packages/slackware/
slackware-13.0/ ./
ssh: connect to host ftp.belnet.be port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far)
[receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c
(632) [receiver=3.0.4]
Back to top
heavytull
External


Since: Nov 28, 2006
Posts: 124



PostPosted: Wed Sep 02, 2009 12:09 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 2, 7:39 pm, Martin Schmitz <n....RemoveThis@rmz.ath.cx> wrote:
> heavytull wrote:
> > I tried this:
> > rsync --dry-run -azv --delete "ftp.belnet.be":packages/slackware/
> > slackware-13.0/ ./
>
> Your URL doesn't look like a correct Rsync-URL. Try something like this:
>
> rsync -avz --exclude="source/" --delete --delete-excluded \
> rsync://slackware.osuosl.org/slackware/slackware-13.0/ /ftp/slackware-13.0/
>
> HTH,
> Martin

ok you're right the url is not a right one.

I finally got all the files with the following command:

rsync --size-only -azv rsync://slackware.osuosl.org/slackware/slackware-13..0/
../
Back to top
emmel
External


Since: Mar 31, 2009
Posts: 11



PostPosted: Wed Sep 02, 2009 12:10 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thus Grant spoke:

>>can you write here the command to use?
>>I used this but it doesn't work:
>>rsync --dry-run -azv -e ssh --delete ftp.belnet.be:/packages/slackware/
>>slackware-13.0/ ./

'-e ssh' is definitely wrong here.

> # these rsync options usually not require any changes, they work for me
> RSYNC_OPTS="-avPH --bwlimit=$BWLIMIT --delete --delete-excluded --progress "

Hm... -P makes --progress superfluous, I don't think -v is very useful
unless you do debugging and -H is pointless, as AFAIK slack trees use
only soft links. I tend to use -a --delete --progress and excludes for
source and kdei.
Back to top
Martin Schmitz
External


Since: Jan 23, 2009
Posts: 5



PostPosted: Wed Sep 02, 2009 2:10 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

heavytull wrote:
> I tried this:
> rsync --dry-run -azv --delete "ftp.belnet.be":packages/slackware/
> slackware-13.0/ ./

Your URL doesn't look like a correct Rsync-URL. Try something like this:

rsync -avz --exclude="source/" --delete --delete-excluded \
rsync://slackware.osuosl.org/slackware/slackware-13.0/ /ftp/slackware-13.0/

HTH,
Martin
Back to top
Giovanni
External


Since: Sep 11, 2006
Posts: 118



PostPosted: Wed Sep 02, 2009 2:10 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 09/02/09 19:22, heavytull wrote:

>>> wget -r -nH --cut-dirs=3ftp://ftp.belnet.be/packages/slackware/slackware-13.0/
>>> -a log.txt
>> Maybe by removing the '--cut-dirs=3' you'll retrieve all the files.
>> And using '--mirror' you can rerun wget and get only the missing files.
>>
> Why?
> Wouldn't it be just a random guess?

It may have changed, I didn't download slack13.0, but I remember of
more 3 directories in previous releases.

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
< http://giovanni.homelinux.net/ >
Back to top
Mikhail Zotov
External


Since: Sep 16, 2006
Posts: 149



PostPosted: Wed Sep 02, 2009 5:10 pm    Post subject: Re: slack13.0 download [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 2 Sep 2009 10:35:30 -0700 (PDT)
heavytull <heavytull.DeleteThis@hotmail.com> wrote:
....
> I tried this:
> rsync --dry-run -azv --delete "ftp.belnet.be":packages/slackware/
> slackware-13.0/ ./
>
> this is not working
>
> the local mirror is ./

My two cents:

rsync -h --progress -vaz --delete-after --exclude="slackware/kdei/*" \
--include="*/" "slackware.mirrors.tds.net::slackware/slackware-13.0/ .

Edit "--exclude=..." up to your taste.

--
Mikhail
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Slackware All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum