Skip to content
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

E: Package 'libasound2' has no installation candidate #29395

Open
1 of 4 tasks
mxvsh opened this issue Dec 18, 2024 · 0 comments
Open
1 of 4 tasks

E: Package 'libasound2' has no installation candidate #29395

mxvsh opened this issue Dec 18, 2024 · 0 comments

Comments

@mxvsh
Copy link
Contributor

mxvsh commented Dec 18, 2024

Current Behavior

I setup a new project with Nx (with Github Actions) and they pushed the code to Github after adding few React apps packages with playwright and vitest. I am getting the following error in the Github CI

Run pnpm exec playwright install --with-deps
Installing dependencies...
Switching to root user to install dependencies...
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
[hidden]
Get:34 http://azure.archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Fetched 5958 kB in 1s (6807 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package libasound2 is a virtual package provided by:
  liboss4-salsa-asound2 4.2-build[20](https://github.com/org/repo/actions/runs/12372747459/job/34531644128#step:6:21)20-1ubuntu3
  libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)

Package libicu70 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libasound2' has no installation candidate
E: Package 'libicu70' has no installation candidate
E: Unable to locate package libffi7
E: Unable to locate package libx[26](https://github.com/org/repo/actions/runs/12372747459/job/34531644128#step:6:27)4-163
Failed to install browsers
Error: Installation process exited with code: 100
Error: Process completed with exit code 1.

Expected Behavior

It should be able to run the CI without errors.

GitHub Repo

No response

Steps to Reproduce

  1. Build a new Nx React project with Monorepo.
  2. Add React apps with Playwright
  3. Add React libraries with Vitest
  4. Push to Github repository
  5. Check the CI

Nx Report

Since the code failed, no nx report.

Failure Logs

Run pnpm exec playwright install --with-deps
Installing dependencies...
Switching to root user to install dependencies...
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu noble InRelease
Hit:6 https://packages.microsoft.com/repos/azure-cli noble InRelease
Get:7 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3600 B]
Get:3 http://azure.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:8 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 Packages [15.6 kB]
Get:9 https://packages.microsoft.com/ubuntu/24.04/prod noble/main arm64 Packages [10.3 kB]
Get:10 https://packages.microsoft.com/ubuntu/24.04/prod noble/main armhf Packages [5769 B]
Get:11 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [745 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu noble-updates/main Translation-en [170 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [151 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [928 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [230 kB]
Get:16 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [309 kB]
Get:17 http://azure.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [572 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [110 kB]
Get:19 http://azure.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:20 http://azure.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:21 http://azure.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [208 B]
Get:22 http://azure.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [11.7 kB]
Get:23 http://azure.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:24 http://azure.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Get:25 http://azure.archive.ubuntu.com/ubuntu noble-security/main amd64 Packages [558 kB]
Get:26 http://azure.archive.ubuntu.com/ubuntu noble-security/main Translation-en [109 kB]
Get:27 http://azure.archive.ubuntu.com/ubuntu noble-security/main amd64 Components [7212 B]
Get:28 http://azure.archive.ubuntu.com/ubuntu noble-security/universe amd64 Packages [758 kB]
Get:29 http://azure.archive.ubuntu.com/ubuntu noble-security/universe Translation-en [162 kB]
Get:30 http://azure.archive.ubuntu.com/ubuntu noble-security/universe amd64 Components [51.9 kB]
Get:31 http://azure.archive.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [560 kB]
Get:32 http://azure.archive.ubuntu.com/ubuntu noble-security/restricted Translation-en [108 kB]
Get:33 http://azure.archive.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:34 http://azure.archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Fetched 5958 kB in 1s (6807 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package libasound2 is a virtual package provided by:
  liboss4-salsa-asound2 4.2-build2020-1ubuntu3
  libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)

Package libicu70 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libasound2' has no installation candidate
E: Package 'libicu70' has no installation candidate
E: Unable to locate package libffi7
E: Unable to locate package libx264-163
Failed to install browsers
Error: Installation process exited with code: 100
Error: Process completed with exit code 1.

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

Run pnpm/action-setup@v4
with:
version: 9
dest: ~/setup-pnpm
run_install: null
package_json_file: package.json
standalone: false

Run actions/setup-node@v4
with:
node-version: 20
cache: pnpm
always-auth: false
check-latest: false
token: ***
env:
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
Found in cache @ /opt/hostedtoolcache/node/20.18.1/x64
Environment details
node: v20.18.1
npm: 10.8.2
yarn: 1.22.22
/home/runner/setup-pnpm/node_modules/.bin/pnpm store path --silent
/home/runner/setup-pnpm/node_modules/.bin/store/v3
pnpm cache is not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant