-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Dell xps13, linux Ubuntu 14.04
*Location*: https://docs.mongodb.com/master/tutorial/install-mongodb-on-linux/
*User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
*Screen Resolution*: 3840 x 2160
Hi
I followed the instructions to install on Ubuntu 14.04 but the process failed. Most of the packages wouldn't authenticate. I ran sudo apt-get allow-unauthenticated install but that failed. The complete trace is
user@domain:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
[sudo] password for user:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.XOOI0mbz1Q --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/mutlaqja-ppa.gpg --keyring /etc/apt/trusted.gpg.d/rawstudio-ppa.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
gpg: requesting key A15703C6 from hkp server keyserver.ubuntu.com
gpg: key A15703C6: public key "MongoDB 3.4 Release Signing Key <packaging@mongodb.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
user@domain:~$ echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/testing multiverse
user@domain:~$ sudo apt-get update
Ign http://gb.archive.ubuntu.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:2 http://ppa.launchpad.net trusty InRelease [15.4 kB]
Get:3 http://gb.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://download.virtualbox.org trusty InRelease
Ign http://repo.mongodb.org trusty/mongodb-org/testing InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty InRelease
Hit http://download.virtualbox.org trusty/contrib amd64 Packages
Get:4 http://repo.mongodb.org trusty/mongodb-org/testing Release.gpg [801 B]
Hit http://extras.ubuntu.com trusty/main Sources
Get:5 http://security.ubuntu.com trusty-security/main Sources [120 kB]
Hit http://gb.archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://download.virtualbox.org trusty/contrib i386 Packages
Get:6 http://repo.mongodb.org trusty/mongodb-org/testing Release [5,374 B]
Ign http://repo.mongodb.org trusty/mongodb-org/testing Release
Hit http://gb.archive.ubuntu.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty/main amd64 Packages/DiffIndex
Hit http://extras.ubuntu.com trusty/main i386 Packages
Get:7 http://gb.archive.ubuntu.com trusty-updates/main Sources [384 kB]
Ign http://ppa.launchpad.net trusty/main i386 Packages/DiffIndex
Get:8 http://security.ubuntu.com trusty-security/restricted Sources [4,613 B]
Get:9 http://security.ubuntu.com trusty-security/universe Sources [45.1 kB]
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:10 http://security.ubuntu.com trusty-security/multiverse Sources [3,207 B]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:11 http://security.ubuntu.com trusty-security/main amd64 Packages [547 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:12 http://gb.archive.ubuntu.com trusty-updates/restricted Sources [5,888 B]
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:13 http://gb.archive.ubuntu.com trusty-updates/universe Sources [169 kB]
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:14 http://gb.archive.ubuntu.com trusty-updates/multiverse Sources [7,522 B]
Ign http://extras.ubuntu.com trusty/main Translation-en_GB
Get:15 http://gb.archive.ubuntu.com trusty-updates/main amd64 Packages [918 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://download.virtualbox.org trusty/contrib Translation-en_GB
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://download.virtualbox.org trusty/contrib Translation-en
Get:16 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.3 kB]
Get:17 http://security.ubuntu.com trusty-security/universe amd64 Packages [142 kB]
Get:18 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,138 B]
Hit http://ppa.launchpad.net trusty Release
Get:19 http://security.ubuntu.com trusty-security/main i386 Packages [507 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:20 http://gb.archive.ubuntu.com trusty-updates/restricted amd64 Packages [16.4 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:21 http://repo.mongodb.org trusty/mongodb-org/testing/multiverse amd64 Packages [13.8 kB]
Get:22 http://gb.archive.ubuntu.com trusty-updates/universe amd64 Packages [388 kB]
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:23 http://repo.mongodb.org trusty/mongodb-org/testing/multiverse i386 Packages [29 B]
Ign http://ppa.launchpad.net trusty/main Translation-en_GB
Get:24 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.1 kB]
Get:25 http://security.ubuntu.com trusty-security/universe i386 Packages [142 kB]
Get:26 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,289 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Get:27 http://gb.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.0 kB]
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Get:28 http://gb.archive.ubuntu.com trusty-updates/main i386 Packages [877 kB]
Ign http://repo.mongodb.org trusty/mongodb-org/testing/multiverse Translation-en_GB
Ign http://repo.mongodb.org trusty/mongodb-org/testing/multiverse Translation-en
Get:29 http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages [16.2 kB]
Get:30 http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages [389 kB]
Get:31 http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages [14.5 kB]
Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/main Sources
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://gb.archive.ubuntu.com trusty-backports/universe Sources
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty Release
Hit http://gb.archive.ubuntu.com trusty/main Sources
Hit http://gb.archive.ubuntu.com trusty/restricted Sources
Hit http://gb.archive.ubuntu.com trusty/universe Sources
Hit http://gb.archive.ubuntu.com trusty/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/main Translation-en
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en
Fetched 4,912 kB in 39s (126 kB/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E2B7D64D93330B78
W: GPG error: http://repo.mongodb.org trusty/mongodb-org/testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D68FA50FEA312927
user@domain:~$ sudo apt-get install -y mongodb-org
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgsoap4 linux-headers-3.13.0-92 linux-headers-3.13.0-92-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
The following NEW packages will be installed
mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell
mongodb-org-tools
0 to upgrade, 5 to newly install, 0 to remove and 89 not to upgrade.
Need to get 66.6 MB of archives.
After this operation, 269 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools
mongodb-org
E: There are problems and -y was used without --force-yes
user@domain:~$ sudo apt-get install -y --allow-unauthenticated mongodb-org
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgsoap4 linux-headers-3.13.0-92 linux-headers-3.13.0-92-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
The following NEW packages will be installed
mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell
mongodb-org-tools
0 to upgrade, 5 to newly install, 0 to remove and 89 not to upgrade.
Need to get 66.6 MB of archives.
After this operation, 269 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools
mongodb-org
Authentication warning overridden.
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/testing/multiverse mongodb-org-shell amd64 3.4.0~rc3
Could not resolve 'repo.mongodb.org'
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/testing/multiverse mongodb-org-server amd64 3.4.0~rc3
Could not resolve 'repo.mongodb.org'
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/testing/multiverse mongodb-org-mongos amd64 3.4.0~rc3
Could not resolve 'repo.mongodb.org'
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/testing/multiverse mongodb-org-tools amd64 3.4.0~rc3
Could not resolve 'repo.mongodb.org'
Err http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/testing/multiverse mongodb-org amd64 3.4.0~rc3
Could not resolve 'repo.mongodb.org'
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/testing/multiverse/binary-amd64/mongodb-org-shell_3.4.0~rc3_amd64.deb Could not resolve 'repo.mongodb.org'
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/testing/multiverse/binary-amd64/mongodb-org-server_3.4.0~rc3_amd64.deb Could not resolve 'repo.mongodb.org'
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/testing/multiverse/binary-amd64/mongodb-org-mongos_3.4.0~rc3_amd64.deb Could not resolve 'repo.mongodb.org'
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/testing/multiverse/binary-amd64/mongodb-org-tools_3.4.0~rc3_amd64.deb Could not resolve 'repo.mongodb.org'
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/testing/multiverse/binary-amd64/mongodb-org_3.4.0~rc3_amd64.deb Could not resolve 'repo.mongodb.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
user@domain:~$ sudo apt-get purge mongodb-org*
[sudo] password for usr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mongodb-org' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-unstable-shell' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-mongos' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-server' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-shell' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-unstable-tools' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-unstable' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-unstable-mongos' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-unstable-server' for regex 'mongodb-org*'
Note, selecting 'mongodb-org-tools' for regex 'mongodb-org*'
Package 'mongodb-org-unstable' is not installed, so not removed
Package 'mongodb-org-unstable-mongos' is not installed, so not removed
Package 'mongodb-org-unstable-server' is not installed, so not removed
Package 'mongodb-org-unstable-shell' is not installed, so not removed
Package 'mongodb-org-unstable-tools' is not installed, so not removed
Package 'mongodb-org' is not installed, so not removed
Package 'mongodb-org-mongos' is not installed, so not removed
Package 'mongodb-org-server' is not installed, so not removed
Package 'mongodb-org-shell' is not installed, so not removed
Package 'mongodb-org-tools' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libgsoap4 linux-headers-3.13.0-92 linux-headers-3.13.0-92-generic
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 89 not to upgrade.
user@domain:~$
- is related to
-
SERVER-27398 packages cannot be authenticated
- Closed