I followed the instructions on https://about.gitlab.com/downloads/ But, after running apt-get update and apt-get upgrade, all I get is this:
root:~# apt-get install gitlab-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gitlab-ce
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 313 MB of archives.
After this operation, 870 MB of additional disk space will be used.
Err https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty/main gitlab-ce amd64 7.11.4~omnibus-1
Operation too slow. Less than 10 bytes/sec transferred the last 120 seconds
E: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/pool/trusty/main/g/gitlab-ce/gitlab-ce_7.11.4~omnibus-1_amd64.deb Operation too slow. Less than 10 bytes/sec transferred the last 120 seconds
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Any suggestions? Google has remarkably few search results on the subject…
0% [Working]^Cubuntu@gitlab:~$ sudo apt-get install gitlab-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gitlab-ce
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 313 MB of archives.
After this operation, 870 MB of additional disk space will be used.
Fetched 313 MB in 6min 3s (863 kB/s)
E: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/pool/trusty/main/g/gitlab-ce/gitlab-ce_7.11.4~omnibus-1_amd64.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ubuntu@gitlab:~$ sudo apt-get install gitlab-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gitlab-ce
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 313 MB of archives.
maybe is the network problem,I like download file to install instead of that …
[ worker@b9a4342b0035:~/ $ sudo apt-get install gitlab-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gitlab-ce
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 313 MB of archives.
After this operation, 870 MB of additional disk space will be used.
Err https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty/main gitlab-ce amd64 7.11.4~omnibus-1
GnuTLS recv error (-9): A TLS packet with unexpected length was received.
E: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/pool/trusty/main/g/gitlab-ce/gitlab-ce_7.11.4~omnibus-1_amd64.deb GnuTLS recv error (-9): A TLS packet with unexpected length was received.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
This seems to be server related, since so many people are facing the same problem. Maybe an instance of the download server is down and only the loadbalancer will make it eventually work?
I just ran into this issue again when trying to upgrade. apt-get install gitlab-c just won’t work.
Fetched 350 MB in 27s (12.6 MB/s)
E: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/pool/trusty/main/g/gitlab-ce/gitlab-ce_7.14.0-ce.0_amd64.deb Hash Sum mismatch
E: Some files failed to download
This is still occurring, I have confirmed there is no proxy or gateway issue, a repeated manual wget of the file shows a different md5sum about 30% of the time, clearly a server issue @ gitlab.
Dumb luck that this fixed it mate, either it was a different problem to begin with, or you just the repeated attempt to download worked, there is an intermittent issue with the source (the gitlab server).