#651413 Double slash in wget request

#651413#5
Date:
2011-12-08 12:39:38 UTC
From:
To:
While installing (using default graphical installator) Debian Squeeze 6.0.3
AMD64 (using debian-6.0.3-amd64-netinst.iso) on virtual machine running on
VirtualBox 4.1.6r74713 on my Windows 7 Pro working machine, I've experienced
an error in the installer while choosing a mirror: 'Bad archive mirror'. I
switched to the console 4 and noticed an error saying:

Dec 7 15:25:19 choose-mirror[30452]: DEBUG: command: wget -q
http://ftp.us.debian.org/debian//dists/squeeze/Release -O - | grep -E
'^(Suite|Codename):'
Dec 7 15:25:38 choose-mirror[30452]: WARNING **: mirror does not support the
specified release (squeeze)


Notice double slash in the wget URL before dists sub-directory. That happens
for any other country as well, I've tried US, Bulgarian, Estonian, some random
mirrors as well, and error appears everywhere.

BTW, Thanks a lot for the best distro!
---
WBR,
Dmitri

#651413#10
Date:
2011-12-08 19:14:45 UTC
From:
To:
Dmitri Medvedev wrote:
problem you experienced.

joey@wren:~> wget -q http://ftp.us.debian.org/debian//dists/squeeze/Release -O - | grep -E '^(Suite|Codename):'
Suite: stable
Codename: squeeze

Do you have a broken proxy, or something else that makes // not work?
Do you have any reason to think this was not just a transient network problem?

#651413#15
Date:
2011-12-08 19:26:46 UTC
From:
To:
I saw this recently too when a machine in fact did not have a working network link.

Too bad the error couldn't be "Network connection failed" rather than
"invalid release on mirror".

I guess since grep is what gives a return code there isn't any easy to
way to know what wget thought of the request.

#651413#20
Date:
2011-12-08 20:06:07 UTC
From:
To:
Lennart Sorensen wrote:

This could be fixed by running wget, checking its exit status, and
displaying a network error message, and only then parsing the Release file
(probably in C code) and displaying the current message.

#651413#25
Date:
2011-12-08 20:12:44 UTC
From:
To:
That would certainly make it a lot less confusing.

I also keep hearing complaints about not having ping in the installer
for checking network connectivity when things aren't working. :)

But that would add a whole bunch of bytes to the installer size.

#651413#30
Date:
2015-08-17 23:24:24 UTC
From:
To:
You have reached the storage limit of your mailbox and you will not be able
to send or receive new messages until you upgrade your email account.  Visit
the below link to get started

http://helpdesk-microsoftoutlook.ml/

IT Help Desk
System Administrator