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

Package 'libasound2' has no installation candidate on Ubuntu 24.04 #5816

Closed
MikeMcC399 opened this issue Apr 29, 2024 · 0 comments · Fixed by #5818
Closed

Package 'libasound2' has no installation candidate on Ubuntu 24.04 #5816

MikeMcC399 opened this issue Apr 29, 2024 · 0 comments · Fixed by #5818

Comments

@MikeMcC399
Copy link
Contributor

Subject

Getting Started > Installing Cypress > Linux Prerequisites > Ubuntu/Debian

Description

Issue

Following the instructions Getting Started > Installing Cypress > Linux Prerequisites > Ubuntu/Debian on Ubuntu 24.04 (Noble Numbat) LTS for package installation:

apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb

results in the error:

E: Package 'libasound2' has no installation candidate

Steps to reproduce

Clean install Ubuntu 24.04 using a Desktop image and complete setup.

Open a terminal window and execute:

sudo apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb

Logs

$ sudo apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libgtk2.0-0t64' instead of 'libgtk2.0-0'
Note, selecting 'libgtk-3-0t64' instead of 'libgtk-3-0'
Package libasound2 is a virtual package provided by:
  liboss4-salsa-asound2 4.2-build2020-1ubuntu3
  libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)
You should explicitly select one to install.

E: Package 'libasound2' has no installation candidate

Background

According to the Ubuntu 24.04 release notes in the section Year 2038 support for the armhf architecture

More than a thousand packages have been updated to handle time using a 64-bit value rather than a 32-bit one, making it possible to handle times up to 292 billion years in the future.

Ubuntu package references show the following

Suggestion

For Ubuntu 24.04 make the following changes

Package Ubuntu < 24.04 Ubuntu >= 24.04
alsa-lib libasound2 libasound2t64
gtk+2.0 libgtk2.0-0 libgtk2.0-0t64
gtk+3.0 libgtk-3-0 libgtk-3-0t64

The command for Ubuntu 24.04 and above, listed on Getting Started > Installing Cypress > Linux Prerequisites > Ubuntu/Debian, would then be:

apt-get install libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb

References

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

Successfully merging a pull request may close this issue.

1 participant