fix(install): use libasound2t64 on Ubuntu 24.04+#252
Draft
Conversation
On Ubuntu 24.04, libasound2 became a virtual package with multiple providers, causing `apt install` to fail. Use libasound2t64 (the concrete package) on Ubuntu >= 24.04 while keeping libasound2 for older versions. Agent-Logs-Url: https://github.com/posit-dev/vip/sessions/d5a23956-dfa7-4d24-976c-f0c531c408c1 Co-authored-by: ian-flores <18703558+ian-flores@users.noreply.github.com>
Agent-Logs-Url: https://github.com/posit-dev/vip/sessions/d5a23956-dfa7-4d24-976c-f0c531c408c1 Co-authored-by: ian-flores <18703558+ian-flores@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix installation candidate for libasound2 on Ubuntu 24.04
fix(install): use libasound2t64 on Ubuntu 24.04+
May 8, 2026
|
Preview Links
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Ubuntu 24.04,
libasound2became a virtual package with multiple providers, soapt install libasound2fails with "has no installation candidate". Unlike othert64renames (e.g.libcups2→libcups2t64) that apt auto-resolves,libasound2requires explicit selection.src/vip/install/platform.py: Addeddebian_packages(platform_info)that swapslibasound2→libasound2t64on Ubuntu ≥ 24.04. Older Ubuntu and Debian continue usinglibasound2.src/vip/install/plan.py:build_install_plan()now callsdebian_packages(platform_info)instead of using theDEBIAN_PACKAGESconstant directly.libasound2t64for 24.04.