Traumschule commited on 2018-08-10 17:49:52
Zeige 1 geänderte Dateien mit 16 Einfügungen und 11 Löschungen.
- explain how to install apt-transport-https - fixes #26474 - fixes #27094
| ... | ... |
@@ -20,9 +20,8 @@ Debian Buster - testing, or Debian Sid - unstable</a></h2> |
| 20 | 20 |
<br /> |
| 21 | 21 |
|
| 22 | 22 |
<p> |
| 23 |
-If you're using Debian, just run |
|
| 23 |
+If you're using Debian, just run as root: |
|
| 24 | 24 |
</blockquote><pre> apt install tor </pre></blockquote> |
| 25 |
-as root. |
|
| 26 | 25 |
</p> |
| 27 | 26 |
|
| 28 | 27 |
<p>Debian provides the <a href="https://packages.debian.org/stretch/tor">LTS</a> |
| ... | ... |
@@ -32,9 +31,9 @@ that you're running the latest stable version of Tor, see option two below. |
| 32 | 31 |
</p> |
| 33 | 32 |
|
| 34 | 33 |
<p> |
| 35 |
-Now Tor is installed and running. Move on to <a href="<page |
|
| 36 |
-docs/tor-doc-unix>#using">step two</a> of the "Tor on Linux/Unix" |
|
| 37 |
-instructions. |
|
| 34 |
+When Tor is installed and running move on to <a href="<page |
|
| 35 |
+docs/tor-doc-unix>#using">step two</a> of the "<a href="<page |
|
| 36 |
+docs/tor-doc-unix>">Tor on Linux/Unix</a>" instructions. |
|
| 38 | 37 |
</p> |
| 39 | 38 |
|
| 40 | 39 |
<hr /> |
| ... | ... |
@@ -94,12 +93,18 @@ version |
| 94 | 93 |
</pre></blockquote> |
| 95 | 94 |
</div> |
| 96 | 95 |
|
| 97 |
-<p>Please note that the <a href="https://packages.debian.org/stretch/apt-transport-https">apt-transport-https package</a> is required to enable the usage of 'deb https://foo distro main' lines in the /etc/apt/sources.list so that all package managers using the libapt-pkg library can access metadata and packages available in sources accessible over https (Hypertext Transfer Protocol Secure).</p> |
|
| 96 |
+<p>Note: To use this source line in <i>/etc/apt/sources.list</i> The <a |
|
| 97 |
+href="https://packages.debian.org/stretch/apt-transport-https">apt-transport-https |
|
| 98 |
+package</a> is required. Install it with |
|
| 99 |
+<blockquote><pre> |
|
| 100 |
+apt install apt-transport-https |
|
| 101 |
+</pre></blockquote> |
|
| 102 |
+to enable the usage of 'deb https://foo distro main' lines in the /etc/apt/sources.list so that all package managers using the libapt-pkg library can access metadata and packages available in sources accessible over https (Hypertext Transfer Protocol Secure).</p> |
|
| 98 | 103 |
|
| 99 | 104 |
<div id="sig"> |
| 100 | 105 |
<p>Then add the gpg key used to sign the packages by running the following commands at your command prompt:</p> |
| 101 | 106 |
<blockquote><pre> |
| 102 |
-gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 |
|
| 107 |
+gpg --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 |
|
| 103 | 108 |
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add - |
| 104 | 109 |
</pre></blockquote> |
| 105 | 110 |
</div> |
| ... | ... |
@@ -148,7 +153,7 @@ in place of <DISTRIBUTION>. |
| 148 | 153 |
Then add the gpg key used to sign the packages by running the following |
| 149 | 154 |
commands at your command prompt: |
| 150 | 155 |
<pre style="margin: 1.5em 0 1.5em 2em"> |
| 151 |
-gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 |
|
| 156 |
+gpg --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 |
|
| 152 | 157 |
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add - |
| 153 | 158 |
</pre> |
| 154 | 159 |
Now refresh your sources, running the following command (as root) at your |
| ... | ... |
@@ -211,7 +216,7 @@ download/download-unix>#packagediff">development branch</a> of Tor instead |
| 211 | 216 |
to your <tt>/etc/apt/sources.list</tt> file:<br /> |
| 212 | 217 |
<pre style="margin: 1.5em 0 1.5em 2em"> |
| 213 | 218 |
deb https://deb.torproject.org/torproject.org <DISTRIBUTION> main |
| 214 |
-deb https://deb.torproject.org/torproject.org tor-experimental-0.3.3.x-<DISTRIBUTION> main |
|
| 219 |
+deb https://deb.torproject.org/torproject.org tor-experimental-0.3.4.x-<DISTRIBUTION> main |
|
| 215 | 220 |
</pre> |
| 216 | 221 |
where you again substitute the name of your distro (stretch, buster, |
| 217 | 222 |
sid, xenial, ...) in place of |
| ... | ... |
@@ -221,7 +226,7 @@ sid, xenial, ...) in place of |
| 221 | 226 |
<p> |
| 222 | 227 |
Then run the following commands at your command prompt: |
| 223 | 228 |
<pre style="margin: 1.5em 0 1.5em 2em"> |
| 224 |
-gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 |
|
| 229 |
+gpg --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 |
|
| 225 | 230 |
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add - |
| 226 | 231 |
apt update |
| 227 | 232 |
apt install tor deb.torproject.org-keyring |
| ... | ... |
@@ -249,7 +254,7 @@ deb-src https://deb.torproject.org/torproject.org <DISTRIBUTION> main |
| 249 | 254 |
|
| 250 | 255 |
# For the unstable version. |
| 251 | 256 |
deb-src https://deb.torproject.org/torproject.org <DISTRIBUTION> main |
| 252 |
-deb-src https://deb.torproject.org/torproject.org tor-experimental-0.3.3.x-<DISTRIBUTION> main |
|
| 257 |
+deb-src https://deb.torproject.org/torproject.org tor-experimental-0.3.4.x-<DISTRIBUTION> main |
|
| 253 | 258 |
</pre> |
| 254 | 259 |
Substitute the name of your distro (stretch, buster, sid, xenial, ...) in place of <DISTRIBUTION>. Now refresh your sources by running (as root): |
| 255 | 260 |
<pre style="margin: 1.5em 0 1.5em 2em"> |
| 256 | 261 |