-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[BUG] Unable to install in ubuntu 23.04 due to missing packages #23296
Comments
Usually Playwright's team supports Ubuntu LTS versions, which 23.04 is not, so they might fix this issue as best effort but it might not happen. Let's wait to see their answer. |
a) Developers are probably less likely than the average user to stick with LTS b) If you don't want to support changing OS dependencies, better to provide a flatpak or (at worst) snap instead libicu and libx264 both have names that change regularly, since they are packaging something upstream which has a changing version. I don't agree with their rationale, but to future proof there should likely be a dynamic apt-cache search for the base name. libffi7 was replaced by libffi8 starting in 22.04 (which had both); should switch for future proofing anyway. |
Playwright only supports Ubuntu LTS versions like @ltsuda wrote, if you want to stick with non-LTS versions, we recommend Docker. The reasoning is that compiling browsers, especially WebKit is highly coupled to the OS dependencies, which are dynamically linked. Thanks for your understanding! |
You can do the following:
It seems it's working so far |
In my case, these packages where missing on my Ubuntu 23.04:
I was able to download all of them via https://packages.ubuntu.com as suggested by @hacknlove, thanks! |
@mxschmitt Will Playwright support Ubuntu 24.04, which is going to be released soon? |
@mwanago yes, we will add support for it as soon as its available via GitHub Actions. |
System info
Source code
Steps
(https://playwright.dev/docs/intro#installing-playwright)
LANG=c pnpm exec playwright install-deps
Expected
dependencies are installed
Actual
following packages are missing: libicu70, libffi7, libx264-163
The text was updated successfully, but these errors were encountered: