question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[REGRESSION]: Pull request #12877 prevents the library from being used on any linux distro that is not Ubuntu

See original GitHub issue

Context:

  • GOOD Playwright Version: < 1.21.0 (1.20.2, etc)
  • BAD Playwright Version: 1.21.0
  • Operating System: Linux
  • Extra: while we are using Docker images based on buster slim, this is applicable to any Linux distro that isn’t ubuntu based (debian, possibly arch too)

Code Snippet

Run npx playwright install-deps chrome in a non-ubuntu environment (debian for instance)

Describe the bug

https://github.com/microsoft/playwright/pull/12877 was merged in order to “solve” issues related to users of Debian that couldn’t install the required dependencies due to missing packages (usually fonts which can be solved by including the debian non-free source list), however this prevents any users of a Linux distro that is not ubuntu based from using the library.

I believe the PR should be reverted or changed to emit an actual warning instead of a hard error, or a way to ignore the check should be added, as artificially limiting the library just for Ubuntu/Linux Mint users doesn’t sound right.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
aslushnikovcommented, Apr 13, 2022

So this is a debian with an extra sourceList:

echo "deb http://ftp.us.debian.org/debian buster main non-free" >> /etc/apt/sources.list.d/fonts.list

This one adds the missing ttf-ubuntu-font-family font. Besides this font, all other dependencies are installable for both Chromium & Firefox; both browsers also seem to be functioning well.

1reaction
knaitascommented, Apr 25, 2022

🤦 totally forgot ubuntu released 22 recently… Thanks!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

microsoft/playwright v1.21.1 on GitHub - NewReleases.io
... Pull request #12877 prevents the library from being used on any linux distro ... This version was also tested against the following...
Read more >
How does nodejs achieve seemingly binary compatibility ...
No, Debian and Ubuntu are not binary compatible. Debian and Ubuntu may use different compilers with different ABI, different kernel versions, ...
Read more >
A Comparison of Linux Container Images
Since a container base image is basically a minimal install of an operating system stuffed in a container image, this article will compare...
Read more >
CHANGELOG · shuaigewei168/nmap - Gitee.com
我知道了,不再自动展开. 加入 Gitee. 与超过 800 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :). 免费加入. 已有帐号? 立即登录. master.
Read more >
The reason I stopped recommending Linux to "normal users ...
Having to upgrade the whole distro (including all the other installed apps you dont want ... Not something for the average-Joe audience Ubuntu...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found