Non-free repo on DVD!
I'm trying to make a DVD with the non-free etch repository because i
don't have internet on my old toshiba laptop.
So i found this scrip on the web:
---------------------------------------------------------------------
#!/bin/bash
SERVER=http://ftp.debian.org
PATH1=debian/dists/etch/non-free/main/binary-i386
PATH2=debian/dists/etch
wget -force-directories --no-host-directories \
${SERVER}/${PATH1}/Packages \
${SERVER}/${PATH1}/Packages.gz \
${SERVER}/${PATH1}/Packages.bz2 \
${SERVER}/${PATH1}/Release
${SERVER}/${PATH2}/ChangeLog
${SERVER}/${PATH2}/Contents-i386.gz
${SERVER}/${PATH2}/Release
${SERVER}/${PATH2}/Release.gpg
gunzip <${PATH1}/Packages.gz |grep '^Filename: ' |\
sed "%/^Filename: %${SERVER}/debian/%" >Download.list
wget --force-directories --no-host-directories \
--input-file Download.list
-----------------------------------------------------------------------
but it just doesn't work, i gives me this output:
wget: invalid option -- f
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
/home/un1xer/bin/debnf.sh: line 13:
http://ftp.debian.org/debian/dists/etch/ChangeLog: No such file or directory
/home/un1xer/bin/debnf.sh: line 14:
http://ftp.debian.org/debian/dists/etch/Contents-i386.gz: No such file
or directory
/home/un1xer/bin/debnf.sh: line 15:
http://ftp.debian.org/debian/dists/etch/Release: No such file or directory
/home/un1xer/bin/debnf.sh: line 16:
http://ftp.debian.org/debian/dists/etch/Release.gpg: No such file or
directory
/home/un1xer/bin/debnf.sh: line 18:
debian/dists/etch/non-free/main/binary-i386/Packages.gz: No such file or
directory
sed: -e expression #1, char 1: unknown command: `%'
No URLs found in Download.list.
My scripting ability's are not very good, could i ask if someone can
figure whats wrong with it?
Thank you!
--
José Santos
debianite@warpmail.net
http://goodbye-microsoft.com/
http://www.ftml.net/mail/?STKI=1516747
Reply to: