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

qubes-vm-pulseaudio dependency failed with new pulseaudio-14.0-1 #6234

Closed
lubellier opened this issue Nov 25, 2020 · 24 comments
Closed

qubes-vm-pulseaudio dependency failed with new pulseaudio-14.0-1 #6234

lubellier opened this issue Nov 25, 2020 · 24 comments
Labels
C: other diagnosed Technical diagnosis has been performed (see issue comments). P: critical Priority: critical. Between "major" and "blocker" in severity. pr submitted A pull request has been submitted for this issue. r4.0-bullseye-stable r4.0-buster-stable r4.0-centos7-stable r4.0-centos8-stable r4.0-fc31-stable r4.0-fc32-stable r4.0-fc33-stable r4.0-stretch-stable T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@lubellier
Copy link

Qubes OS version
R4.0

Affected component(s) or functionality
functionality: ArchLinux TemplateVM update
component: qubes-vm-pulseaudio

Brief summary
On Archlinux templateVM OS update, I got an package dependency error related to pulseaudio

How Reproducible
From Qube Manager, update the Archlinux Template VM

To Reproduce
Steps to reproduce the behavior:

  1. Open Qube Manager
  2. Right click on archlinux templateVM and choose Update qube

Expected behavior
OS update

Actual behavior
In the Details area of Qubes Updater, got the below error

error: failed to prepare transaction (could not satisfy dependencies)
installing pulseaudio (14.0-1) breaks dependency 'pulseaudio<14.0' required by qubes-vm-pulseaudio

Screenshots
N/A

Additional context
Previous updates worked, this issue comes with the archlinux pulseaudio update from 13.99.3+4+gd83ad6990-1 to 14.0.1

Archlinux template installed with building-archlinux-template.

Solutions you've tried
The manual update with sudo pacman -Syu failed with the same error.

Relevant documentation you've consulted
N/A

Related, non-duplicate issues
related to #6172 ?

@lubellier lubellier added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Nov 25, 2020
@andrewdavidwong andrewdavidwong added C: Arch Linux The Arch Linux template needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Nov 26, 2020
@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone Nov 26, 2020
@icequbes1
Copy link

icequbes1 commented Nov 30, 2020

FWIW you can symlink 14.0 to 13.99.3 headers and modify the dependency to be <14.1. A test build with this workaround worked in terms of "I hear something when playing a youtube video".

I'm not sure how the Qubes OS team wants to handle this though...are we going to have open a new issue every time Arch updates PulseAudio?

@waycloak
Copy link

waycloak commented Dec 3, 2020

Hi, this also occurs for me on Fedora 32 template

[user@fedora-32 ~]$ sudo dnf update
Dependencies resolved.

 Problem 1: package pulseaudio-qubes-4.0.31-1.fc32.x86_64 requires pulseaudio = 13.99.1, but none of the providers can be installed
  - cannot install both pulseaudio-14.0-1.fc32.x86_64 and pulseaudio-13.99.1-4.fc32.x86_64
  - cannot install both pulseaudio-13.99.1-3.fc32.x86_64 and pulseaudio-14.0-1.fc32.x86_64
  - cannot install the best update candidate for package pulseaudio-qubes-4.0.31-1.fc32.x86_64
  - cannot install the best update candidate for package pulseaudio-13.99.1-4.fc32.x86_64
 Problem 2: problem with installed package pulseaudio-qubes-4.0.31-1.fc32.x86_64
  - package pulseaudio-qubes-4.0.31-1.fc32.x86_64 requires pulseaudio = 13.99.1, but none of the providers can be installed
  - package pulseaudio-13.99.1-4.fc32.x86_64 requires pulseaudio-libs(x86-64) = 13.99.1-4.fc32, but none of the providers can be installed
  - package pulseaudio-13.99.1-3.fc32.x86_64 requires pulseaudio-libs(x86-64) = 13.99.1-3.fc32, but none of the providers can be installed
  - cannot install both pulseaudio-libs-14.0-1.fc32.x86_64 and pulseaudio-libs-13.99.1-4.fc32.x86_64
  - cannot install both pulseaudio-libs-13.99.1-3.fc32.x86_64 and pulseaudio-libs-14.0-1.fc32.x86_64
  - cannot install the best update candidate for package pulseaudio-libs-13.99.1-4.fc32.x86_64
 Problem 3: package qubes-vm-recommended-4.0.7-1.fc32.noarch requires pulseaudio-qubes, but none of the providers can be installed
  - package pulseaudio-qubes-4.0.31-1.fc32.x86_64 requires pulseaudio = 13.99.1, but none of the providers can be installed
  - package pulseaudio-qubes-4.0.29-1.fc32.x86_64 requires pulseaudio = 13.99.1, but none of the providers can be installed
  - package pulseaudio-qubes-4.0.30-1.fc32.x86_64 requires pulseaudio = 13.99.1, but none of the providers can be installed
  - cannot install both pulseaudio-14.0-1.fc32.x86_64 and pulseaudio-13.99.1-4.fc32.x86_64
  - cannot install both pulseaudio-13.99.1-3.fc32.x86_64 and pulseaudio-14.0-1.fc32.x86_64
  - package pulseaudio-module-bluetooth-14.0-1.fc32.x86_64 requires libpulsecore-14.0.so()(64bit), but none of the providers can be installed
  - package pulseaudio-module-bluetooth-14.0-1.fc32.x86_64 requires pulseaudio(x86-64) = 14.0-1.fc32, but none of the providers can be installed
  - cannot install the best update candidate for package qubes-vm-recommended-4.0.7-1.fc32.noarch
  - cannot install the best update candidate for package pulseaudio-module-bluetooth-13.99.1-4.fc32.x86_64
 Problem 4: problem with installed package qubes-vm-recommended-4.0.7-1.fc32.noarch
  - package qubes-vm-recommended-4.0.7-1.fc32.noarch requires pulseaudio-qubes, but none of the providers can be installed
  - package pulseaudio-qubes-4.0.31-1.fc32.x86_64 requires pulseaudio = 13.99.1, but none of the providers can be installed
  - package pulseaudio-qubes-4.0.29-1.fc32.x86_64 requires pulseaudio = 13.99.1, but none of the providers can be installed
  - package pulseaudio-qubes-4.0.30-1.fc32.x86_64 requires pulseaudio = 13.99.1, but none of the providers can be installed
  - cannot install both pulseaudio-14.0-1.fc32.x86_64 and pulseaudio-13.99.1-4.fc32.x86_64
  - cannot install both pulseaudio-13.99.1-3.fc32.x86_64 and pulseaudio-14.0-1.fc32.x86_64
  - package pulseaudio-module-x11-14.0-1.fc32.x86_64 requires libpulsecore-14.0.so()(64bit), but none of the providers can be installed
  - package pulseaudio-module-x11-14.0-1.fc32.x86_64 requires pulseaudio(x86-64) = 14.0-1.fc32, but none of the providers can be installed
  - cannot install the best update candidate for package pulseaudio-module-x11-13.99.1-4.fc32.x86_64

@kalkin
Copy link
Member

kalkin commented Dec 3, 2020

Since a few days building the iso fails, because of this.

FIX: I applied the patch and also fixed a few version requirements in *.spec.in files.

PS: Building gui-agent-linux on Fedora 33 fails.

@andrewdavidwong andrewdavidwong changed the title ArchLinux update: qubes-vm-pulseaudio dependency failed with new pulseaudio-14.0-1 qubes-vm-pulseaudio dependency failed with new pulseaudio-14.0-1 Dec 4, 2020
@andrewdavidwong andrewdavidwong added C: other diagnosed Technical diagnosis has been performed (see issue comments). P: critical Priority: critical. Between "major" and "blocker" in severity. pr submitted A pull request has been submitted for this issue. and removed C: Arch Linux The Arch Linux template C: Fedora P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Dec 4, 2020
@andrewdavidwong andrewdavidwong pinned this issue Dec 4, 2020
@tsteinholz
Copy link

Same issue, I fixed it with ln -s qubes-src/gui-agent-linux/pulse/pulsecore-13.2 qubes-src/gui-agent-linux/pulse/pulsecore-14.0.

marmarek pushed a commit to QubesOS/qubes-gui-agent-linux that referenced this issue Dec 5, 2020
@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-gui-agent_4.0.32-1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing buster-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package gui-agent-linux has been pushed to the r4.0 testing repository for the CentOS centos8 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-gui-agent_4.0.32-1+deb10u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component gui-agent-linux (including package pulseaudio-qubes-4.0.32-1.fc32) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@lubellier
Copy link
Author

I tested the r4.0-buster-stable and r4.0-fc32-stable versions, the VM updates worked and the sound works well, thanks a lot 👍 .
Is the Archlinux update also scheduled ? Initially I reported this issue for the Archlinux templateVM.

@RooneyMcNibNug
Copy link

Can confirm the pulseaudio packages in question install and work on Fedora 32 Template after a quick dnf update just now - thank you for this fix.

@andrewdavidwong
Copy link
Member

Closing this as resolved. If you believe the issue is not yet resolved, or if anyone is still affected by this issue, please leave a comment, and we'll be happy to reopen this. Thank you.

@lubellier
Copy link
Author

Hi @andrewdavidwong ,
the issue still exists for ArchLinux. I didn't see available update packages for this OS.
Initially I reported this issue for the ArchLinux templateVM.
The error message:

$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing pulseaudio (14.0-1) breaks dependency 'pulseaudio<14.0' required by qubes-vm-pulseaudio

Thank you.

@andrewdavidwong
Copy link
Member

Hi @andrewdavidwong ,
the issue still exists for ArchLinux. I didn't see available update packages for this OS.
Initially I reported this issue for the ArchLinux templateVM.
The error message:

$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing pulseaudio (14.0-1) breaks dependency 'pulseaudio<14.0' required by qubes-vm-pulseaudio

Thank you.

FYI @fepitre

@icequbes1
Copy link

This issue was resolved 2020-12-02 with version 4.0.32 of gui-agent-linux, one month ago.

It appears the issue is kept open as the package is not available via pacman -Syu?

We (Arch users) must manually build using qubes-builder for updates to qubes-* packages.

@lubellier
Copy link
Author

We (Arch users) must manually build using qubes-builder for updates to qubes-* packages.

Thanks @icequbes1 for this information.

It appears I miss-understood the ArchLinux update process for qubes-* packages, so now I'll follow the process. I'm a long time ArchLinux user, but only since 6 months for ArchLinux over Qubes OS.

Should I build a new ArchLinux templateVM rpm or only create my own ArchLinux repository ?

@lubellier
Copy link
Author

@icequbes1 : I built my own ArchLinux repository, and as expected it works and gets sound, thanks for your comment.

@andrewdavidwong : This ticket is closable, ArchLinux users must build themself the qubes-* packages (see the above @icequbes1's comment)

@andrewdavidwong
Copy link
Member

Closing this as resolved. If you believe the issue is not yet resolved, or if anyone is still affected by this issue, please leave a comment, and we'll be happy to reopen this. Thank you.

@icequbes1
Copy link

icequbes1 commented Jan 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: other diagnosed Technical diagnosis has been performed (see issue comments). P: critical Priority: critical. Between "major" and "blocker" in severity. pr submitted A pull request has been submitted for this issue. r4.0-bullseye-stable r4.0-buster-stable r4.0-centos7-stable r4.0-centos8-stable r4.0-fc31-stable r4.0-fc32-stable r4.0-fc33-stable r4.0-stretch-stable T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

10 participants