Guest User

Untitled

a guest
Jan 19th, 2018
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.09 KB | None | 0 0
  1. root@iZm5edsu6v77zfb40qfbicZ:~# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
  2. Executing: /tmp/tmp.JelfERqdDY/gpg.1.sh --keyserver
  3. hkp://keyserver.ubuntu.com:80
  4. --recv
  5. 0C49F3730359A14518585931BC711F9BA15703C6
  6. gpg: requesting key A15703C6 from hkp server keyserver.ubuntu.com
  7. gpg: key A15703C6: public key "MongoDB 3.4 Release Signing Key <[email protected]>" imported
  8. gpg: Total number processed: 1
  9. gpg: imported: 1 (RSA: 1)
  10. 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
  11. deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse
  12. root@iZm5edsu6v77zfb40qfbicZ:~# sudo apt-get update
  13. Hit:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
  14. Hit:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease
  15. Hit:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease
  16. Ign:4 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0 InRelease
  17. Ign:5 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 InRelease
  18. Ign:6 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 InRelease
  19. Ign:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
  20. Ign:8 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0 Release
  21. Get:9 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release [3462 B]
  22. Hit:10 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 Release
  23. Get:12 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release [3457 B]
  24. Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
  25. Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
  26. Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
  27. Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
  28. Get:17 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release.gpg [455 B]
  29. Ign:17 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release.gpg
  30. Get:18 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release.gpg [801 B]
  31. Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
  32. Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
  33. Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
  34. Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
  35. Hit:19 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0/multiverse amd64 Packages
  36. Get:20 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 Packages [8276 B]
  37. Get:21 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse arm64 Packages [8284 B]
  38. Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
  39. Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
  40. Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
  41. Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
  42. Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
  43. Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
  44. Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
  45. Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
  46. Ign:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
  47. Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
  48. Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
  49. Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
  50. Err:13 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse amd64 Packages
  51. 404 Not Found
  52. Ign:14 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse i386 Packages
  53. Ign:15 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse all Packages
  54. Ign:16 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0/multiverse Translation-en
  55. Fetched 24.7 kB in 15s (1609 B/s)
  56. Reading package lists... Done
  57. W: The repository 'http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/2.0 Release' does not have a Release file.
  58. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
  59. N: See apt-secure(8) manpage for repository creation and user configuration details.
  60. 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
  61. W: The repository 'http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 Release' is not signed.
  62. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
  63. N: See apt-secure(8) manpage for repository creation and user configuration details.
  64. E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/2.0/multiverse/binary-amd64/Packages 404 Not Found
  65. E: Some index files failed to download. They have been ignored, or old ones used instead.
  66. root@iZm5edsu6v77zfb40qfbicZ:~# sudo apt-get install mongodb-org
  67. Reading package lists... Done
  68. Building dependency tree
  69. Reading state information... Done
  70. The following packages will be upgraded:
  71. mongodb-org
  72. 1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
  73. Need to get 3522 B of archives.
  74. After this operation, 9216 B of additional disk space will be used.
  75. Get:1 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 mongodb-org amd64 3.4.10 [3522 B]
  76. Fetched 3522 B in 0s (6450 B/s)
  77. perl: warning: Setting locale failed.
  78. perl: warning: Please check that your locale settings:
  79. LANGUAGE = (unset),
  80. LC_ALL = (unset),
  81. LC_CTYPE = "UTF-8",
  82. LANG = "en_US.UTF-8"
  83. are supported and installed on your system.
  84. perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
  85. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  86. locale: Cannot set LC_ALL to default locale: No such file or directory
  87. (Reading database ... 101464 files and directories currently installed.)
  88. Preparing to unpack .../mongodb-org_3.4.10_amd64.deb ...
  89. Unpacking mongodb-org (3.4.10) over (3.2.18) ...
  90. Setting up mongodb-org (3.4.10) ...
  91. root@iZm5edsu6v77zfb40qfbicZ:~# sudo systemctl start mongod
  92. Failed to start mongod.service: Unit mongod.service not found.
Advertisement
Add Comment
Please, Sign In to add comment