Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@iZm5edsu6v77zfb40qfbicZ:~# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
- Executing: /tmp/tmp.JelfERqdDY/gpg.1.sh --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 <[email protected]>" imported
- gpg: Total number processed: 1
- gpg: imported: 1 (RSA: 1)
- root@iZm5edsu6v77zfb40qfbicZ:~# echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
- deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse
- root@iZm5edsu6v77zfb40qfbicZ:~# sudo apt-get update
- Hit:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
- Hit:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease
- Hit:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease
- Ign:4 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0 InRelease
- Ign:5 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 InRelease
- Ign:6 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 InRelease
- Ign:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
- Ign:8 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0 Release
- Get:9 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release [3462 B]
- Hit:10 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 Release
- Get:12 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release [3457 B]
- Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
- Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
- Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
- Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
- Get:17 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release.gpg [455 B]
- Ign:17 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release.gpg
- Get:18 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release.gpg [801 B]
- Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
- Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
- Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
- Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
- Hit:19 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0/multiverse amd64 Packages
- Get:20 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 Packages [8276 B]
- Get:21 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse arm64 Packages [8284 B]
- Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
- Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
- Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
- Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
- Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
- Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
- Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
- Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
- Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
- Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
- Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
- Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
- Err:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
- 404 Not Found
- Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
- Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
- Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
- Fetched 24.7 kB in 15s (1609 B/s)
- Reading package lists... Done
- W: The repository 'http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0 Release' does not have a Release file.
- N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
- N: See apt-secure(8) manpage for repository creation and user configuration details.
- W: GPG error: http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9ECBEC467F0CEB10
- W: The repository 'http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release' is not signed.
- N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
- N: See apt-secure(8) manpage for repository creation and user configuration details.
- E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/2.0/multiverse/binary-amd64/Packages 404 Not Found
- E: Some index files failed to download. They have been ignored, or old ones used instead.
- root@iZm5edsu6v77zfb40qfbicZ:~# sudo apt-get install mongodb-org
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages will be upgraded:
- mongodb-org
- 1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
- Need to get 3522 B of archives.
- After this operation, 9216 B of additional disk space will be used.
- Get:1 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 mongodb-org amd64 3.4.10 [3522 B]
- Fetched 3522 B in 0s (6450 B/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_CTYPE = "UTF-8",
- LANG = "en_US.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- (Reading database ... 101464 files and directories currently installed.)
- Preparing to unpack .../mongodb-org_3.4.10_amd64.deb ...
- Unpacking mongodb-org (3.4.10) over (3.2.18) ...
- Setting up mongodb-org (3.4.10) ...
- root@iZm5edsu6v77zfb40qfbicZ:~# sudo systemctl start mongod
- Failed to start mongod.service: Unit mongod.service not found.
Advertisement
Add Comment
Please, Sign In to add comment