LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-22-2003, 01:36 PM   #1
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Rep: Reputation: 15
netselect doesn't work?


I decided to let debian automatically find a mirror for me by using netselect-apt: http://www.debian.org/doc/manuals/ap...ml#s-netselect

When it creates a sources.list file it doesn't have any sources in it. The sources.list file created by netselect-apt:

# the main Debian packages. Uncomment the deb-src line if you
# want 'apt-get source' to work with most packages.
deb testing main contrib non-free
# deb-src testing main contrib non-free

# the non-US Debian packages. Uncomment the deb-src line if you
# want 'apt-get source' to work with non-US packages.
deb testing/non-US main contrib non-free
# deb-src testing/non-US main contrib non-free


Here is the output when I run the netselect-apt script:

Retrieving the list of mirrors from www.debian.org...

--07:14:36-- http://www.debian.org/mirror/mirrors_full
=> `mirrors_full'
Resolving www.debian.org... done.
Connecting to www.debian.org[192.25.206.10]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 165,206 [text/html]

100%[====================================>] 165,206 186.30K/s ETA 00:00

07:14:42 (186.30 KB/s) - `mirrors_full' saved [165206/165206]

Choosing a main Debian mirror using netselect.
netselect: unknown host debian.kida.net
netselect: unknown host debian.serveftp.net
netselect: unknown host mirror.devolus.org
netselect: unknown host debian.mps.krakow.pl
netselect: unknown host debian.netnitco.net
netselect: unknown host debian.psu.ru
Running netselect to choose 1 out of 286 addresses.

The fastest server seems to be:


Choosing a non-US Debian mirror using netselect.
netselect: unknown host debian.serveftp.net
netselect: unknown host mirror.devolus.org
netselect: unknown host debian.mps.krakow.pl
netselect: unknown host debian.psu.ru
Running netselect to choose 1 out of 225 addresses.

The fastest non-US server seems to be:


Writing the sources.list in the current directory.
Done.


What is going wrong?

Last edited by teacup; 10-22-2003 at 01:37 PM.
 
Old 10-22-2003, 04:40 PM   #2
taivu
LQ Newbie
 
Registered: Oct 2002
Location: Spain
Distribution: Ubuntu, Debian Sarge, FreeBSD
Posts: 19

Rep: Reputation: 0
Re: netselect doesn't work?

Quote:
Originally posted by teacup
netselect: unknown host debian.kida.net
netselect: unknown host debian.serveftp.net
netselect: unknown host mirror.devolus.org
netselect: unknown host debian.mps.krakow.pl
netselect: unknown host debian.netnitco.net
netselect: unknown host debian.psu.ru
If I run "host debian.kida.net" I get "Host debian.kida.net not found: 3(NXDOMAIN)", so netselect's error messages seem to just reflect this.

Quote:
Writing the sources.list in the current directory.
Done.
How does the sources.list produced by netselect look like? Did it find any valid hosts? If it did, you can use those with apt-get and ignore the error messages about hosts that no longer exists (or are badly configured).
 
Old 10-22-2003, 11:34 PM   #3
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
How does the sources.list produced by netselect look like?
I already answered that. It's at the top of my post.

Quote:
Did it find any valid hosts?
No, this is the problem.
 
Old 10-23-2003, 10:57 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Fwiw I had the same results running netselect-apt testing after changing my sources.list file from stable to testing and then doing a apt-get update and apt-get dist-upgrade. I read the documentation in the Apt How-To but as usual, there are details which are left out, or the version of netselect we are using has a bug. Perhaps someone who really understands this will view the post and respond.

Last edited by Bruce Hill; 10-23-2003 at 10:58 AM.
 
Old 10-27-2003, 11:48 AM   #5
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Original Poster
Rep: Reputation: 15
No one knows what is wrong? Grr... Does this work for anyone?
 
Old 10-27-2003, 06:32 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Please explain this to me. I am subscribed to this thread, and I received the following email notification:

+++++++++++++++++++++++++++++++++++++++++++++++++
Hello Chinaman,

teacup has just replied to a thread you have subscribed to entitled - netselect
doesn't work? - in the Debian forum of LinuxQuestions.org.

--
No one knows what is wrong? I did some searching and this isn't a new problem [...
--

To view the rest of the thread visit:
http://www.linuxquestions.org/questi...5&goto=newpost

There may be other replies also, but you will not receive any more notifications
until you visit the board again.

Yours,
LinuxQuestions.org

+++++++++++++++++++++++++++++++++++++++++++++++++++



However, when I clicked the link to visit the board, I get this:

Quote:
Originally posted by teacup
No one knows what is wrong? Grr... Does this work for anyone?

Teacup, did you edit your thread in less than one minute of posting, so that the thread information is now different from what is in the email notification? Or is there some other type of problem going on here. Whatever is the case, I don't see in the thread what I see in the email notice.

 
Old 10-28-2003, 12:36 PM   #7
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Original Poster
Rep: Reputation: 15
Fast editing. I now think that netselect is broken instead of netselect-apt. Here is what happened when I ran netselect exactly like it is in the howto:

pcurry@lisacomp:~$ netselect ftp.debian.org http.us.debian.org ftp.at.debian.org download.unesp.br ftp.debian.org.br
pcurry@lisacomp:~$

Nothing... Hmmm. I tried picking random hosts off of the list at http://www.debian.org/mirror/mirrors_full#US and here is what I got from that:

pcurry@lisacomp:~$ netselect ftp.us.debian.org distro.ibiblio.org ftp.cerias.purdue.edu ftp.uwsg.indiana.edu
pcurry@lisacomp:~$

# The servers I am currently using!
pcurry@lisacomp:~$ netselect http.us.debian.org non-us.debian.org security.debian.org
pcurry@lisacomp:~$

Netselect is supposed to give me the fastest server out of the bunch. It gives nothing. It doesn't even have a man/info page. ARGH!
 
Old 10-28-2003, 12:39 PM   #8
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Original Poster
Rep: Reputation: 15
More confusion. I have a working internet connection on this computer.

pcurry@lisacomp:~$ netselect -vv http.us.debian.org non-us.debian.org security.debian.org
Running netselect to choose 1 out of 8 addresses.

non-us.debian.org 9999 ms 30 hops 0% ok
security.debian.org 9999 ms 30 hops 0% ok
216.37.55.114 9999 ms 30 hops 0% ok
35.9.37.225 9999 ms 30 hops 0% ok
128.101.80.131 9999 ms 30 hops 0% ok
192.25.206.16 9999 ms 30 hops 0% ok
204.152.189.120 9999 ms 30 hops 0% ok
208.185.25.38 9999 ms 30 hops 0% ok


???
 
Old 10-28-2003, 06:38 PM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Teacup,

I'll add to the output of the netselect package. I've got a fresh install of Debian Woody dist-upgraded to Sarge, and here's the output from the exact commands per the document at Debian.org. Maybe we need to figure out how to file a bug report. I tried once when I was trying DeadRat 9.0 but that was more esoteric than the manuals!

I ran it again with my mirrors, an incorrect one, and another correct one that I don't use:

paul:/home/mingdao# netselect debian.linux.org.tw non-US.debian.org ftp.at.org debian.goldweb.com.au
netselect: unknown host ftp.at.org
paul:/home/mingdao#

It still returned nothing. Then I did this again:

paul:/home/mingdao# netselect-apt testing
Retrieving the list of mirrors from www.debian.org...

--14:20:25-- http://www.debian.org/mirror/mirrors_full
=> `mirrors_full'
Resolving www.debian.org... done.
Connecting to www.debian.org[192.25.206.10]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 165,206 [text/html]

25% [============================> ] 42,725 50.39K/s ETA 00:02

14:20:30 (50.39 KB/s) - Read error at byte 42725/165206 (Connection reset by peer). Retrying.

--14:20:31-- http://www.debian.org/mirror/mirrors_full
(try: 2) => `mirrors_full'
Connecting to www.debian.org[192.25.206.10]:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 165,206 (122,481 to go) [text/html]

100%[==================================================================================================== ===============>] 165,206 62.30K/s ETA 00:00

14:20:34 (62.30 KB/s) - `mirrors_full' saved [165206/165206]

Choosing a main Debian mirror using netselect.
netselect: unknown host debian.kida.net
netselect: unknown host mirror.devolus.org
netselect: unknown host debian.mps.krakow.pl
netselect: unknown host debian.psu.ru
netselect: unknown host debian.netnitco.net
Running netselect to choose 1 out of 285 addresses.

The fastest server seems to be:


Choosing a non-US Debian mirror using netselect.
netselect: unknown host mirror.devolus.org
netselect: unknown host debian.mps.krakow.pl
netselect: unknown host debian.psu.ru
Running netselect to choose 1 out of 224 addresses.

The fastest non-US server seems to be:


Writing the sources.list in the current directory.
Done.
paul:/home/mingdao#

And the sources.list is the same as in your first post.
 
Old 11-02-2003, 01:44 AM   #10
StoopInc
LQ Newbie
 
Registered: Nov 2003
Posts: 11

Rep: Reputation: 0
You folks may want to check out apt-spy insead of netselect. I have had better luck with it!
 
Old 12-23-2003, 09:32 PM   #11
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Original Poster
Rep: Reputation: 15
Yes... for the record. apt-spy works and netselect is broken. Gotta love the out of date/broken documentation.
 
Old 12-23-2003, 10:14 PM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by teacup
Yes... for the record. apt-spy works and netselect is broken. Gotta love the out of date/broken documentation.
I found too much stuff broken in Debian, such as KDE, so I moved to Slackware!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does the mounting of a *BSD partition on linux work work well when rw ? kloss *BSD 3 10-08-2005 03:21 PM
Netselect not working behind proxy WoofDeF Debian 1 06-24-2005 02:52 AM
netselect-apt debian get useless nearer sites PinRojas Linux - Newbie 1 06-11-2005 08:47 PM
Why doesn't netselect-apt find updates mirrors? sard Debian 1 02-22-2005 09:42 PM
FALCONS EYE (nethack) FAILS ON STARTUP, use to work, wont work even after reinstall roorings Linux - Software 0 10-08-2003 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration