PDA

View Full Version : apt-get not working (timeout error) in Knoppix 3.2



quo_vadis
10-01-2003, 06:03 PM
Hi,

I have installed Knoppix 3.2 to hard disk and apart from a few issues, it went fine. As I had heard a lot about Debian's apt-get tool, I was eager to try it out.

However, apt-get does not seem to be able to connect to any of the sources mentioned in the sources.list file.

As I am behind an authenticated proxy, after Googling for some data, I specified the HTTP_PROXY variable as "ht<t>p://myname:mypass@myproxyip:myproxyport" and then ran apt-get update command.


The above command gives a standard working 0% etc output and then gives a timeout error for all the sources mentioned.

I am not very familiar with linux especially Debian... as I have been using rpm based distro's.

I can easily connect to the internet using mozilla and konqueror, but apt-get is the only issue.

Can someone please help me out on this.

The only related issue that I can think of is that DNS was not automatically configured during installation and so I had to change the /etc/resolv.conf and the /etc/networking/interfaces files for DNS to be configured which worked out (thanks to the Google again :) ).

However now I sometimes get an aptMutex error while running apt-get which I have no idea about.

Apologies about the long rant... its just that I am still getting used to Debian and am eager to try out the new Gnome2.4 for which I need apt-get working.

Any help will be highly appreciated.

Regards,

Quo

Stephen
10-01-2003, 08:56 PM
Are you using the method described by rickenbacherus in this thread (http://www.knoppix.net/forum/viewtopic.php?t=4747#21959)? If you are and still getting errors then could you post the output of the commands so we can see the errors. Also some of the sources from Germany that are in the /etc/apt/sources.list have changed the ones that have ftp.de.debian.org in the line should be changed to ftp2.de.debian.org.

baldyeti
10-01-2003, 09:02 PM
I think the key might be that (oddly enough) http_proxy is lower case
see http://www.knoppix.net/forum/viewtopic.php?t=4353#20295

violinist
10-02-2003, 12:39 AM
maybe running apt-setup from the console (root) would help.
there you can configure a proxy and mirrors as well.