-
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
[Feature]: Support Ubuntu 24.04 #30368
Comments
We are currently blocked by GitHub Actions, that they add support for it in their runner-images repository: actions/runner-images#9691. |
Same for me, stuck on ubuntu:22.04 for the moment |
I can run on 24.04 via the UI, or just using the |
I'm stuck with ubuntu 24.04. any one has a workaround maybe? |
I was able to run it on 23.10 with this advice: I had to compile |
hi @mxschmitt , do you know when the github issue will be fixed, I encouter the same error when running error: E: Package 'libasound2' has no installation candidate |
I have the same issue. Any news on this? |
I encountered a similar issue on Ubuntu 24.04, albeit with a wider range of missing packages: For Proceeding with It's worth noting that while this workaround worked for me, I don't recommend it universally, nor can I guarantee its seamless functionality for all users. Probably as soon as Ubuntu 24.04 is officially supported, I would try to remove the above packages and reinstall playwright. |
It seems that there is still a time period before GitHub support 24.04. See here: actions/runner-images#9691 (comment) It would be great that we can have Ubuntu 24.04 supported in playwright first, then adding a CI test once it supports. Even a workaround is better than no support. For me, I feel hard when I am switching devices between office, home and my laptop. I have all upgraded them to 24.04, and I have to repeat the above solution 3 times. |
Hi @WithMarcel, I've made progress with the steps you provided so thank you very much. I encountered exactly your issue when reaching this point:
However
Further stepsI proceeded to instead run I then installed them manually the same way as the earlier ones by visiting https://packages.ubuntu.com/. After that point, Running testsI am able to run I'll proceed for now despite this as I'm at least able to test with chromium. |
wep ya lo arreglaron?? |
Hello, it seems that the --install-deps command and playwright has issues getting the packages from what's in the default ubuntu.sources file in /etc/apt/sources.list.d I updated my ubuntu.sources file in /etc/apt/sources.list.d to look like this:
This got every dependency to install except libicu70 and libx264-163. Ubuntu 24.04 comes with libicu74 and libx264-164, so libicu70 and libx264-163 can't be installed unless a user reverts to those versions but I don't want to break other things by doing this. |
|
@mxschmitt please try getting playwright ready for Ubuntu 24.04. Thanks! |
microsoft/playwright#30368 Signed-off-by: DevDengChao <[email protected]>
Resolve issue related to Ubuntu 24.04 and GHA runners: microsoft/playwright#30368
Resolve issue related to Ubuntu 24.04 and GHA runners: microsoft/playwright#30368
Just started getting this issue this morning as part of my CICD pipeline, was working completely fine just hours ago:
|
Same here... what's the solution to this? |
I solved it by pinning the version of playwright to |
I've made a Stackoverflow Q&A to increase discoverability of the fixes (upgrading Playwright to 1.48 or downgrading Ubuntu to 22): https://stackoverflow.com/q/79090211/7483211 |
Already has been discussed but I fixed it this morning by updating Playwright to the latest version. |
+1 From me. I was using java playwright version 1.42.0 on ubuntu 24-04. So i just switched to playwright 1.47.0 (latest on maven repository) and the issue seems to go away. |
errors out with:
|
🚀 Feature Request
Ubuntu 24 will be released in this month, and the beta version is already release in 12th. (See https://wiki.ubuntu.com/Releases)
Hope playweight can add support once it release
Motivation
Cuurently when running
pnpm exec playwright install --with-deps
on Ubuntu 24.04, errors are thrownThe text was updated successfully, but these errors were encountered: