Hack Forums
apt-get install not working in installed version of linux - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Linux (https://hackforums.net/forumdisplay.php?fid=85)
+---- Thread: apt-get install not working in installed version of linux (/showthread.php?tid=5721275)



apt-get install not working in installed version of linux - kirubel - Sep 20, 2017

hey apt-get install tor for example works in live version of Linux but after I installed it in my PC it and try apt-get Install tor it says some tink like cud not find ...
How can I fix it



* - Mr.Magnificent - Sep 20, 2017

sudo apt-get install makes it run as root. try that. Goodluck !


* - kirubel - Sep 20, 2017

No doesn't work any other ideas


* - Mr.Magnificent - Sep 20, 2017

Found this on tor site:

You need to add the following entry in /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:

deb http://deb.torproject.org/torproject.org stretch main
deb-src http://deb.torproject.org/torproject.org stretch main
Then add the gpg key used to sign the packages by running the following commands at your command prompt:

gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
You can install it with the following commands:

$ apt-get update
$ apt-get install tor deb.torproject.org-keyring


SOURCE: https://www.torproject.org/docs/debian.html.en


* - Kumara - Sep 20, 2017

Did you update first?

That could be an easy fix.


* - kirubel - Sep 20, 2017

Did it work for u when u updated


* - Mr.Magnificent - Sep 20, 2017

(Sep 20, 2017 04:22 AM)kirubel Wrote:  Did it work for u when u updated

Try:

sudo apt-get update and then try to install the tor.


* - SuckySucky - Sep 20, 2017

(Sep 20, 2017 03:16 AM)bdeleeuw1 Wrote:  Found this on tor site:

You need to add the following entry in /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:

deb http://deb.torproject.org/torproject.org stretch main
deb-src http://deb.torproject.org/torproject.org stretch main
Then add the gpg key used to sign the packages by running the following commands at your command prompt:

gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
You can install it with the following commands:

$ apt-get update
$ apt-get install tor deb.torproject.org-keyring


SOURCE: https://www.torproject.org/docs/debian.html.en


You have to do this first. If you don't the apt-get doesn't have the correct repository to download from.