[SERVER-22687] Hash sum mismach on Ubuntu 14.04 Created: 17/Feb/16  Updated: 16/Aug/16  Resolved: 16/Aug/16

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Alberto Piccinno Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: Linux
Steps To Reproduce:

starting from clean ubuntu 14.0
add the key
#apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
#echo "deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/stable multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
apt-get update

Participants:

 Description   

I'm trying to install MongoDB Enterprise following this guide.
https://docs.mongodb.org/manual/tutorial/install-mongodb-enterprise-on-ubuntu/

-------------------------------
Start by a keylist clean on a clean ubuntu inside a XenServer 6.2

root@janus:~# apt-key list
/etc/apt/trusted.gpg
--------------------
pub   1024D/437D05B5 2004-09-12
uid                  Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
sub   2048g/79164387 2004-09-12
 
pub   1024D/FBB75451 2004-12-30
uid                  Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>
 
pub   4096R/C0B21F32 2012-05-11
uid                  Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
 
pub   4096R/EFE21092 2012-05-11
uid                  Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>
 
root@janus:~# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.kQIryuaEds --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com
gpg: key EA312927: public key "MongoDB 3.2 Release Signing Key <packaging@mongodb.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
root@janus:~# echo "deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/stable multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/stable multiverse
root@janus:~# apt-get update
Ign http://repo.mongodb.org trusty/mongodb-org/3.2 InRelease
Hit http://repo.mongodb.org trusty/mongodb-org/3.2 Release.gpg
Hit http://repo.mongodb.org trusty/mongodb-org/3.2 Release
Ign http://it.archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse amd64 Packages
Hit http://it.archive.ubuntu.com trusty-updates InRelease
Hit http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://it.archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://it.archive.ubuntu.com trusty-updates/main Sources
Ign http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse Translation-en_GB
Ign http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/universe Sources
Ign http://repo.mongodb.com trusty/mongodb-enterprise/stable InRelease
Hit http://repo.mongodb.com trusty/mongodb-enterprise/stable Release.gpg
Hit http://it.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://repo.mongodb.com trusty/mongodb-enterprise/stable Release
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Get:1 http://repo.mongodb.com trusty/mongodb-enterprise/stable/multiverse amd64 Packages [3,577 B]
Hit http://it.archive.ubuntu.com trusty-updates/universe Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://it.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://it.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://it.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://it.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://it.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://it.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://repo.mongodb.com trusty/mongodb-enterprise/stable/multiverse i386 Packages
Hit http://it.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://it.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://it.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://it.archive.ubuntu.com trusty Release
Hit http://it.archive.ubuntu.com trusty-backports/main Sources
Hit http://it.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://it.archive.ubuntu.com trusty-backports/universe Sources
Hit http://it.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://it.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://it.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://it.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://it.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://it.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://it.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://it.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://it.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://it.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://it.archive.ubuntu.com trusty/main Sources
Hit http://it.archive.ubuntu.com trusty/restricted Sources
Hit http://it.archive.ubuntu.com trusty/universe Sources
Hit http://it.archive.ubuntu.com trusty/multiverse Sources
Hit http://it.archive.ubuntu.com trusty/main amd64 Packages
Hit http://it.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://it.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://it.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://it.archive.ubuntu.com trusty/main i386 Packages
Hit http://it.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://it.archive.ubuntu.com trusty/universe i386 Packages
Hit http://it.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://it.archive.ubuntu.com trusty/main Translation-en_GB
Hit http://it.archive.ubuntu.com trusty/main Translation-en
Hit http://it.archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://it.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://it.archive.ubuntu.com trusty/restricted Translation-en_GB
Hit http://it.archive.ubuntu.com trusty/restricted Translation-en
Hit http://it.archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://it.archive.ubuntu.com trusty/universe Translation-en
Ign http://repo.mongodb.com trusty/mongodb-enterprise/stable/multiverse Translation-en_GB
Ign http://repo.mongodb.com trusty/mongodb-enterprise/stable/multiverse Translation-en
Fetched 3,577 B in 4s (746 B/s)
W: Failed to fetch http://repo.mongodb.com/apt/ubuntu/dists/trusty/mongodb-enterprise/stable/multiverse/binary-amd64/Packages  Hash Sum mismatch
 
E: Some index files failed to download. They have been ignored, or old ones used instead.



 Comments   
Comment by Ernie Hershey [ 18/Feb/16 ]

Great! Thanks for reporting the problem and for using MongoDB.

Comment by Alberto Piccinno [ 18/Feb/16 ]

Wonderfull....

It works now.

Thank you.

Comment by Ernie Hershey [ 17/Feb/16 ]

alberto.piccinno@ennova-research.com - can you try again? This may have been due to transient issues with timestamps in the package repos. I could reproduce it earlier and can't now. We have an internal ticket to tighten up the repo metadata syncing process that should help with this type of problem in the future.

Generated at Thu Feb 08 04:01:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.