Signed-off-by: Justyn Temme <justyntemme@gmail.com>
(cherry picked from commit b74b46b26a8a8fcacc1fdea080c0bebe70194e9f)
Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -37,15 +37,15 @@ Docker is supported on the following versions of Debian: |
| 37 | 37 |
$ uname -r |
| 38 | 38 |
|
| 39 | 39 |
Additionally, for users of Debian Wheezy, backports must be available. To enable backports in Wheezy: |
| 40 |
- |
|
| 40 |
+ |
|
| 41 | 41 |
1. Log into your machine and open a terminal with `sudo` or `root` privileges. |
| 42 |
- |
|
| 42 |
+ |
|
| 43 | 43 |
2. Open the `/etc/apt/sources.list.d/backports.list` file in your favorite editor. |
| 44 | 44 |
|
| 45 | 45 |
If the file doesn't exist, create it. |
| 46 |
- |
|
| 46 |
+ |
|
| 47 | 47 |
3. Remove any existing entries. |
| 48 |
- |
|
| 48 |
+ |
|
| 49 | 49 |
4. Add an entry for backports on Debian Wheezy. |
| 50 | 50 |
|
| 51 | 51 |
An example entry: |
| ... | ... |
@@ -67,8 +67,8 @@ from the new repository: |
| 67 | 67 |
|
| 68 | 68 |
3. Purge any older repositories. |
| 69 | 69 |
|
| 70 |
- $ apt-get purge lxc-docker* |
|
| 71 |
- $ apt-get purge docker.io* |
|
| 70 |
+ $ apt-get purge "lxc-docker*" |
|
| 71 |
+ $ apt-get purge "docker.io*" |
|
| 72 | 72 |
|
| 73 | 73 |
4. Update package information, ensure that APT works with the `https` method, and that CA certificates are installed. |
| 74 | 74 |
|