On Sat, 2009-05-16 at 13:16 +0700, Old Crankbuster wrote: > * Peter Crawford <creature...@hotmail.com> [2009-05-14 10:49:54 -0700]: > > > Does /etc/hosts begin thus? > > > > 127.0.0.1 localhost.localdomain localhost > > 127.0.1.1 mycomputer.invalid mycomputer > > > > If so, try commenting the 2nd line. > > Tried the above, to no avail, so have reverted to original /etc/hosts > thus: > > 127.0.0.1 localhost > 127.0.1.1 mycomputer.mydomain mycomputer > > # The following lines are desirable for IPv6 capable hosts > ::1 localhost ip6-localhost ip6-loopback > fe00::0 ip6-localnet > ff00::0 ip6-mcastprefix > ff02::1 ip6-allnodes > ff02::2 ip6-allrouters > ff02::3 ip6-allhosts > > Interestingly, have been able to solve the surfing problem in iceweasel > by setting the network settings in iceweasel: > > Network -> Settings -> No Proxy > > Originally set to 'use system proxy settings' > > So I think this is a big clue. > > Apt still says it cannot resolve any of the repositories, and I don't > have any proxies configured (that I know of). Hmm.
Out of curiosity, if you ping the repositories first, then run apt-get update, does it resolve properly and proceed with the update? I had a problem (under Etch, IIRC, though maybe Etch -1) whereby I was getting constant timeouts, both while trying to browse the web and trying to run 'aptitude update'. It was an IPv6 problem and I solved it by disabling IPv6 everywhere. But before I did that, I found that if I pinged the repositories first, then ran the update, the update worked. It was enormously frustrating. To this day, under Debian I still toggle IPv6 lookups off in Iceweasel and Epiphany, to speed things up. Otherwise, my browsers frequently sit for some seconds on "Looking up..." before proceeding to download the page. I only ever had this problem with Debian and Ubuntu, both installed on my PC and my iMac. FreeBSD, Arch Linux, and OS X all work fine with IPv6 enabled, even Gecko browsers (Firefox, Epiphany, and, on my iMac, Camino) under those OS's are snappy without having to toggle off IPv6 lookups. IMO -- my entirely unscientific uninformed opinion, I stress -- there's something funky about Debian's networking stack. -- Michael M. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org