Skip to content

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

@MikeMcC399

Description

@MikeMcC399

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions