The script I use for this is as follows.  Note that this is _one_ invocation
of wget, and there is going to be some serious line-wrap.

cd /cdimages/SUSE/SLES8/updates
wget -m -np \
  -R
k_athlon*,k_debug-2.4.19*,k_deflt-2.4.19*,k_smp-2.4.19*,k_psmp*,kernel-sourc
e-2.4.19*,k_debug-2.4.21-1*,k_deflt-2.4.21-1*,k_smp-2.4.21-1*,kernel-source-
2.4.21-1* \

http://username:[EMAIL PROTECTED]/download/i386/update/SuSE-SLES/8/images
/ \

http://username:[EMAIL PROTECTED]/download/i386/update/SuSE-SLES/8/patche
s/ \

http://username:[EMAIL PROTECTED]/download/i386/update/SuSE-SLES/8/patche
s.obsolete/ \

http://username:[EMAIL PROTECTED]/download/i386/update/SuSE-SLES/8/script
s/ \

http://username:[EMAIL PROTECTED]/download/i386/update/SuSE-SLES/8/rpm/no
arch/ \

http://username:[EMAIL PROTECTED]/download/i386/update/SuSE-SLES/8/rpm/i6
86/ \

http://username:[EMAIL PROTECTED]/download/i386/update/SuSE-SLES/8/rpm/i5
86/

find . -name "index.html*" | xargs rm -v


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Romanowski, John (OFT)
Sent: Tuesday, October 12, 2004 12:45 PM
To: [EMAIL PROTECTED]
Subject: Need help with wget for Yast Online Update


I'd like to use Yast Online Update (YOU) to get all the SLES8 fixes at once
but can't connect to the internet from my mainframe. As a work-around I'm
trying to figure out how to use wget to download all the fixes. I plan to
run wget on my PC to download fixes to a Windows share that I can mount on
my SLES8 guest and then point YOU to the Windows directories. Right now I'm
stuck, can't get wget to download the fixes although it connects ok to
Suse's web site.

Leland Lucius in Feb 21, 2003 discussion on this list, gave his wget command
string to download fixes but that command string isn't working well for me.

I run:
wget --tries=1 --mirror --cut-dirs=5 --no-host-directories --http-user=xxxx
--http-passwd=xxxxx
--accept='*-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].rpm,patch-*'
http://sdb.suse.de/download/s390/update/SuSE-SLES/8/

and wget starts by looking for a "index.html" file and doesn't find it:
"--11:49:04--  http://sdb.suse.de/download/s390/update/SuSE-SLES/8/
           => `index.html'
Resolving sdb.suse.de... 195.135.220.8
Connecting to sdb.suse.de[195.135.220.8]:80... failed: No such file or
directory. Giving up."

Any hints or tips on how to use wget to get these patches would be greatly
appreciated.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to