Skip to content

Commit b5e7f52

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

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ content: |
2020
2121
.. code-block:: bash
2222
23-
echo "deb http://repo.mongodb.com/apt/debian bullseye/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
23+
echo "deb https://repo.mongodb.com/apt/debian bullseye/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
2424
2525
.. tab:: Debian 10 "Buster"
2626
:tabid: debian-10-buster
2727
2828
.. code-block:: bash
2929
30-
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
30+
echo "deb https://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
3131
3232
.. tab:: Debian 9 "Stretch"
3333
:tabid: debian-9-stretch
@@ -51,14 +51,14 @@ content: |
5151
5252
.. code-block:: bash
5353
54-
echo "deb http://repo.mongodb.com/apt/debian bullseye/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version+}.list
54+
echo "deb https://repo.mongodb.com/apt/debian bullseye/mongodb-enterprise/{+version-last+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version-last+}.list
5555
5656
.. tab:: Debian 10 "Buster"
5757
:tabid: debian-10-buster
5858
5959
.. code-block:: bash
6060
61-
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version+}.list
61+
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
6262
6363
.. tab:: Debian 9 "Stretch"
6464
:tabid: debian-9-stretch

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ content: |
2727
2828
.. code-block:: bash
2929
30-
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.com/apt/ubuntu focal/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 focal/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
3131
3232
- id: bionic
3333
name: Ubuntu 18.04 (Bionic)
@@ -40,7 +40,7 @@ content: |
4040
4141
.. code-block:: bash
4242
43-
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.com/apt/ubuntu bionic/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
43+
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
4444
4545
- id: xenial
4646
name: Ubuntu 16.04 (Xenial)
@@ -53,7 +53,13 @@ content: |
5353
5454
.. code-block:: bash
5555
56-
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
56+
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
57+
58+
Install the ``apt-transport-https`` package:
59+
60+
.. code-block:: bash
61+
62+
apt install apt-transport-https
5763
5864
---
5965
stepnum: 3

0 commit comments

Comments
 (0)