-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libasound2
has no installation candidate on ubuntu-latest
or ubuntu-24.04
#618
Comments
Same problem here |
Logs: Operating System
Ubuntu
24.04.1
LTS
Runner Image
Image: ubuntu-24.04
Version: 20241006.1.0
Run browser-actions/setup-chrome@v1
with:
chrome-version: 130.0.6690.0
install-dependencies: true
install-chromedriver: true
no-sudo: false Fails with: Reading package lists...
/usr/bin/sudo apt-get install --yes --no-install-recommends libglib2.0-0 libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev libasound2 xvfb fonts-liberation libu2f-udev xdg-utils
Reading package lists...
Building dependency tree...
Reading state information...
Package libasound2 is a virtual package provided by:
liboss4-salsa-asound2 4.2-build2020-1ubuntu3
libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)
E: Unable to locate package libgconf-2-4
E: Package 'libasound2' has no installation candidate
Error: The process '/usr/bin/sudo' failed with exit code 100 |
This issue needs an enhancement to the action, so that it differentiates according to the version of Debian / Ubuntu in use. The Ubuntu 24.04 (Noble Numbat) Release Notes explain in the section "Year 2038 support for the armhf architecture":
That is the reason for the new name |
I hit this same issue on For me the work around was to set I found this list of dependencies from some other issues about running chrome on 24.10 and a little trial and error. I'm not 100% sure that all of these dependencies are required, but adding them made it work. So I'm happy for now. Hope this helps someone else. sudo apt install -y --no-install-recommends \
libnss3 \
libdbus-1-3 \
libatk1.0-0 \
libasound2t64 \
libxrandr2 \
libxkbcommon-dev \
libxfixes3 \
libxcomposite1 \
libxdamage1 \
libgbm-dev \
libatk-bridge2.0-0 \
binutils \
libglib2.0-0 \
libgdk-pixbuf2.0-0 \
libgtk-3-0 \
libnss3-dev \
libxss-dev \
xvfb \
fonts-liberation \
libu2f-udev \
xdg-utils |
fails with:
Can be hotfixed by pinning the ubuntu version to
ubuntu-22.04
The text was updated successfully, but these errors were encountered: