-
-
Save phra/192b6c0ada3f6eaf4029e430430b79fe to your computer and use it in GitHub Desktop.
- run: #STABLE | |
name: Install Chromedriver latest version | |
command: | | |
sudo apt-get update | |
sudo apt-get install lsb-release libappindicator3-1 | |
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" --no-sandbox|g' /opt/google/chrome/google-chrome | |
rm google-chrome.deb | |
- run: #BETA | |
name: Install Chromedriver latest version | |
command: | | |
sudo apt-get update | |
sudo apt-get install lsb-release libappindicator3-1 | |
curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb | |
sudo dpkg -i google-chrome.deb | |
sudo sed -i 's|HERE/chrome"|HERE/chrome" --no-sandbox|g' /opt/google/chrome-beta/google-chrome-beta | |
rm google-chrome.deb | |
This help us to deal with an error while running sudo apt-get install google-chrome-stable
. Thank you
I am getting an error like this :
Ign http://http.debian.net jessie-backports InRelease
Ign http://deb.debian.org jessie InRelease
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://http.debian.net jessie-backports Release.gpg
Get:2 http://deb.debian.org jessie-updates InRelease [7340 B]
Ign http://http.debian.net jessie-backports Release
Err http://http.debian.net jessie-backports/main amd64 Packages
Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [824 kB]
Get:5 http://deb.debian.org jessie Release [148 kB]
Err http://http.debian.net jessie-backports/main amd64 Packages
Err http://http.debian.net jessie-backports/main amd64 Packages
Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Err http://http.debian.net jessie-backports/main amd64 Packages
Err http://http.debian.net jessie-backports/main amd64 Packages
404 Not FoundFetched 10.1 MB in 1s (7345 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)W: Failed to fetch http://http.debian.net/debian/dists/jessie-backports/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
circleci chrome browser install specific version
That did the trick, thank you!
Thank you 🙏
Worked before, but now loads only 1449 (bytes?) and shows that it is the total size. If I load the file locally stable is 79.0M in curl. At least with curl 7.52.1 version of curl.
Edit: Now seems to work again. Maybe it was some bug with the package, or something like that.
Thanks a lot!