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

Failed to install browsers on ubuntu-latest (GitHub Actions) #33051

Closed
sayurionishi opened this issue Oct 11, 2024 · 2 comments
Closed

Failed to install browsers on ubuntu-latest (GitHub Actions) #33051

sayurionishi opened this issue Oct 11, 2024 · 2 comments

Comments

@sayurionishi
Copy link

sayurionishi commented Oct 11, 2024

This part of the workflow causes an error: (https://playwright.dev/docs/ci-intro)

  • name: Install Playwright Browsers
    run: npx playwright install --with-deps

Might be similar to an old issue before -- #30503

Expected behavior
Successful browser installation

Actual behavior

Installing dependencies...
Switching to root user to install dependencies...
Hit:1 https://packages.microsoft.com/repos/azure-cli noble InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:4 http://azure.archive.ubuntu.com/ubuntu noble-backports InRelease
Get:5 http://azure.archive.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Hit:6 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease
Get:7 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [542 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu noble-updates/main Translation-en [133 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [9048 B]
Get:10 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [386 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [160 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [15.0 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu noble-security/main amd64 Packages [384 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu noble-security/main Translation-en [84.5 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [4708 B]
Get:16 http://azure.archive.ubuntu.com/ubuntu noble-security/universe amd64 Packages [278 kB]
Get:17 http://azure.archive.ubuntu.com/ubuntu noble-security/universe Translation-en [117 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [10.4 kB]
Fetched 2376 kB in 1s (4099 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package libicu70 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libasound2 is a virtual package provided by:
  liboss4-salsa-asound2 4.2-build[20](https://github.com/cellanome/live-navigator/actions/runs/11282791729/job/31383746778#step:12:21)20-1ubuntu3
  libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)

E: Package 'libasound2' has no installation candidate
E: Package 'libicu70' has no installation candidate
E: Unable to locate package libffi7
E: Unable to locate package libx[26](https://github.com/cellanome/live-navigator/actions/runs/11282791729/job/31383746778#step:12:27)4-163
Failed to install browsers
Error: Installation process exited with code: 100
Error: Process completed with exit code 1.```
@mxschmitt
Copy link
Member

Which Playwright version are you using? It should work in recent/latest ones.

@sayurionishi
Copy link
Author

Updating Playwright fixes the issue, closing this ticket. Thank you @mxschmitt 😊

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

2 participants