Trusty + Mysql 5.7 install error

Hello, good morning. I’ve run into this issue since yesterday, and tried the build three times to see if it got fixed…

Thanks in advance for your help.


      - mysql-5.7-trusty
      - mysql-server
      - mysql-client
  dist: trusty


Adding APT Sources

0.45s$ curl -sSL "" | sudo -E apt-key add -


0.01s$ echo "deb trusty mysql-5.7" | sudo tee -a ${TRAVIS_ROOT}/etc/apt/sources.list >/dev/null

Installing APT Packages

9.65s$ travis_apt_get_update
0.60s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install mysql-server

Reading package lists...

Building dependency tree...

Reading state information...

The following packages were automatically installed and are no longer required:

libdbd-mysql-perl libdbi-perl libterm-readkey-perl

Use 'sudo apt autoremove' to remove them.

The following additional packages will be installed:

libmecab2 libmysqlclient-dev libmysqlclient20 mysql-client mysql-common

mysql-community-client mysql-community-server

The following packages will be REMOVED:

mysql-client-5.6 mysql-client-core-5.6 mysql-server-5.6


The following NEW packages will be installed:

libmecab2 libmysqlclient20 mysql-client mysql-community-client

mysql-community-server mysql-server

The following packages will be upgraded:

libmysqlclient-dev mysql-common

2 upgraded, 6 newly installed, 4 to remove and 293 not upgraded.

Need to get 34.0 MB of archives.

After this operation, 83.4 MB of additional disk space will be used.

WARNING: The following packages cannot be authenticated!

mysql-common libmysqlclient20 libmysqlclient-dev mysql-community-client

mysql-client mysql-community-server mysql-server

E: There were unauthenticated packages and -y was used without --allow-unauthenticated


apt-get install failed

$ cat ${TRAVIS_HOME}/apt-get-update.log

Get:1 trusty InRelease [33.5 kB]

Get:2 trusty InRelease [3,106 B]

Ign:3 trusty/mongodb-org/3.4 InRelease

Ign:4 trusty InRelease

Get:5 trusty/mongodb-org/3.4 Release [2,495 B]

Get:6 trusty/mongodb-org/3.4 Release.gpg [801 B]

Get:7 trusty-updates InRelease [65.9 kB]

Get:9 trusty/main amd64 Packages [1,809 B]

Get:10 trusty-backports InRelease [65.9 kB]

Ign:1 trusty InRelease

Get:11 trusty InRelease [15.4 kB]

Get:12 trusty-security InRelease [65.9 kB]

Get:13 trusty/mysql-5.7 amd64 Packages [3,361 B]

Get:14 trusty Release [58.5 kB]

Get:15 trusty/mysql-5.7 i386 Packages [3,379 B]

Get:16 trusty Release.gpg [933 B]

Ign:8 ./ InRelease

Ign:17 stable InRelease

Get:18 trusty-pgdg InRelease [61.4 kB]

Get:19 trusty-updates/main Sources [527 kB]

Get:20 trusty InRelease [37.1 kB]

Get:23 stable Release [943 B]

Get:21 ./ Release [1,609 B]

Get:25 trusty-updates/restricted Sources [6,449 B]

Get:26 trusty-updates/universe Sources [288 kB]

Get:22 39x InRelease [3,168 B]

Get:27 trusty-updates/multiverse Sources [7,287 B]

Get:28 trusty-updates/main amd64 Packages [1,421 kB]

Ign:29 trusty InRelease

Get:30 stable Release.gpg [819 B]

Get:24 ./ Release.gpg [473 B]

Get:31 trusty/stable amd64 Packages [5,207 B]

Get:32 trusty/edge amd64 Packages [6,366 B]

Get:33 trusty-updates/main i386 Packages [1,328 kB]

Get:34 trusty-updates/main Translation-en [682 kB]

Get:35 trusty InRelease [20.8 kB]

Get:36 trusty-updates/restricted amd64 Packages [21.4 kB]

Get:37 trusty/mongodb-org/3.4/multiverse amd64 Packages [13.6 kB]

Get:38 trusty-updates/restricted i386 Packages [21.1 kB]

Get:39 trusty-updates/restricted Translation-en [3,704 B]

Get:40 trusty-updates/universe amd64 Packages [660 kB]

Get:41 trusty-updates/universe i386 Packages [641 kB]

Get:42 trusty-updates/universe Translation-en [342 kB]

Get:44 trusty-updates/multiverse amd64 Packages [16.0 kB]

Get:45 trusty-updates/multiverse i386 Packages [16.5 kB]

Get:46 trusty InRelease [15.4 kB]

Get:47 trusty InRelease [23.5 kB]

Get:48 trusty-updates/multiverse Translation-en [7,680 B]

Get:49 trusty-security/main Sources [216 kB]

Get:50 stable/main amd64 Packages [1,110 B]

Get:51 trusty-backports/main Sources [10.4 kB]

Get:43 39x/main amd64 Packages [682 B]

Get:54 trusty-backports/restricted Sources [40 B]

Get:55 trusty-backports/universe Sources [41.3 kB]

Get:52 ./ Packages [636 B]

Get:56 trusty-backports/multiverse Sources [1,747 B]

Get:57 trusty InRelease [23.2 kB]

Get:58 trusty-backports/main amd64 Packages [14.7 kB]

Get:59 trusty-backports/main i386 Packages [14.7 kB]

Get:60 trusty-pgdg/main amd64 Packages [200 kB]

Get:53 39x/main i386 Packages [682 B]

Get:61 trusty-backports/main Translation-en [7,426 B]

Get:62 trusty-backports/restricted amd64 Packages [40 B]

Get:63 trusty InRelease [15.4 kB]

Get:64 trusty-security/restricted Sources [5,050 B]

Get:65 trusty-backports/restricted i386 Packages [40 B]

Get:66 trusty-backports/restricted Translation-en [40 B]

Get:67 trusty-backports/universe amd64 Packages [52.5 kB]

Get:68 trusty-backports/universe i386 Packages [52.4 kB]

Get:69 trusty-security/universe Sources [125 kB]

Get:70 trusty-backports/universe Translation-en [40.0 kB]

Get:71 trusty-backports/multiverse amd64 Packages [1,392 B]

Ign:57 trusty InRelease

Get:72 trusty-backports/multiverse i386 Packages [1,376 B]

Get:73 trusty-backports/multiverse Translation-en [1,165 B]

Get:74 trusty-security/multiverse Sources [3,068 B]

Get:75 trusty/main Sources [1,335 kB]

Get:76 trusty InRelease [15.5 kB]

Get:77 trusty/restricted Sources [5,335 B]

Get:78 trusty InRelease [23.7 kB]

Get:79 trusty-security/main amd64 Packages [1,000 kB]

Get:80 trusty/universe Sources [7,926 kB]

Get:81 trusty-pgdg/main i386 Packages [199 kB]

Get:82 trusty/main Sources [843 B]

Get:83 trusty/multiverse Sources [211 kB]

Get:84 trusty/main amd64 Packages [1,844 B]

Get:85 trusty/main amd64 Packages [1,743 kB]

Get:86 trusty-security/main i386 Packages [912 kB]

Get:87 trusty/main amd64 Packages [3,628 B]

Get:88 trusty/main i386 Packages [1,739 kB]

Get:89 trusty/restricted amd64 Packages [16.0 kB]

Get:90 trusty/main i386 Packages [1,844 B]

Get:91 trusty/restricted i386 Packages [16.4 kB]

Get:92 trusty-security/main Translation-en [525 kB]

Get:93 trusty/main i386 Packages [848 B]

Get:94 trusty/universe amd64 Packages [7,589 kB]

Get:95 trusty-security/restricted amd64 Packages [18.1 kB]

Get:96 trusty/main Translation-en [990 B]

Get:97 trusty/main Sources [20 B]

Get:98 trusty/universe i386 Packages [7,597 kB]

Get:99 trusty-security/restricted i386 Packages [17.8 kB]

Get:100 trusty-security/restricted Translation-en [3,272 B]

Get:101 trusty Release [15.1 kB]

Get:102 trusty/main amd64 Packages [7,433 B]

Get:103 trusty-security/universe amd64 Packages [367 kB]

Get:104 trusty/multiverse amd64 Packages [169 kB]

Get:105 trusty/multiverse i386 Packages [172 kB]

Get:106 trusty-security/universe i386 Packages [350 kB]

Get:107 trusty/main i386 Packages [7,192 B]

Get:108 trusty-security/universe Translation-en [199 kB]

Get:109 trusty/main Sources [20 B]

Get:110 trusty-security/multiverse amd64 Packages [4,723 B]

Get:111 trusty-security/multiverse i386 Packages [4,876 B]

Get:112 trusty/main amd64 Packages [7,165 B]

Get:113 trusty-security/multiverse Translation-en [2,426 B]

Get:114 trusty/main i386 Packages [7,165 B]

Get:115 trusty/main amd64 Packages [3,486 B]

Get:116 trusty/main i386 Packages [3,484 B]

Get:117 trusty/main Translation-en [2,332 B]

Get:118 trusty/main amd64 Packages [7,571 B]

Get:119 trusty/main i386 Packages [7,700 B]

Get:120 trusty/main Translation-en [2,388 B]

Get:121 trusty/main amd64 Packages [430 B]

Get:122 trusty/main i386 Packages [430 B]

Get:123 trusty/main Translation-en [374 B]

Get:124 trusty/main amd64 Packages [1,553 B]

Get:125 trusty/main i386 Packages [1,553 B]

Get:126 trusty/main Translation-en [834 B]

Get:127 trusty Release.gpg [316 B]

Get:128 trusty/main amd64 Packages [985 B]

Get:129 trusty/main i386 Packages [985 B]

Get:130 trusty/main Translation-en [644 B]

Fetched 39.6 MB in 7s (4,960 kB/s)

Reading package lists...

W: GPG error: trusty InRelease: The following signatures were invalid: KEYEXPIRED 1550412832 KEYEXPIRED 1550412832 KEYEXPIRED 1550412832

W: The repository ' trusty InRelease' is not signed.

W: GPG error: trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6B05F25D762E3157

W: The repository ' trusty InRelease' is not signed.

W: There is no public key available for the following key IDs:


W: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1)

The command "sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install mysql-server" failed and exited with 100 during .

The key expired on 2018-02-17.

1 Like

This is fixed by

It’s been deployed to production. Please restart the affected builds.

1 Like

Thanks @BanzaiMan !