Problem with apt-get on Ubuntu 14.04


#1

Hi guys,

We expecting some very strange problem with

sudo apt-get install -y libssh2–1-dev libssh2–1

When we trying to run this command from dependencies config, or connecting to VM immediately after start by SSH, we see error:

Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 1%
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree       
Reading state information... Done
E: Unable to locate package libssh2–1-dev
E: Unable to locate package libssh2–1

But if we wait 5-10 minutes, and run this command again by SSH on VM, it works. It’s reproducing 10/10.

Tried everything that was in Google. Nothing works. It’s not about apt-get update, not about sources.list because we tried to replace it with sources.list.saved (default one).

Any ideas why it happens, and how to fix it?

Thank you!

P.S. there is apt-get update results that contains same kind of errors:

Ign http://debian.neo4j.org stable/ InRelease

Ign http://repo.mongodb.org trusty/mongodb-org/3.0 InRelease

Hit http://repo.mongodb.org trusty/mongodb-org/3.0 Release.gpg

Get:1 http://repo.mysql.com trusty InRelease [28.6 kB]

Get:2 http://debian.neo4j.org stable/ Release.gpg [819 B]

81% [Connecting to archive.ubuntu.com (91.189.88.162)] [Connecting to security.Ign http://toolbelt.heroku.com ./ InRelease

Hit http://repo.mongodb.org trusty/mongodb-org/3.0 Release

Hit http://debian.neo4j.org stable/ Release

Err http://repo.mysql.com trusty InRelease
  

Hit http://toolbelt.heroku.com ./ Release.gpg

Get:3 http://debian.neo4j.org stable/ Packages [34.8 kB]

100% [Waiting for headers] [Waiting for headers] [Waiting for headers] [WaitingHit http://toolbelt.heroku.com ./ Release

Hit http://security.ubuntu.com trusty-security InRelease

Get:4 http://repo.mongodb.org trusty/mongodb-org/3.0/multiverse amd64 Packages [10.7 kB]

Ign http://archive.ubuntu.com trusty InRelease

100% [Connecting to dl.bintray.com (75.126.118.188)] [InRelease gpgv 65.9 kB] [Hit http://apt.postgresql.org trusty-pgdg InRelease

Hit http://archive.ubuntu.com trusty-updates InRelease

Hit http://ppa.launchpad.net trusty InRelease

Hit https://apt.dockerproject.org ubuntu-trusty InRelease

100% [Waiting for headers] [InRelease gpgv 15.5 kB] [Waiting for headers] [Wait100% [Waiting for headers] [InRelease gpgv 30.2 kB] [Waiting for headers] [WaitGet:5 http://www.apache.org 34x InRelease [3,167 B]

Get:6 https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages

Hit http://archive.ubuntu.com trusty Release.gpg

Ign http://ppa.launchpad.net trusty InRelease

100% [Waiting for headers] [Waiting for headers] [Waiting for headers] [WaitingHit http://ppa.launchpad.net trusty InRelease

Hit http://toolbelt.heroku.com ./ Packages

100% [Waiting for headers] [Waiting for headers] [Waiting for headers] [WaitingHit http://ppa.launchpad.net trusty InRelease

Get:7 http://www.apache.org 34x/main amd64 Packages [696 B]

100% [Waiting for headers] [Waiting for headers] [Waiting for headers]Hit http://ppa.launchpad.net trusty InRelease

Hit http://security.ubuntu.com trusty-security/main amd64 Packages

Hit http://apt.postgresql.org trusty-pgdg/main amd64 Packages

100% [Packages 731 kB] [Waiting for headers] [Waiting for headers] [Waiting forHit http://security.ubuntu.com trusty-security/restricted amd64 Packages

Hit http://archive.ubuntu.com trusty Release

Hit http://ppa.launchpad.net trusty Release.gpg

100% [Waiting for headers] [Waiting for headers] [Waiting for headers]Hit http://security.ubuntu.com trusty-security/universe amd64 Packages

Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages

Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages

100% [Packages 1,199 kB] [Waiting for headers] [Waiting for headers]Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages

100% [Packages 1,199 kB] [Waiting for headers] [Waiting for headers]Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages

Hit https://packagecloud.io trusty InRelease

100% [Waiting for headers] [Waiting for headers]Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages

Hit http://ppa.launchpad.net trusty/main amd64 Packages

Hit https://packagecloud.io trusty InRelease

100% [InRelease gpgv 23.3 kB] [Waiting for headers] [Waiting for headers]Hit http://ppa.launchpad.net trusty Release

Hit http://ppa.launchpad.net trusty/main amd64 Packages

100% [Waiting for headers] [Waiting for headers]Hit https://packagecloud.io trusty InRelease

Hit http://ppa.launchpad.net trusty/main amd64 Packages

100% [Waiting for headers] [Waiting for headers]Hit http://ppa.launchpad.net trusty/main amd64 Packages

Get:8 https://packagecloud.io trusty/main Sources

100% [Waiting for headers] [Waiting for headers]Hit http://archive.ubuntu.com trusty/main amd64 Packages

100% [Packages 1,743 kB] [Waiting for headers]Hit http://archive.ubuntu.com trusty/restricted amd64 Packages

Get:9 https://packagecloud.io trusty/main amd64 Packages

Hit http://ppa.launchpad.net trusty/main amd64 Packages

100% [Packages 1,743 kB] [Waiting for headers]Get:10 https://packagecloud.io trusty/main Sources

100% [Waiting for headers]Hit http://archive.ubuntu.com trusty/universe amd64 Packages

100% [Packages 0 B] [Waiting for headers]Get:11 https://packagecloud.io trusty/main amd64 Packages

Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages

100% [Packages 7,589 kB]Get:12 https://packagecloud.io trusty/main Sources

100% [Packages 7,589 kB]Get:13 https://packagecloud.io trusty/main amd64 Packages

100% [Packages 7,589 kB]100% [Packages 0 B]Fetched 52.9 kB in 2s (20.4 kB/s)

Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... Done

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com trusty InRelease: The following signatures were invalid: KEYEXPIRED 1487236823 KEYEXPIRED 1487236823 KEYEXPIRED 1487236823

W: Size of file /var/lib/apt/lists/packagecloud.io_basho_riak_ubuntu_dists_trusty_main_binary-amd64_Packages.gz is not what the server reported 353 2431
W: Size of file /var/lib/apt/lists/packagecloud.io_circleci_trusty_ubuntu_dists_trusty_main_binary-amd64_Packages.gz is not what the server reported 355 34461
W: Size of file /var/lib/apt/lists/packagecloud.io_github_git-lfs_ubuntu_dists_trusty_main_binary-amd64_Packages.gz is not what the server reported 353 3870
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/trusty/InRelease  

W: Failed to fetch https://packagecloud.io/basho/riak/ubuntu/dists/trusty/main/source/Sources  Hash Sum mismatch

W: Failed to fetch https://packagecloud.io/basho/riak/ubuntu/dists/trusty/main/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch https://packagecloud.io/circleci/trusty/ubuntu/dists/trusty/main/source/Sources  Hash Sum mismatch

W: Failed to fetch https://packagecloud.io/circleci/trusty/ubuntu/dists/trusty/main/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch https://packagecloud.io/github/git-lfs/ubuntu/dists/trusty/main/source/Sources  Hash Sum mismatch

W: Failed to fetch https://packagecloud.io/github/git-lfs/ubuntu/dists/trusty/main/binary-amd64/Packages  Hash Sum mismatch

W: Some index files failed to download. They have been ignored, or old ones used instead.

#3

Hey!

Thanks for your patience, I checked with our engineering team and this looks like an upstream issue. I am happy to reach out to them, but I was wondering if this was still happening for you?

We have not gotten any other reports of this so I am curious if it was a temporary issue that has already been resolved.

Thanks!
Lev


#4