Skip to content

fix(install): use libasound2t64 on Ubuntu 24.04+#252

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/fix-libasound2-installation-issue
Draft

fix(install): use libasound2t64 on Ubuntu 24.04+#252
Copilot wants to merge 3 commits intomainfrom
copilot/fix-libasound2-installation-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

On Ubuntu 24.04, libasound2 became a virtual package with multiple providers, so apt install libasound2 fails with "has no installation candidate". Unlike other t64 renames (e.g. libcups2libcups2t64) that apt auto-resolves, libasound2 requires explicit selection.

  • src/vip/install/platform.py: Added debian_packages(platform_info) that swaps libasound2libasound2t64 on Ubuntu ≥ 24.04. Older Ubuntu and Debian continue using libasound2.
  • src/vip/install/plan.py: build_install_plan() now calls debian_packages(platform_info) instead of using the DEBIAN_PACKAGES constant directly.
  • Tests: Three new cases covering Ubuntu 24.04, Ubuntu 22.04, and Debian 12; existing plan test updated to assert libasound2t64 for 24.04.

Copilot AI requested review from Copilot and removed request for Copilot May 8, 2026 22:18
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>
Copilot AI requested review from Copilot and removed request for Copilot May 8, 2026 22:20
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 requested review from Copilot and removed request for Copilot May 8, 2026 22:22
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
Copilot AI requested a review from ian-flores May 8, 2026 22:22
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ubunut 24.04, vip install doesn't have an installation candidate for libasound2

2 participants