FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-24-2008, 03:40 AM
Vidyadhar Gadgil
 
Default Lenny and testing and testing and apt

A few days ago I installed Debian Lenny, i.e., current testing, on my
system replacing stable. It was a fresh install, not an upgrade.

Everything is functioning fine. But when I try to run netselect-apt to
find the fastest mirror, I get:

"netselect was unable to find a mirror, this probably means that
you are behind a firewall and it is blocking traceroute."

I haven't done any tinkering with firewalls, what I installed is what I
got. What is this problem?

Second, I used the mirrors from my stable install, so my sources.list
file has entries like this:

deb http://ftp.port80.se/debian/ lenny main contrib

Works fine. But I want to replace lenny with testing, as I want to be
permanently on testing, even after lenny becomes stable. So I replace
above with

deb http://ftp.port80.se/debian/ testing main contrib

And zilch, apt-get is not able to read the repo at all?

Will somebody please help.


--
Question everything -- Karl Marx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-24-2008, 08:32 AM
Florian Kulzer
 
Default Lenny and testing and testing and apt

On Wed, Sep 24, 2008 at 09:10:09 +0530, Vidyadhar Gadgil wrote:
> A few days ago I installed Debian Lenny, i.e., current testing, on my
> system replacing stable. It was a fresh install, not an upgrade.
>
> Everything is functioning fine. But when I try to run netselect-apt to
> find the fastest mirror, I get:
>
> "netselect was unable to find a mirror, this probably means that
> you are behind a firewall and it is blocking traceroute."
>
> I haven't done any tinkering with firewalls, what I installed is what I
> got. What is this problem?

Can you use traceroute from the command line, e.g.

traceroute ftp.se.debian.org

This should show you all the intermediate points for a connection from
your computer to the Swedish Debian mirror (napoleon.acc.umu.se). If
this does not work then maybe there will be an error message to help
us to figure out what is wrong.

> Second, I used the mirrors from my stable install, so my sources.list
> file has entries like this:
>
> deb http://ftp.port80.se/debian/ lenny main contrib
>
> Works fine. But I want to replace lenny with testing, as I want to be
> permanently on testing, even after lenny becomes stable. So I replace
> above with
>
> deb http://ftp.port80.se/debian/ testing main contrib
>
> And zilch, apt-get is not able to read the repo at all?

If ftp.port80.se is a proper mirror, then it should have "testing" as a
symlink pointing to "lenny", so your new line should work. I had a quick
look and it seems to me that ftp.port80.se/debian/ is set up correctly.
What is the exact error message that you get from "apt-get update"?

If the problem persists then I would simply switch to one of the
official mirrors:

http://www.debian.org/mirror/official

(Note: Packages in "contrib" normally require packages from "non-free"
to work, so they will be of little use to you unless you also put
"non-free" in your list.)

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-25-2008, 02:25 AM
Vidyadhar Gadgil
 
Default Lenny and testing and testing and apt

> On Wed, Sep 24, 2008 at 09:10:09 +0530, Vidyadhar Gadgil wrote:
>> "netselect was unable to find a mirror, this probably means that
>> you are behind a firewall and it is blocking traceroute."
>>
>> I haven't done any tinkering with firewalls, what I installed is what I
>> got. What is this problem?
>
> Can you use traceroute from the command line, e.g.
>
> traceroute ftp.se.debian.org

Yes. This is the output:

traceroute to ftp.se.debian.org (130.239.18.173), 30 hops max, 40 byte
packets
1 local.gateway (192.168.1.1) 4.203 ms 6.496 ms 6.495 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 napoleon.acc.umu.se (130.239.18.173) 492.244 ms 495.415 ms 493.913 ms

And the problems persists

> If ftp.port80.se is a proper mirror, then it should have "testing" as a
> symlink pointing to "lenny", so your new line should work. I had a quick
> look and it seems to me that ftp.port80.se/debian/ is set up correctly.
> What is the exact error message that you get from "apt-get update"?

I don't understand it, it's working fine now. But I tried it so many
times earlier. It's beyond me...

Thank you very much for the help. I am still trying to figure out the
first problem.

--
Question everything -- Karl Marx



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-25-2008, 04:45 PM
Florian Kulzer
 
Default Lenny and testing and testing and apt

On Thu, Sep 25, 2008 at 07:55:51 +0530, Vidyadhar Gadgil wrote:
> > On Wed, Sep 24, 2008 at 09:10:09 +0530, Vidyadhar Gadgil wrote:
> >> "netselect was unable to find a mirror, this probably means that
> >> you are behind a firewall and it is blocking traceroute."
> >>
> >> I haven't done any tinkering with firewalls, what I installed is what I
> >> got. What is this problem?
> >
> > Can you use traceroute from the command line, e.g.
> >
> > traceroute ftp.se.debian.org
>
> Yes. This is the output:
>
> traceroute to ftp.se.debian.org (130.239.18.173), 30 hops max, 40 byte
> packets
> 1 local.gateway (192.168.1.1) 4.203 ms 6.496 ms 6.495 ms
> 2 * * *

[ snip: more "* * *" lines ]

> 17 * * *
> 18 napoleon.acc.umu.se (130.239.18.173) 492.244 ms 495.415 ms 493.913 ms
>
> And the problems persists

The "* * *" lines mean that you do not receive the ICMP TIME_EXCEEDED
responses from this host, so something is blocking them; this could
happen at the level of your internet provider. This is probably the
reason why netselect fails. Here is how the output should look when it
works:

[...]

14 a1sth-ae4.sunet.se (130.242.82.198) 73.339 ms 73.358 ms 73.376 ms
15 umu-g.sunet.se (193.11.0.226) 82.106 ms 82.123 ms 82.230 ms
16 u2k-te.gw.umu.se (130.239.0.201) 82.771 ms 82.813 ms 82.824 ms
17 svh-te.gw.umu.se (130.239.0.142) 82.750 ms 82.820 ms 81.421 ms
18 napoleon.acc.umu.se (130.239.18.173) 81.510 ms 81.525 ms 82.194 ms

It is a coincidence that I also have exactly 18 steps to the server (I
am in Spain), but I think it is reasonable to expect that the last steps
should be the same for you. These hosts all send the TIME_EXCEEDED
responses; if you do not see them then something must be blocking them
at your end.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-25-2008, 05:36 PM
Alex Potter
 
Default Lenny and testing and testing and apt

On Thu, 25 Sep 2008 04:50:08 +0200, Vidyadhar Gadgil wrote:

> traceroute to ftp.se.debian.org (130.239.18.173), 30 hops max, 40 byte
> packets
> 1 local.gateway (192.168.1.1) 4.203 ms 6.496 ms 6.495 ms 2 * * * 3
> * * *
> 4 * * *
>

I have a router with poor firmware that behaves like that. I need to use
traceroute -I to see any traces. If that works, blame the router.

the output of iptables -L might be interesting too.

--
Regards
Alex

http://www.badphorm.co.uk/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-26-2008, 12:13 AM
Vidyadhar Gadgil
 
Default Lenny and testing and testing and apt

>> traceroute to ftp.se.debian.org (130.239.18.173), 30 hops max, 40 byte
>> packets
>> 1 local.gateway (192.168.1.1) 4.203 ms 6.496 ms 6.495 ms 2 * * * 3
>> * * *
>> 4 * * *
>>
>
> I have a router with poor firmware that behaves like that. I need to use
> traceroute -I to see any traces. If that works, blame the router.

I don't really understand this. But I tried running traceroute -I
206.66.12.202 and got:

traceroute to 206.66.12.202 (206.66.12.202), 30 hops max, 40 byte packets
1 local.gateway (192.168.1.1) 2.098 ms 2.083 ms 2.079 ms
2 117.195.32.1 (117.195.32.1) 26.248 ms 27.632 ms *
3 * * *
4 * * *
5 * * *
6 * * *
7 * 125.21.167.25 (125.21.167.25) 512.885 ms *
8 12.116.102.25 (12.116.102.25) 529.757 ms * *
9 * * *
10 * * *
11 * * *
12 * * *
13 cr2.dlstx.ip.att.net (12.122.28.174) 521.650 ms 539.135 ms 539.161 ms
14 tbr2.dlstx.ip.att.net (12.122.18.238) 539.157 ms 539.171 ms
539.200 ms
15 gar6.dlstx.ip.att.net (12.122.100.65) 347.992 ms 349.503 ms
350.254 ms
16 12.122.79.66 (12.122.79.66) 513.400 ms 514.981 ms 515.506 ms
17 151.164.241.99 (151.164.241.99) 345.593 ms 346.116 ms 347.948 ms
18 VIP-Internet-America-Inc-1152431.cust-rtr.swbell.net
(70.253.121.218) 539.075 ms * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *

Whatever that means :-)

> the output of iptables -L might be interesting too.

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination



I am completely out of my depth here...

--
Question everything -- Karl Marx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-26-2008, 02:04 AM
Vidyadhar Gadgil
 
Default Lenny and testing and testing and apt

Further to my previous mail, there is

Debian Bug report logs - #433333
netselect-apt: Netselect don't says that I hava a firewall but I don't have

Sergey Belikov gives the solution below, but though I have the
recommended version 0.3.ds1-12.1, I still get the problem. Am filing an
addition to that bug report. Please advise what else to do.

> From: Sergey Belikov <bsu@lab321.ru>
> To: 433333@bugs.debian.org
> Subject: Re: Bug#433333: netselect-apt: Netselect don't says that I hava a
> firewall but I don't have
> Date: Fri, 15 Aug 2008 10:15:50 +0700
>
> Hi!
> I confirm the bug.
> That bug on function run_netselect() in perl expression.
> Perl expression for grep hosts list not correspond with
> current http://www.debian.org/mirror/mirrors_full (2008.08.14-15).
> Need upgrade netselect-apt on sarge/etch to 0.3.ds1-12.1.
>
> Reproduced twice:
> 1. At home on sarge/main
> netselect 0.3.ds1-4
> netselect-apt 0.3.ds1-4
> 2. At work on etch/main
> netselect 0.3.ds1-10
> netselect-apt 0.3.ds1-10
>
> In 0.3.ds1-12.1 - this bug was fixed :-)
> At home - download and install last version (0.3.ds1-12.1)
> and all work fine.



--
Question everything -- Karl Marx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-26-2008, 05:21 AM
Alex Potter
 
Default Lenny and testing and testing and apt

On Fri, 26 Sep 2008 02:40:11 +0200, Vidyadhar Gadgil wrote:

> I don't really understand this. But I tried running traceroute -I
> 206.66.12.202 and got:
>

That host doesn't reply to pings...please show the result of
traceroute -I ftp.se.debian.org

Do you get a complete trace from any other machine on the LAN?

What kind of machine is "local.gateway". If it is a router, rather than a
linux box, what make and model is it. Is it under your control ?

--
Regards
Alex

http://www.badphorm.co.uk/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org