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

Solved: apt-get -- connecting to localhost ? (slink)



On Mon, Aug 21, 2000 at 04:19:11PM -0700, kmself@ix.netcom.com wrote:
> On Mon, Aug 21, 2000 at 02:18:52PM -0700, Brett Neely wrote:
> > On Mon, Aug 21, 2000 at 01:59:51PM -0700, kmself@ix.netcom.com wrote:

Synopsis:  apt-get fails with:

	[root@lists:karsten]$ apt-get update
	0% [Connecting to localhost] [Connecting to localhost]

	...

	[root@lists:karsten]$ apt-get update
	Err http://http.us.debian.org stable/main Packages    
	  Could not create a socket - socket (93 Protocol not supported)

...on a pair of potato boxes

> > Could you show us your /etc/apt/sources.list file?
> 
> deb http://http.us.debian.org/debian stable main contrib non-free
> deb http://non-us.debian.org/debian-non-US stable non-US/main\
> non-US/contrib non-US/non-free

Solved.  

Damn I'm dumb.

More data:  I remembered that I'd changed apt-get methods from whatever
Slink uses by default (ftp?) to http.  Grabbing the lynx .deb (I *can*
ftp out), I've confirmed I cannot connect to remote sites with lynx.
Changing the /etc/apt/sources.list resource type to "ftp" from "http"
allows me to run an "apt-get update".

So I run 'strace' on both lynx and apt-get but don't know if this is
telling me something or not -- anything I should be looking for?

Hmmm...:

	write(1, "\rLooking up localhost:5865\33[m\17\33["..., 43^MLooking up
	localhost:5865ESC[m^OESC[37mESC[40mESC[K) = 43

Gee, that port looks familiar.  Funny, I don't remember installing
Junkbuster on this box....oooooooh....

Word to the wise:  when promulgating .bashrc files among machines,
delete the environment stuff specific to a given box.

I'd left the 'http_proxy' environment variable which *is* appropriate
for my workstation, but not the mailing list server.

Sorry for the interruption.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgp21KXPirFU3.pgp
Description: PGP signature


Reply to: