Adept "Could not connect to localhost:4001 (127.0.0.1).
Adept "Could not connect to localhost:4001 (127.0.0.1).
I know what is wrong: I installed anon-proxy and it farked everything up. Now Adept is giving me this.
I apt-get --purge remove anon-proxy already, but how in the heck do I change the localhost? It shouldn't be 4001!!!! I've been on the Deb usr forums and found the answer, but I don't really understand where to find the error and how to fix it... Help!!!
I cannot use Synaptic, Adept or apt-get, fyi.
By fixing the localhost for Adept, will this automatically fix it for the others?
Thanks, people. Happy Tuesday.
I apt-get --purge remove anon-proxy already, but how in the heck do I change the localhost? It shouldn't be 4001!!!! I've been on the Deb usr forums and found the answer, but I don't really understand where to find the error and how to fix it... Help!!!
I cannot use Synaptic, Adept or apt-get, fyi.
By fixing the localhost for Adept, will this automatically fix it for the others?
Thanks, people. Happy Tuesday.
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
<b>To get rid and start again!</b>
Because there was an error downloading anon-proxy the network settings will have changed. You will have to completely remove the package not just purge it (off the top of my head i think its purge -r) and then open the network folder "etc/network/interfaces" and change the connection from "127.0.0.1" to "direct connect".
Once you have done this run apt-get install again and it should work
<b>To see if its an error with the sources.list try!</b>
If you have edited the sources list to something like
make sure you have put 'deb' before it too
Because there was an error downloading anon-proxy the network settings will have changed. You will have to completely remove the package not just purge it (off the top of my head i think its purge -r) and then open the network folder "etc/network/interfaces" and change the connection from "127.0.0.1" to "direct connect".
Once you have done this run apt-get install again and it should work
<b>To see if its an error with the sources.list try!</b>
If you have edited the sources list to something like
Code: Select all
http://127.0.0.1:4001/debian
bad_brain wrote:hm, can you post the content of /etc/hosts ?
Code: Select all
127.0.0.1 localhost
127.0.1.1 LBGs-box
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
"/etc/hosts" [readonly] 10 lines, 247 characters
(edited for white spaces)
Last edited by LBG on 08 Apr 2009, 06:30, edited 1 time in total.
computathug wrote:<b>To get rid and start again!</b>
Because there was an error downloading anon-proxy the network settings will have changed. You will have to completely remove the package not just purge it (off the top of my head i think its purge -r) and then open the network folder "etc/network/interfaces" and change the connection from "127.0.0.1" to "direct connect".
Not purge -r. I cd'ed to where anon-proxy was and removed it. I never did this before b/c I thought I had gotten rid of it already! I am now assuming purge isn't the same as remove...
It did! Once I rm'ed it, it was fine. I feel a bit blond now... But in my defense, I really thought I removed/purged whatevered anon-proxy...computathug wrote: Once you have done this run apt-get install again and it should work
<b>To see if its an error with the sources.list try!</b>
If you have edited the sources list to something like
Code: Select all
http://127.0.0.1:4001/debian
It had an error, but I vi'ed sources.list and removed the erroneous entry. I just couldn't see if it worked, as anon-proxy was still hanging around.
Thanks, both of you!!!
mwah!
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
check the content of /etc/enviroment , if you find entries like:
comment them out, don't forget to reboot afterwards...
Code: Select all
HTTP_PROXY=http://localhost:4001 # +ANON_MARK+
http_proxy=http://localhost:4001 # +ANON_MARK+
Ok, I opened it in vi (is this the same as vim?) and it's only this:bad_brain wrote:check the content of /etc/enviroment , if you find entries like:
comment them out, don't forget to reboot afterwards...Code: Select all
HTTP_PROXY=http://localhost:4001 # +ANON_MARK+ http_proxy=http://localhost:4001 # +ANON_MARK+
Code: Select all
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
For laughing:
I forgot how to get out of vi, and went through 'esc', 'enter' and finally 'q'. When it said "recording" I panicked and X'ed out
LBGenius, strikes again!
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
hmm...ok, is there an output for:
?
if yes do:
btw, to exit the "insert" mode in vi press <Esc>, then : to enter the command mode followed by the command. "q" exits vi, "wq" saves the file and exits, "q!" exits without saving changes made....
Code: Select all
echo $HTTP_PROXY
echo $http_proxy
if yes do:
Code: Select all
export HTTP_PROXY=
export http_proxy=
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
I have installed anon-proxy to see if i can help more too.
I have everything installed, checked the browser settings, internet running fine.
After the command b_b has shown
I now get
I now think something must be run for the first time for if we do
for the options and try one of the commands i am getting
I have not figured the rest out but will look more later. If you beat me to it LBG then please post back
I have everything installed, checked the browser settings, internet running fine.
After the command b_b has shown
Code: Select all
echo $HTTP_PROXY
Code: Select all
http://localhost:4001
Code: Select all
anon-proxy --help
Code: Select all
critical] Error: Cannot parse configuration file!
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
Nope, there was nothing for either. What is this supposed to achieve? I can kinda guess, 'http' and 'proxy'. Just not clear on the details... And if nothing shows up, it means I have no proxy, then?bad_brain wrote:hmm...ok, is there an output for:?Code: Select all
echo $HTTP_PROXY echo $http_proxy
btw, to exit the "insert" mode in vi press <Esc>, then : to enter the command mode followed by the command. "q" exits vi, "wq" saves the file and exits, "q!" exits without saving changes made....
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Yeah i gather anon-proxy hasn't installed.
try running the install again
*update*
k after i run the last command i left the box to go do a few things then came back and thought .... right apt update and hey presto! I generated the same errors as LBG. I have never installed something before in order to try to generate the same errors but 'hey, it worked'
You wont beleive how i fixed this.... system reboot. Tried again, all updates working xD
Everything working so far
*2nd edit*
Not much information on this one LBG, you got me working here, but here is what i have got so far.
After researching the only page i found was off the debian repositories page
Hope this has helped you out
try running the install again
*update*
k after i run the last command i left the box to go do a few things then came back and thought .... right apt update and hey presto! I generated the same errors as LBG. I have never installed something before in order to try to generate the same errors but 'hey, it worked'
You wont beleive how i fixed this.... system reboot. Tried again, all updates working xD
Everything working so far
*2nd edit*
Not much information on this one LBG, you got me working here, but here is what i have got so far.
After researching the only page i found was off the debian repositories page
where i found the originators website.
and after some reading found you can build your mix online with java
i had a quick look at it but never set it up yet as i haven't had time, but as i have done the hard work and you started this thread, you might like to finish it
Hope this has helped you out
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com