Skip to content
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

Open
stephanschielke opened this issue Oct 14, 2024 · 2 comments

Comments

@stephanschielke
Copy link

jobs:
  ui-test:
    runs-on: ubuntu-24.04
    steps:
      - name: "Install Chrome Browser"
        uses: browser-actions/setup-chrome@v1
        with:
          chrome-version: latest
          install-dependencies: true

fails with:

/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

Can be hotfixed by pinning the ubuntu version to ubuntu-22.04

@chloe5685
Copy link

Same problem here

@lykmapipo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants