DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello guys, I wanted to install tor+privoxy on this new install of lenny on my pc. On the previous system, it worked fine and installed correctly. But on this one I get this output:
Code:
localhost:/home/anarion# apt-get install tor
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
privoxy tor-geoipdb
Suggested packages:
mixmaster mixminion anon-proxy
The following NEW packages will be installed:
privoxy tor tor-geoipdb
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2069kB/2624kB of archives.
After this operation, 7246kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.de.debian.org lenny/main tor 0.2.0.35-1~lenny2 [1353kB]
Get:2 http://ftp.de.debian.org lenny/main tor-geoipdb 0.2.0.35-1~lenny2 [715kB]
Fetched 2069kB in 2min16s (15.1kB/s)
Selecting previously deselected package privoxy.
(Reading database ... 100286 files and directories currently installed.)
Unpacking privoxy (from .../privoxy_3.0.9-1_amd64.deb) ...
Selecting previously deselected package tor.
Unpacking tor (from .../tor_0.2.0.35-1~lenny2_amd64.deb) ...
Selecting previously deselected package tor-geoipdb.
Unpacking tor-geoipdb (from .../tor-geoipdb_0.2.0.35-1~lenny2_all.deb) ...
Processing triggers for doc-base ...
Processing 3 added doc-base file(s)...
Processing triggers for man-db ...
Setting up privoxy (3.0.9-1) ...
Starting filtering proxy server: invoke-rc.d: initscript privoxy, action "start" failed.
dpkg: error processing privoxy (--configure):
subprocess post-installation script returned error exit status 1
Setting up tor (0.2.0.35-1~lenny2) ...
Raising maximum number of filedescriptors (ulimit -n) to 32768.
Starting tor daemon: tor...
Apr 19 18:16:38.821 [notice] Tor v0.2.0.35. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
Apr 19 18:16:38.841 [notice] Initialized libevent version 1.3e using method epoll. Good.
Apr 19 18:16:38.841 [notice] Opening Socks listener on 127.0.0.1:9050
Apr 19 18:16:38.848 [warn] Could not bind to 127.0.0.1:9050: Cannot assign requested address
Apr 19 18:16:38.848 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Apr 19 18:16:38.848 [err] Reading config failed--see warnings above.
invoke-rc.d: initscript tor, action "start" failed.
dpkg: error processing tor (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tor-geoipdb:
tor-geoipdb depends on tor (>= 0.2.0.35-1~lenny2); however:
Package tor is not configured yet.
dpkg: error processing tor-geoipdb (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
privoxy
tor
tor-geoipdb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have Debian Stable Lenny. Also I tried using the testing repository before but the same came up . Does anyone know what's wrong?
Yes, something has bound to 127.0.0.1:9050 which is what Tor wants.
Code:
Apr 19 18:16:38.848 [warn] Could not bind to 127.0.0.1:9050: Cannot assign requested address
Apr 19 18:16:38.848 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Run netstat -nap | grep :9050 as root and stop/kill the offending process, then try again.
I doubt it, but sure, stop iptables. Have you tried running your apt-get install again? Is there anything more in /var/log/syslog or /var/log/tor/tor.log ?
the tor.log doesn't exist at all, and nothing about this problem was stated in syslog I disabled the iptables temporarily and tried to reinstall... but the same came up
so, what can be the cause?
OK I finally managed to work it out!
It was iptables, now that I installed firestarter, it allowed all outgoing connections, I did that because of my torrent downloads, but now tor started without problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.