Re: [SLUG] Debian Install - Partial Success - Need Help

From: Ian Blenke (icblenke@nks.net)
Date: Fri Feb 13 2004 - 10:17:56 EST


David Meyer wrote:
> Hello,
>
> I FINALLY got Debian to install cleanly on my laptop (which I was pretty proud of) using the 3.0r2 CD (#1 only), skipping dselect (as advised by most of you) and getting the rest off the web. I was using the 2.2 kernel (by accident) so once I got things up and running, I decided to reinstall using the bf24 option and the 2.4 kernel. Things were going nicely, but when I went to connect to the mirror to download the updates, it failed. Said it couldn't connect. That was behind our firewall (yes, I put in the correct authentication info) so I did the http://user:pass@proxy:port and got the same thing. So I tried again at home with no proxy, and the same thing happened. This morning, I burned a new CD from a different source and the same thing happened.
>
> So...do I need to install a different way? If so, what is recommended? Should I just download all the CD's? I thought it might be my hardware except this laptop is only one year old, and the older 2.2 kernel install worked just fine.
>
> Any advice would be apprecited.

You may set this in your /etc/apt/apt.conf file:

        Acquire::http::Proxy "http://user:pass@proxy:port/";

or, merely use this trick instead:

        # export http_proxy=http://user:pass@proxy:port
        # apt-get update
        # apt-get dist-upgrade

The "http_proxy" environment variable is used by wget, lynx, and a large
number of other OpenSource tools.

In fact, it's rather neat to update packages on a "protected" firewalled
server somewhere via an SSH tunnel:

     workstation$ ssh -R 8080:{proxy}:{port} root@protectedserver
     protectedserver# export http_proxy=http://user:pass@localhost:8080
     protectedserver# apt-get update
     protectedserver# apt-get dist-upgrade

where {proxy}:{port} is the hostname and port number of an http proxy
reachable from your workstation.

Enjoy!

-- 
- Ian C. Blenke - Director of Service Delivery <icblenke@nks.net>
(This message bound by the following:
http://www.nks.net/email_disclaimer.html)
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:48:00 EDT