Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

CircleCI fails during Chrome install #5191

Closed
@cnishina

Description

@cnishina

So many questions:

  • why am I installing browsers in an image with browsers?
  • can this test just work with the existing browser? should we switch to chromium?
  • what's this error and why now? did something change?
#!/bin/bash -eo pipefail
sudo apt-get update
sudo apt-get install python-pip tcpdump

# Have to update firefox, default is ESR.
sudo pip install --upgrade pip
sudo pip install mozdownload mozinstall
mozdownload --version latest --destination firefox.tar.bz2
mozinstall firefox.tar.bz2
sudo cp -R firefox/* /opt/firefox/

# Latest chrome is already installed in the default container.
# curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
# sudo dpkg -i google-chrome.deb
# sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
# rm google-chrome.deb
Ign http://http.us.debian.org jessie-backports InRelease

Ign http://http.us.debian.org jessie-backports Release.gpg

Ign http://http.us.debian.org jessie-backports Release

Err http://http.us.debian.org jessie-backports/main Sources
  404  Not Found [IP: 208.80.154.15 80]

Err http://http.us.debian.org jessie-backports/main amd64 Packages
  404  Not Found [IP: 208.80.154.15 80]

Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]

Ign http://deb.debian.org jessie InRelease

Ign http://deb.debian.org jessie-updates InRelease

100% [Waiting for headers] [Waiting for headers]Get:2 http://security.debian.org jessie/updates/main amd64 Packages [822 kB]

Hit http://deb.debian.org jessie Release.gpg

Ign http://deb.debian.org jessie-updates Release.gpg

Hit http://deb.debian.org jessie Release

Ign http://deb.debian.org jessie-updates Release

Get:3 http://deb.debian.org jessie/main amd64 Packages [9098 kB]

9% [3 Packages 12.1 kB/9098 kB 0%] [Waiting for headers]Err http://deb.debian.org jessie-updates/main amd64 Packages
  

Err http://deb.debian.org jessie-updates/main amd64 Packages
  

Err http://deb.debian.org jessie-updates/main amd64 Packages
  

Err http://deb.debian.org jessie-updates/main amd64 Packages
  

Err http://deb.debian.org jessie-updates/main amd64 Packages
  404  Not Found

100% [3 Packages 9098 kB]Fetched 9965 kB in 1s (6687 kB/s)
W: Failed to fetch http://http.us.debian.org/debian/dists/jessie-backports/main/source/Sources  404  Not Found [IP: 208.80.154.15 80]

W: Failed to fetch http://http.us.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found [IP: 208.80.154.15 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions