[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#384559: apt-get host resolves to 1.0.0.0



Package: apt
Version: 0.6.45

I'm having problems getting the repository updated; the hostname in my sources.list resolves to 1.0.0.0, which is of course, unreachable. It'd work fine after I used another network utility (in this case, ping) and if I run apt-get immediately after that, apt-get worked fine.

I initially thought it was my resolv.conf error. But if it is so, it shouldn't work for ANY other network utility. Just apt-get.

Could somebody give me a clarification of the problem(s) i'm facing? This has never happened before.

mawar:/home/omark# apt-get update
0% [Connecting to debian.linux.org.tw (1.0.0.0)]
mawar:/home/omark# ping debian.linux.org.tw
PING linux3.cc.ntu.edu.tw (140.112.8.139) 56(84) bytes of data.
64 bytes from debian.linux.org.tw (140.112.8.139): icmp_seq=1 ttl=51 time=480 ms

--- linux3.cc.ntu.edu.tw ping statistics ---
2 packets transmitted, 1 received, 50% packet loss, time 999ms
rtt min/avg/max/mdev = 480.591/480.591/480.591/0.000 ms
mawar:/home/omark# apt-get update
Get: 1 http://debian.linux.org.tw unstable Release.gpg [189B]
Get: 2 http://debian.linux.org.tw unstable Release [67.1kB]
Get: 3 http://debian.linux.org.tw unstable/main Packages/DiffIndex [12.6kB]
Get: 4 2006-08-19-1306.13.pdiff [35.6kB]
Get: 5 2006-08-19-1306.13.pdiff [35.6kB]
Get: 6 2006-08-19-1306.13.pdiff [35.6kB]
Get: 7 2006-08-20-1254.36.pdiff [21.7kB]
Get: 8 2006-08-20-1254.36.pdiff [21.7kB]
Get: 9 2006-08-20-1254.36.pdiff [21.7kB]
Get: 10 2006-08-21-1303.49.pdiff [23.9kB]
Get: 11 2006-08-21-1303.49.pdiff [23.9kB]
Get: 12 2006-08-21-1303.49.pdiff [23.9kB]
Get: 13 2006-08-22-1324.16.pdiff [39.3kB]
Get: 14 2006-08-22-1324.16.pdiff [39.3kB]
Get: 15 2006-08-22-1324.16.pdiff [39.3kB]
Get: 16 2006-08-23-1322.04.pdiff [40.8kB]
Get: 17 2006-08-23-1322.04.pdiff [40.8kB]
Get: 18 2006-08-23-1322.04.pdiff [40.8kB]
Get: 19 2006-08-24-1251.36.pdiff [35.1kB]
Get: 20 2006-08-24-1251.36.pdiff [35.1kB]
Get: 21 2006-08-24-1251.36.pdiff [35.1kB]
Fetched 276kB in 47s (5820B/s)
Reading package lists... Done
mawar:/home/omark#

Here's the output of the apt-get version i'm using:

mawar:/home/omark# apt-get --version
apt 0.6.45 for linux i386 compiled on Jul 27 2006 00:56:34
Supported modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian dpkg status file





Reply to: