Unstable installation of php 7.0.4

Hi i have some issues with builds where its not installing PHP version 7.0.4 with gettext probably the same with mysql version 5., but its only sometimes it fails the installation

i get following errors on install php: "E: Version ‘4’ for ‘circleci-php-7.0.4’ was not found"
and following error on install mysql 5.7

Fetched 2,705 kB in 2s (1,229 kB/s)
W: GPG error: http://www.apache.org 34x InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 749D6EEC0353B12C
W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-amd64/Packages gnutls_handshake() failed: Handshake failed

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

the thing is that it only happen on some builds and not every build

is there anything i can do to prevent theese errors for each build that is created?

any help will be appreciated

cheers