On 16-12-12 20:42, Bob Bib wrote:
> gave me an idea of a bad argument passed to wget.
> 
> To get the full "bad URL", you can try to run wget in debug mode from your 
> wrapper like this:
> wget --debug [--output-file=logfile]

I did what you suggested. See the result below (line break in the URL by
my e-mail program). First a failed install, then a successful install.

Paul

paul@wollumbin /tmp $ cat wget_log
DEBUG output created by Wget 1.13.4 on linux-gnu.

URI encoding = `ANSI_X3.4-1968'
URI encoding = `ANSI_X3.4-1968'
--2012-12-16 22:36:36--
http://people.debian.org/~bartm/flashplugin-nonfree/get-upstream-version.pl.gz.pgp
Resolving \001 (\001)... failed: Name or service not known.
wget_org: unable to resolve host address `\001'


paul@wollumbin /tmp $ cat wget_log_224818965384909
DEBUG output created by Wget 1.13.4 on linux-gnu.

URI encoding = `ANSI_X3.4-1968'
--2012-12-16 22:48:18--
http://people.debian.org/~bartm/flashplugin-nonfree/get-upstream-version.pl.gz.pgp
Resolving people.debian.org (people.debian.org)... 206.12.19.5,
2607:f8f0:610:4000:214:38ff:feee:b65a
Caching people.debian.org => 206.12.19.5
2607:f8f0:610:4000:214:38ff:feee:b65a
Connecting to people.debian.org (people.debian.org)|206.12.19.5|:80...
connected.
Created socket 4.
Releasing 0x00000000022d7700 (new refcount 1).

---request begin---
GET /~bartm/flashplugin-nonfree/get-upstream-version.pl.gz.pgp HTTP/1.1
User-Agent: Wget/1.13.4 (linux-gnu)
Accept: */*
Host: people.debian.org
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Sun, 16 Dec 2012 21:47:44 GMT
Server: Apache
Last-Modified: Wed, 12 Dec 2012 19:30:16 GMT
ETag: "360000e-67f-4d0acd3f76200"
Accept-Ranges: bytes
Content-Length: 1663
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/pgp-signature

---response end---
200 OK
Registered socket 4 for persistent reuse.
Length: 1663 (1.6K) [application/pgp-signature]
Saving to: `./get-upstream-version.pl.gz.pgp'

     0K .                                                     100%  118M=0s

2012-12-16 22:48:19 (118 MB/s) - `./get-upstream-version.pl.gz.pgp'
saved [1663/1663]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to