ifmeorg / ifme

Free, open source mental health communication web app to share experiences with loved ones
http://www.if-me.org/
GNU Affero General Public License v3.0
1.45k stars 731 forks source link

Fix Chrome dependency issue in Circle CI build #2221

Closed julianguyen closed 1 year ago

julianguyen commented 1 year ago

Description

The CI builds have been broken for the last month becaue Chrome cannot be installed in the Docker container for the Circle CI build.

More Details

#!/bin/bash --login
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb

--2023-02-09 21:10:01--  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Resolving dl.google.com (dl.google.com)... 142.251.163.91, 142.251.163.136, 142.251.163.93, ...
Connecting to dl.google.com (dl.google.com)|142.251.163.91|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93811132 (89M) [application/x-debian-package]
Saving to: ‘google-chrome-stable_current_amd64.deb’

google-chrome-stabl 100%[===================>]  89.46M   320MB/s    in 0.3s    

2023-02-09 21:10:01 (320 MB/s) - ‘google-chrome-stable_current_amd64.deb’ saved [93811132/93811132]

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'google-chrome-stable' instead of './google-chrome-stable_current_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 google-chrome-stable : Depends: libu2f-udev but it is not installable
E: Unable to correct problems, you have held broken packages.

Exited with code exit status 100
CircleCI received exit code 100

Reviewing this pull request? Check out our Code Review Practices guide if you haven't already!