Giter VIP home page Giter VIP logo

Comments (12)

rhardjo avatar rhardjo commented on May 17, 2024 17

You can apply the workaround mentioned here actions/runner-images#9733 (comment)

add this line before running playwright install sudo rm /etc/apt/sources.list.d/microsoft-prod.list

run: |
  sudo rm /etc/apt/sources.list.d/microsoft-prod.list
  npx playwright install --with-deps

Edit: Seems fixed so the workaround shouldn't be needed anymore

from playwright.

pavelfeldman avatar pavelfeldman commented on May 17, 2024 3

This was a registry outage that is fixed now: microsoft/linux-package-repositories#130 (comment)

from playwright.

arminsalcin avatar arminsalcin commented on May 17, 2024 1

+1

from playwright.

mahtabnejad90 avatar mahtabnejad90 commented on May 17, 2024 1

You can apply the workaround mentioned here actions/runner-images#9733 (comment)

add this line before running playwright install sudo rm /etc/apt/sources.list.d/microsoft-prod.list

run: |
  sudo rm /etc/apt/sources.list.d/microsoft-prod.list
  npx playwright install --with-deps

yeah this workaround works.

from playwright.

SchulteMarkus avatar SchulteMarkus commented on May 17, 2024 1

The problem has disappeared for us.

from playwright.

rombrom avatar rombrom commented on May 17, 2024

Same issue here. Looks like an issue with the packages.microsoft.com registry and not necessarily related to Playwright. Since Playwright is a Microsoft product here's to hoping they can escalate this issue internally.

from playwright.

johnnyreilly avatar johnnyreilly commented on May 17, 2024

Same issue here - we're running in Azure DevOps Pipelines and seeing this:

> npx playwright install --with-deps

Installing dependencies...
Switching to root user to install dependencies...
Get:1 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Hit:7 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease
Hit:3 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:6 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1610 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [303 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1830 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [311 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1070 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [244 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.2 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.2 kB]
Get:16 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1392 kB]
Get:17 http://azure.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [243 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1768 kB]
Get:19 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [299 kB]
Get:20 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [848 kB]
Get:21 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [163 kB]
Reading package lists...
E: Failed to fetch https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' is no longer signed.
Failed to install browsers
Error: Installation process exited with code: 100
npm ERR! code 1
npm ERR! path /home/vsts/work/1/s/src/FrontEnd
npm ERR! command failed
npm ERR! command sh -c npx playwright install --with-deps

from playwright.

johanneskares avatar johanneskares commented on May 17, 2024

Yeah, same issue here, my Build Pipeline is failing since I can't install playwright on GitHub Actions anymore.

from playwright.

mahtabnejad90 avatar mahtabnejad90 commented on May 17, 2024

same issue here

from playwright.

alexander-tsaplev-cko avatar alexander-tsaplev-cko commented on May 17, 2024

You can apply the workaround mentioned here actions/runner-images#9733 (comment)

add this line before running playwright install sudo rm /etc/apt/sources.list.d/microsoft-prod.list

run: |
  sudo rm /etc/apt/sources.list.d/microsoft-prod.list
  npx playwright install --with-deps

Helped me as well, thanks!

from playwright.

shipplix avatar shipplix commented on May 17, 2024

Crossposting this related issue discussion: https://github.com/orgs/community/discussions/120966

from playwright.

pavelfeldman avatar pavelfeldman commented on May 17, 2024

Closing as per above.

from playwright.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.