dpkg-deb: error: archive ā/tmp/google-chrome-beta_current_amd64.debā has premature member ācontrol.tar.xzā before ācontrol.tar.gzā, giving up
Means that dpkg cannot understand the packageās format.
Since xz is a newer format than gz, this most likely means that dpkg is too old.
I.e. that Google has dropped Trusty support in its Chrome .deb packages, and you need to migrate to Xenial or Bionic.
The Chrome version that you see further on is presumably a preinstalled one.
Iām trying to get confirmation (e.g. from Google) but I believe @native-api is right: Google has dropped Trusty support for Chrome with the latest release today.
As mentioned, the best suggestion would be to try to run your builds on Xenial instead with
Thanks @dominic and @native-api. Using xenial seems to work. I only needed to change
dist: trusty to dist: xenail
Two follow up questions:
Any problem using this on our open source builds? I see this from that reference page link:
Please note that Xenial is available on our hosted fully virtualized infrastructure. If you are running an Enterprise installation, please reach out to enterprise@travis-ci.com to see how you can use the Xenial Docker images.
Is there a VM that that mimics this for docker https://hub.docker.com/u/travisci/ i should use? We need this for visual image regression tests when creating them for development.
Since we donāt have a container-based infrastructure anymore, we unfortunately donāt provide equivalent Docker containers like we did in the past. If it helps, you have the option to connect directly to the VM using our debug mode feature. Take note that this needs to be enabled manually by us for open source repositories. Just reach out to support [AT] travis-ci [DOT] com if needed.