Delete one (possibly smallish) of those files and rerun without -d.
What happens ?
Heiko Herold

-- 
-- PREVINET S.p.A.            [EMAIL PROTECTED]
-- Via Ferretto, 1            ph  x39-041-5907073
-- I-31021 Mogliano V.to (TV) fax x39-041-5907472
-- ITALY

> -----Original Message-----
> From: Kent Borg [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 5:27 PM
> To: [EMAIL PROTECTED]
> Subject: To "-d" or not to "-d": behavior changes?
> 
> 
> I have a simple little hacky script I use to try to keep my Red Hat
> box up to date.  At the core of it are the following lines:
> 
>   echo "Get new RPMs..."
>   cd i386
>   wget -N 
> ftp://anonymous:$[EMAIL PROTECTED]/7.2/en/os/i386/*
>   cd ../i686
>   wget -N 
> ftp://anonymous:$[EMAIL PROTECTED]/7.2/en/os/i686/*
>   cd ../noarch
>   wget -N 
> ftp://anonymous:$[EMAIL PROTECTED]/7.2/en/os/noarch/*
>   cd ..
> 
> Today I ran it, expecting to get some new Mozilla security fixes, and
> nothing came out.
> 
> I ftp-ed in manually and looked and saw the following:
> 
>   -rw-rw-r--    1 2220     235       9978592 May 14 03:40 
> mozilla-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235        113338 May 14 03:40 
> mozilla-chat-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235       3047341 May 14 03:40 
> mozilla-devel-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235        223644 May 14 03:40 
> mozilla-dom-inspector-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235        163443 May 14 03:40 
> mozilla-js-debugger-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235       2109426 May 14 03:40 
> mozilla-mail-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235        120006 May 14 03:40 
> mozilla-nspr-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235        194201 May 14 03:40 
> mozilla-nspr-devel-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235        648681 May 14 03:40 
> mozilla-nss-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235        462584 May 14 03:40 
> mozilla-nss-devel-0.9.9-12.7.2.i386.rpm
>   -rw-rw-r--    1 2220     235        384407 May 14 03:40 
> mozilla-psm-0.9.9-12.7.2.i386.rpm
> 
> The files sure look like they are there.  So I added a "-d" switch, so
> my wget's look like this:
> 
>   echo "Get new RPMs..."
>   cd i386
>   wget -d -N 
ftp://anonymous:$[EMAIL PROTECTED]/7.2/en/os/i386/*
  cd ../i686
  wget -d -N ftp://anonymous:$[EMAIL PROTECTED]/7.2/en/os/i686/*
  cd ../noarch
  wget -d -N
ftp://anonymous:$[EMAIL PROTECTED]/7.2/en/os/noarch/*
  cd ..

And this time it worked.  I got all the mozilla files plus two more:

  htdig-3.2.0-2.011302.i386.rpm
  htdig-web-3.2.0-2.011302.i386.rpm

These looked like this in the regular ftp listing:

  -rw-rw-r--    1 2220     235       5185550 Mar 12 19:47
htdig-3.2.0-2.011302.i386.rpm
  -rw-rw-r--    1 2220     235         61579 Mar 12 19:47
htdig-web-3.2.0-2.011302.i386.rpm

I see about three possibilities:

  1. My clock changed by several days in the last few minutes.

     Well, I run an ntpd and looking at the logs I don't see any time
     adjustment today (I see some a few days ago, so I am looking in
     the right logs).

  2. Red Hat didn't have the rpm's up when I ran wget the first time.

  3. A bug in wget.

  4. I am deluded and don't know what I am seeing.

  5. I am lacking in imagination and am missing the obvious.


Do you see a wget bug here?


Thanks,

-kb, the Kent who is leaving the "-d" in his script for the moment.

Reply via email to