HI, i just installed Debian Lenny on an old machine in console mode. I think i made a misconfiguration while installing becouse now i can't use apt to use the internet, although i have an active internet connection. Can anyone help me fix this ?

asked 02 Jun '10, 20:23

F1r3Fl3x's gravatar image

F1r3Fl3x
334
accept rate: 0%




Check your /etc/apt/sources.list and make sure you don't have the http entries commented out.

Some installs will leave you with just the cdrom options.

Then do an apt-get update and you should be in business....

link

answered 02 Jun '10, 20:42

Jeffery's gravatar image

Jeffery
74113
accept rate: 100%

I did that, but when i type apt-get install lynx the console says: Reading package lists... Done Building dependency tree Reading state information ... Done Segmentation fault and it ends the process :/

(03 Jun '10, 09:09) F1r3Fl3x

OK i searched on the internet and i found a solution. You just run "rm -rf /var/cache/apt/*.bin" and apt works like a charm :D

(03 Jun '10, 09:16) F1r3Fl3x

if you use a proxy, you could set the proxy on the terminal using the export command.

link

answered 03 Jun '10, 09:16

satish's gravatar image

satish
1
accept rate: 0%

nope, no proxies :)

(03 Jun '10, 09:51) F1r3Fl3x
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26
×6
×5

Asked: 02 Jun '10, 20:23

Seen: 2,144 times

Last updated: 03 Jun '10, 09:16

powered by OSQA