Brand new week, brand new morning but my woes with Linux installation continues. I tried all sorts of distros but failed to get a working OS. Finally it seemed that in my machine, Ubuntu versions 13.04 gives "buffer overrun" problem. I tried all the variants of 13.04.
First I try to update the Lubuntu 13.04. Yeah, back to it again:
I reinstall cntlm and try to get it working following the instructions from here:
http://zipizap.wordpress.com/tag/cntlm/
9:28 am: Done installing cntlm.
What I am doing now is just do this to see whether apt-get works:
sudo nano /etc/apt/apt.conf and add the following line:
Acquire::http::Proxy "http://rushadf:0302@127.0.0.1:3128";
Now I put the command:
sudo apt-get update
show 0% waiting for headers and just hangs up there
Does not work. So I close the terminal and try again.
It's still not working. Now let's try this:
Add your proxy server details in the following format
It's still not working.
I close the terminal and try again to see what happens. NO! still not working!
Now I try this:
Some releases sudo is configured in such a way that all environment variables all cleared when running the command. To keep the value for your http_proxy and fix this, you need to edit /etc/sudoers, run:
visudo
Then find a line that states:
and add this after it:
Let me have a system reboot and check. After system reboot it is working. So does it seems that it might have worked right after the first step? who knows!
First I try to update the Lubuntu 13.04. Yeah, back to it again:
I reinstall cntlm and try to get it working following the instructions from here:
http://zipizap.wordpress.com/tag/cntlm/
9:28 am: Done installing cntlm.
What I am doing now is just do this to see whether apt-get works:
sudo nano /etc/apt/apt.conf and add the following line:
Acquire::http::Proxy "http://rushadf:0302@127.0.0.1:3128";
Now I put the command:
sudo apt-get update
show 0% waiting for headers and just hangs up there
Does not work. So I close the terminal and try again.
It's still not working. Now let's try this:
sudo vi /etc/bash.bashr
Add your proxy server details in the following format
export http_proxy="http://username:password@proxyhost:port/"
export ftp_proxy="http://username:password@proxyhost:port/"
It's still not working.
I close the terminal and try again to see what happens. NO! still not working!
Now I try this:
Some releases sudo is configured in such a way that all environment variables all cleared when running the command. To keep the value for your http_proxy and fix this, you need to edit /etc/sudoers, run:
visudo
Then find a line that states:
Defaults env_reset
and add this after it:
Defaults env_keep = "http_proxy ftp_proxy"Now try apt-get again. Nah still not working.
Let me have a system reboot and check. After system reboot it is working. So does it seems that it might have worked right after the first step? who knows!
No comments:
Post a Comment