0

Trying to install playwright with npx playwright install i got the error

Host system is missing dependencies to run browsers. 
 Missing libraries: 

 libicudata.so.66
 libicui18n.so.66
 libicuuc.so.66  
 libwoff2dec.so.1.0.2
 libwebp.so.6        
 libenchant-2.so.2   
 libffi.so.7         
 libx264.so 

So tried

sudo zypper install -y \
     libicudata.so.66 \ 
     libicui18n.so.66 \ 
     libicuuc.so.66 \ 
     libwoff2dec.so.1.0.2 \
     libwebp.so.6 \ 
     libenchant-2.so.2 \
     libffi.so.7 \ 
     libx264.so

But this returned


Refreshing service 'openSUSE'.
Error building the cache:
[multimedia-libs.repo|https://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_15.3/] Failed to retrieve new repository metadata.
History:
 - [multimedia-libs.repo|https://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_15.3/] Repository type can't be determined.
Warning: Skipping repository 'multimedia-libs.repo' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...
' ' not found in package names. Trying capabilities.
No provider of ' ' found.
'libicudata.so.66' not found in package names. Trying capabilities.
No provider of 'libicudata.so.66' found.

How to fix this so that zypper finds the matching multimedia-libs.repo?

OS Version - cat /etc/os-release

Versioninfo

cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20250225"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20250225"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
# CPE 2.3 format, boo#1217921
CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20250225:*:*:*:*:*:*:*"
#CPE 2.2 format
#CPE_NAME="cpe:/o:opensuse:tumbleweed:20250225"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"

Update

It seems the dependencies are needed for webkit (safari)

1 Answer 1

0

The output indicates this is a Tumbleweed system, but the multimedia:libs repository points to Leap 15.3, which is out of support since a long time, and as a result not available anymore.

While I can not tell what npx is and how it would determine if a particular dependency is satisfied or not, at least "x264" usually comes from the external Packman repository.

To search for a specific version use zypper search --details --provides --verbose --type package libicui18n.so, to use one of the strings mentioned above. I doubt "version 66" is still available.

Better ask in a way that makes it clear that the question is about "npx" rather than "openSUSE".

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.