Cannot remove tor program on debian (with later reinstall)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Cannot remove tor program on debian (with later reinstall)
I have found that tor-browser isn't quite working as expected.
There is no anonymity and there is no latency when browsing.
So I decided to uninstall tor.
I initially used the following command:
Code:
apt-get purge tor
However, tor remained as an option on my xfce desktop.
When I selected the tor program - it opened up despite having been deleted.
I then used the following commands:
Code:
apt-get remove tor
apt-get remove --auto-remove tor
apt-get purge --auto-remove tor
But tor-browser still exists on my OS and opens up without problems.
Is there a way I can have control over my OS and actually delete a program like tor?
Last edited by trumpforprez; 06-16-2018 at 11:15 AM.
Could you paste the output from the following command:
Code:
dpkg -l "*tor*"
Well, I followed the instruction from the torproject site and used this command:
Code:
apt install tor
It was that easy.
The output of dpkg -l "*tor*" is:
Code:
dpkg -l "*tor*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un computer-janit <none> <none> (no description available)
un editor <none> <none> (no description available)
un fusioninventor <none> <none> (no description available)
ii gnome-calculat 3.14.1-1 amd64 GNOME desktop calculator
un gobject-intros <none> <none> (no description available)
ii libatk-adaptor 2.14.0-2 amd64 AT-SPI 2 toolkit bridge
ii libgirepositor 1.42.0-2.2 amd64 Library for handling GObject intr
un libgirepositor <none> <none> (no description available)
un libraptor1 <none> <none> (no description available)
ii libraptor2-0:a 2.0.14-1 amd64 Raptor 2 RDF syntax library
un librdf-storage <none> <none> (no description available)
un librdf-storage <none> <none> (no description available)
un librdf-storage <none> <none> (no description available)
un librdf-storage <none> <none> (no description available)
un libreoffice-my <none> <none> (no description available)
un libstorable-pe <none> <none> (no description available)
un libtorture0 <none> <none> (no description available)
un podlators-perl <none> <none> (no description available)
un python-cryptog <none> <none> (no description available)
un qtcreator <none> <none> (no description available)
un raptor2-utils <none> <none> (no description available)
un tor <none> <none> (no description available)
ii torbrowser-lau 0.2.9-1~bpo8 amd64 helps download and run the Tor Br
rc torsocks 2.0.0-3 amd64 use SOCKS-friendly applications w
un x-terminal-emu <none> <none> (no description available)
un xul-ext-torbut <none> <none> (no description available)
This is my /etc/apt/sources.list.
I'm including it because it appears that a repo may be missing despite comments indicating that a repo should be there:
Code:
cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03]/ jessie contrib main
# Trumpforprez: the cdrom has been hashed out from the default for some reason.
# deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03]/ jessie contrib main
deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-updates, previously known as 'volatile'
deb-src http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
deb http://http.debian.net/debian/ jessie-backports main
deb http://httpredir.debian.org/debian/ jessie-backports main contrib
# Trumpforprez 07/05/18 The source list below has been removed as it is a duplicate
#deb http://http.debian.net/debian/ jessie-backports main
# Backports repository
# Trumpforprez. This is the backports repo to install and update tor-browser via debian and avoiding over-the-air
#installs from 3rd party websites which require the install to be checked (e.g. checksum or gpngp key).
# https://wiki.debian.org/Backports#Adding_the_repository webpage has 'non'free' deleted as tor-browser requires main and contrib.
# Trumpforprez 07/05/18 This source list has been removed as it is a duplicate. The source list already exists above
#deb http://http.debian.net/debian/ jessie-backports main
dpkg -l "*tor*"
...
ii torbrowser-lau 0.2.9-1~bpo8 amd64 helps download and run the Tor Br
rc torsocks 2.0.0-3 amd64 use SOCKS-friendly applications w
...
The one installed item related to Tor there is the installer for the Tor Browser Bundle (TBB). Try uninstalling that, but the link you are probably seeing there is the TBB and not Tor. If uninstalling the package "torbrowswer-launcher" does not remove it, you'll just have to remove the icon yourself and delete the TBB directory manually. It is self-contained in a single directory hierarchy, I think in your home directory.
I have found that tor-browser isn't quite working as expected.
There is no anonymity and there is no latency when browsing.
to anybody else reading this, i just want to stress that this is merely OP's personal experience.
many people succesfully use the tor-browser-bundle to browse the internet anonymously, over the tor network.
the application 'tor' itself can also be used to make larger parts of the system use the tor network, but very likely requires manual setup.
The one installed item related to Tor there is the installer for the Tor Browser Bundle (TBB). Try uninstalling that, but the link you are probably seeing there is the TBB and not Tor. If uninstalling the package "torbrowswer-launcher" does not remove it, you'll just have to remove the icon yourself and delete the TBB directory manually. It is self-contained in a single directory hierarchy, I think in your home directory.
Thank you. I am looking for the Tor Browser Bundle (TBB) in my /home directory so I can manually uninstall it.
However, I can't seem to find it:
Code:
/home/Trumpforprez# ls -a
. .bashrc Desktop .gconf .ICEauthority Music .quodlibet .Xauthority
.. .cache .dmrc .gimp-2.8 .local Pictures Templates .xscreensaver
.bash_history .config Documents .gnupg Mnt .profile .thumbnails .xsession-errors
.bash_logout .dbus Downloads .gstreamer-0.10 .mozilla Public Videos .xsession-errors.old
to anybody else reading this, i just want to stress that this is merely OP's personal experience.
If I try to use the Google search engine with tor - Google will note I am using a tor exit node and refuse to provide its service.
This is acceptable but disappointing.
So which search engine should I use?
I presume all tor users are conveniently separated out and placed on the DuckDuckGo search engine.
That's interesting, isn't it?
I no longer use DuckDuckGo.
Also, when I go on Youtube using tor with security setting set to 'high' - previously Google Youtube refused to show videos.
This is acceptable but disappointing.
But now Youtube shows videos and recommends videos for US/UK.
Even though my tor IP address indicates a different geolocation.
Quote:
many people succesfully use the tor-browser-bundle to browse the internet anonymously, over the tor network.
That is excellent news. I would like to try that out myself.
However, I will also be undertaking a VPN subscription.
It seems to be the fashion these days.
It is possible my Debian setup is not done correctly.
After I've made the necessary adjustments - tor will be working fine and dandy again.
Edit: I've just realised I haven't made it clear I will be re-installing tor.
Sorry about that.
I'll change the thread title.
Last edited by trumpforprez; 06-16-2018 at 11:11 AM.
I haven't checked but it may be that the one package, torbrowser-launcher, may leave files behind. I would hope not but that may be the case.
However, it may not matter after the next week because web pages will most probably be declared illegal (in effect) in the EU if at least one more the MEPs fails to wise up before the upcoming vote. A great many exit nodes are inside of the EU...
Last edited by Turbocapitalist; 06-17-2018 at 03:27 AM.
If you don't mind me saying so, this would not be advisable because it would pick up all the packages with "tor" somewhere in the name, so would also purge innocent bystanders such as mate-system-monitor and libstorable-perl.
Also, there's no need for apt-get --purge remove, the less verbose apt-get purge will work fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.