root@ip-x.x.x.x:~# mongod --version
|
db version v4.4.12
|
Build Info: {
|
"version": "4.4.12",
|
"gitVersion": "51475a8c4d9856eb1461137e7539a0a763cc85dc",
|
"openSSLVersion": "OpenSSL 1.0.2g 1 Mar 2016",
|
"modules": [],
|
"allocator": "tcmalloc",
|
"environment": {
|
"distmod": "ubuntu1604",
|
"distarch": "x86_64",
|
"target_arch": "x86_64"
|
}
|
}
|
root@ip-x.x.x.x:~# sudo apt-get install -y mongodb-org=5.0.19 mongodb-org-server=5.0.19 mongodb-org-shell=5.0.19 mongodb-org-mongos=5.0.19 mongodb-org-tools=5.0.19
|
Reading package lists... Done
|
Building dependency tree
|
Reading state information... Done
|
mongodb-org-tools is already the newest version (5.0.19).
|
mongodb-org is already the newest version (5.0.19).
|
Some packages could not be installed. This may mean that you have
|
requested an impossible situation or if you are using the unstable
|
distribution that some required packages have not yet been created
|
or been moved out of Incoming.
|
The following information may help to resolve the situation:
|
|
The following packages have unmet dependencies:
|
mongodb-org-mongos : Depends: libc6 (>= 2.29) but 2.23-0ubuntu11.3 is to be installed
|
Depends: libcurl4 (>= 7.16.2) but it is not installable
|
Depends: libgcc-s1 (>= 4.2) but it is not installable
|
Depends: libssl1.1 (>= 1.1.1) but it is not installable
|
mongodb-org-server : Depends: libc6 (>= 2.29) but 2.23-0ubuntu11.3 is to be installed
|
Depends: libcurl4 (>= 7.16.2) but it is not installable
|
Depends: libgcc-s1 (>= 4.2) but it is not installable
|
Depends: libssl1.1 (>= 1.1.1) but it is not installable
|
mongodb-org-shell : Depends: libc6 (>= 2.29) but 2.23-0ubuntu11.3 is to be installed
|
Depends: libcurl4 (>= 7.16.2) but it is not installable
|
Depends: libgcc-s1 (>= 4.2) but it is not installable
|
Depends: libssl1.1 (>= 1.1.1) but it is not installable
|
E: Unable to correct problems, you have held broken packages.
|
|