File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ onex::mongo::pre_install()
48
48
echo ${LINUX_PASSWORD} | sudo -S wget -qO - https://www.mongodb.org/static/pgp/server-7.0.asc | sudo apt-key add -
49
49
50
50
# 添加 MongoDB APT 源
51
- echo ${LINUX_PASSWORD} | sudo -S echo " deb [arch=amd64,arm64] https://repo.mongodb.org/apt/ubuntu bionic /mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
51
+ echo ${LINUX_PASSWORD} | sudo -S echo " deb [arch=amd64,arm64] https://repo.mongodb.org/apt/ubuntu $( lsb_release -cs ) /mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
52
52
53
53
# 安装libssl1.1,否则安装 mongo 时会报以下错误:
54
54
# mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.1) but it is not installable
You can’t perform that action at this time.
0 commit comments