Cannot connect to debian repo servers after install
I did a wheezy minimal install and cannot connect to servers to do an update/dist-upgrade, gives me:
W: failed to fetch http://ftp.debian.org/debian/dists/testing/In Release
Could not resolve 'ftp.debian.org'
My sources list:
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src**** ditto
Bug? any ideas?
My DHCP config during install was ok. I'm writing from another linux distro.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1342724656.71161.YahooMailNeo@web163103.mail.bf1.y ahoo.com">http://lists.debian.org/1342724656.71161.YahooMailNeo@web163103.mail.bf1.y ahoo.com
07-19-2012, 07:15 PM
Brian
Cannot connect to debian repo servers after install
On Thu 19 Jul 2012 at 12:04:16 -0700, macondo wrote:
> I did a wheezy minimal install and cannot connect to servers to do an update/dist-upgrade, gives me:
>
> W: failed to fetch http://ftp.debian.org/debian/dists/testing/In Release
> Could not resolve 'ftp.debian.org'
You have a dns or connection problem.
What happens with
ping www.debian.org ?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120719191535.GR7631@desktop
07-19-2012, 07:37 PM
macondo
Cannot connect to debian repo servers after install
Pinging is fine:
PING debian.org (82.195.75.97) 56(84) bytes of data.
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=1 ttl=50 time=209 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=2 ttl=50 time=214 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=3 ttl=50 time=209 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=4 ttl=50 time=206 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=5 ttl=50 time=204 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=6 ttl=50 time=211 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=7 ttl=50 time=205 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=8 ttl=50 time=209 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=9 ttl=50 time=208 ms
64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=10 ttl=50 time=208 ms
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1342726644.68031.YahooMailNeo@web163106.mail.bf1.y ahoo.com">http://lists.debian.org/1342726644.68031.YahooMailNeo@web163106.mail.bf1.y ahoo.com
07-19-2012, 09:03 PM
macondo
Cannot connect to debian repo servers after install
I'm writing with the same box, different linux distro. Is this a bug?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1342731836.71880.YahooMailNeo@web163103.mail.bf1.y ahoo.com">http://lists.debian.org/1342731836.71880.YahooMailNeo@web163103.mail.bf1.y ahoo.com
07-19-2012, 09:26 PM
cortman
Cannot connect to debian repo servers after install
Did you check the /etc/apt/apt.conf file to make sure there isn't any proxy, etc. info in there messing up apt?*
Regards,cortman
On Thu, Jul 19, 2012 at 4:03 PM, macondo <ironwindow2001@yahoo.com> wrote:
I'm writing with the same box, different linux distro. Is this a bug?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Cannot connect to debian repo servers after install
On Thu 19 Jul 2012 at 12:37:24 -0700, macondo wrote:
> Pinging is fine:
>
> PING debian.org (82.195.75.97) 56(84) bytes of data.
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=1 ttl=50 time=209 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=2 ttl=50 time=214 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=3 ttl=50 time=209 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=4 ttl=50 time=206 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=5 ttl=50 time=204 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=6 ttl=50 time=211 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=7 ttl=50 time=205 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=8 ttl=50 time=209 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=9 ttl=50 time=208 ms
> 64 bytes from kokkonen.debian.org (82.195.75.97): icmp_req=10 ttl=50 time=208 ms
You used your initiative and tried
ping ftp.debian.org ?
Changing the sources.list line to
deb http://http.debian.net/debian/ testing main contrib non-free
might be a good move.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120719213154.GS7631@desktop
07-20-2012, 02:19 AM
macondo
Cannot connect to debian repo servers after install
/etc/apt/apt.conf is empty. I get this: "no such file or directory"
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1342750753.7112.YahooMailNeo@web163102.mail.bf1.ya hoo.com">http://lists.debian.org/1342750753.7112.YahooMailNeo@web163102.mail.bf1.ya hoo.com
07-20-2012, 03:08 AM
Bob Proulx
Cannot connect to debian repo servers after install
macondo wrote:
> /etc/apt/apt.conf is empty. I get this: "no such file or directory"
That is fine.
> W: failed to fetch http://ftp.debian.org/debian/dists/testing/In Release
> Could not resolve 'ftp.debian.org'
That is a DNS problem. It could not resolve ftp.debian.org. That is
the problem. Concentrate on debugging that. Do not get distracted by
other shiney squirrels!
Please show us:
cat /etc/resolv.conf
Please ping ftp.debian.org (not debian.org as you showed earlier) and
tell us if you can get to those archives.
For me ftp.debian.org resolves to a machine across the ocean in the
Netherlands. It is almost always better to use one of the country
local mirrors. Please select an archive in your country. Here is a
reference:
http://www.debian.org/mirror/list
Then change that to something like:
deb http://ftp.us.debian.org/debian wheezy main contrib non-free
Or perhaps try out the new fangled http.debian.net redirector.
http://wiki.debian.org/DebianGeoMirror
Using something like:
deb http://http.debian.net/debian wheezy main contrib non-free
Bob
07-20-2012, 11:15 PM
macondo
Cannot connect to debian repo servers after install
macondo:$ cat /etc/resolv.conf
# Generated by dhcpcd from eth0
domain cpe.cableonda.net
nameserver 200.75.200.3
nameserver 200.75.200.2
# /etc/resolv.conf.tail can replace this line
ping: unknown host ftp.debian.org
W: Failed to fetch http://ftp.us.debian.org/ debian/dists/wheezy/InRelease
Could not resolve 'ftp.us.debian.org wheezy Release.gpg
Could not resolve 'debian.net'
Err http://debian.net wheezy Release.gpg
Err http:// debian.net wheezy InRelease
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1342826140.97702.YahooMailNeo@web163106.mail.bf1.y ahoo.com">http://lists.debian.org/1342826140.97702.YahooMailNeo@web163106.mail.bf1.y ahoo.com
07-20-2012, 11:26 PM
macondo
Cannot connect to debian repo servers after install
This is the actual resolv.conf for the debian partition, the other is from the linux partition i'm writing from, sorry.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1342826769.30916.YahooMailNeo@web163103.mail.bf1.y ahoo.com">http://lists.debian.org/1342826769.30916.YahooMailNeo@web163103.mail.bf1.y ahoo.com