Skip to content

Commit 4e20a23

Browse files
authored
DOCSP-23444 https sources list (#2756) (#2783)
* DOCSP-23444 Switches repository for Debian/Ubuntu from http to https * Adds apt-transport-https install step for Xenial
1 parent 7567736 commit 4e20a23

File tree

2 files changed

+25
-9
lines changed

2 files changed

+25
-9
lines changed

source/includes/steps-install-mongodb-enterprise-on-debian.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,20 @@ content: |
2020
2121
.. code-block:: sh
2222
23-
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
23+
echo "deb https://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
2424
2525
.. tab:: Debian 9 "Stretch"
2626
:tabid: debian-9-stretch
2727
2828
.. code-block:: sh
2929
30-
echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
30+
echo "deb https://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
31+
32+
Install the ``apt-transport-https`` package:
33+
34+
.. code-block:: bash
35+
36+
apt install apt-transport-https
3137
3238
If you'd like to install MongoDB Enterprise packages from a
3339
particular :ref:`release series <release-version-numbers>`, you can
@@ -44,14 +50,21 @@ content: |
4450
4551
.. code-block:: sh
4652
47-
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-4.2.list
53+
echo "deb https://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version-last+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version-last+}.list
4854
4955
.. tab:: Debian 9 "Stretch"
5056
:tabid: debian-9-stretch
5157
5258
.. code-block:: sh
5359
54-
echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-4.2.list
60+
echo "deb https://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-4.2.list
61+
Install the ``apt-transport-https`` package:
62+
63+
.. code-block:: bash
64+
65+
apt install apt-transport-https
66+
67+
5568
---
5669
stepnum: 3
5770
level: 4

source/includes/steps-install-mongodb-enterprise-on-ubuntu.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ content: |
1616
.. tabs::
1717
1818
tabs:
19+
1920
- id: bionic
2021
name: Ubuntu 18.04 (Bionic)
2122
content: |
@@ -26,9 +27,7 @@ content: |
2627
2728
Create the list file for Ubuntu 18.04 (Bionic).
2829
29-
.. code-block:: sh
30-
31-
echo "deb [ arch=amd64,arm64,s390x ] http://repo.mongodb.com/apt/ubuntu bionic/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
30+
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.com/apt/ubuntu bionic/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
3231
3332
- id: xenial
3433
name: Ubuntu 16.04 (Xenial)
@@ -40,9 +39,13 @@ content: |
4039
4140
Create the list file for Ubuntu 16.04 (Xenial).
4241
43-
.. code-block:: sh
42+
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
43+
44+
Install the ``apt-transport-https`` package:
45+
46+
.. code-block:: bash
4447
45-
echo "deb [ arch=amd64,arm64,s390x ] http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
48+
apt install apt-transport-https
4649
4750
---
4851
stepnum: 3

0 commit comments

Comments
 (0)