4

I'm using Basil Gello's Kodi repository to have the latest Kodi installed in Debian10 and have a few dependencies for kodi installed from this repo.

Recently pulseaudio got uninstalled and I don't know why...probably because I upgraded a package which somehow resulted in it being redundant and it getting removed with sudo apt-get autoremove. I didn't explicitly install any new package and only ran upgrades (sudo apt upgrade). It could be related to an installation of kmix which I didn't select to install or an upgrade of postgres, maybe related to packages like akonadi-backend-sqlite...I haven't found out the cause so far and don't know how to find out. Another Debian10/KDE running almost the same configs and packages doesn't have this problem.

Now the audio is missing which is why I'm trying to reinstall pulseaudio (I wouldn't do so if there are good reasons to use an alternative to it).


I first tried running sudo apt install pulseaudio for which I get:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pulseaudio : Depends: libasound2-plugins but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I add the missing depency I get: The following packages have unmet dependencies: libasound2-plugins : Depends: libavresample4 (>= 7:4.0) but it is not going to be installed and when I add that dependency (sudo apt-get install pulseaudio libasound2-plugins libavresample4) The following packages have unmet dependencies: libavresample4 : Depends: libavutil56 (= 7:4.3.1-6~bpo10+1) but 7:4.3.2-2~bpo10+1 is to be installed. This is because these packages are from Basil Gello's repo with newer versions than what pulseaudio requires.

I tried installing the needed versions and used e.g. sudo apt list -a libavutil56 to display available versions even though it looks like I can also install older versions not displayed with this command. If I try to install all needed dependencies with the needed versions I end up with:

sudo apt-get install pulseaudio libasound2-plugins libavresample4=7:4.1.6-1~deb10u1 libavutil56=7:4.1.6-1~deb10u1 libavcodec58=7:4.1.6-1~deb10u1 libswresample3=7:4.1.6-1~deb10u1

However, running this command would remove important packages like the dolphin file-explorer.


When I try it with sudo apt-get install pulseaudio/buster-backports I get: The following packages have unmet dependencies: pulseaudio : Depends: libpulse0 (= 13.0-3~bpo10+1) but 12.2-4+deb10u1 is to be installed Depends: libasound2-plugins but it is not going to be installed E: Unable to correct problems, you have held broken packages

When I try adding the requested dependencies with the specified versions like so: sudo apt-get install pulseaudio/buster-backports libpulse0/buster-backports libasound2-plugins libavresample4 libavutil56=7:4.1.6-1~deb10u1 libavcodec58=7:4.1.6-1~deb10u1 pulseaudio-utils/buster-backports libswresample3=7:4.1.6-1~deb10u1 libpulsedsp libpulse0=12.2-4+deb10u1 I get: The following packages have unmet dependencies: libpulsedsp : Depends: libpulse0 (= 12.2-4+deb10u1) but 13.0-3~bpo10+1 is to be installed


How can I reinstall pulseaudio without that Kodi repository adding the latest version of it? Is a change to the repo needed?
If there is a way to find out why it was uninstalled in the first place that would be useful too.

This is similar to the problem I had here.

4
  • 1
    Maybe aptitude why-not pulseaudio can give you a hint. Commented Mar 22, 2021 at 10:04
  • It says: i kde-plasma-desktop Depends plasma-desktop (>= 4:5.10) i A plasma-desktop Recommends plasma-pa (>= 4:5.14) p plasma-pa Depends pulseaudio p pulseaudio:i386 Provides pulseaudio p pulseaudio:i386 Conflicts pulseaudio. I'm already using the latest version of KDE in Debian's official repos and enabling a newer version for Debian10 would be a separate problem. Commented Mar 22, 2021 at 10:12
  • sudo apt-get install -t buster-backports libpulse0 Commented Mar 22, 2021 at 11:10
  • That's already in the command above. When I run that it prompts to install libasound2-plugins libavresample4 pulseaudio rtkit and downgrade libavcodec58 libavutil56 libswresample3 but also to remove lots of needed packages like the dolphin file explorer and ffmpeg. Commented Mar 22, 2021 at 11:26

2 Answers 2

1

Installing pulseaudio worked, likely due to an upgrade of some package.

I only did an upgrade of my packages, rebooted and then ran this command which ran through without removing any packages; it also installed "rtkit":

sudo apt-get install pulseaudio/buster-backports libpulse0/buster-backports libasound2-plugins.

I then rebooted and checked that pulseaudio is running.

However, the audio is still missing. It's still missing, without the volume buttons working, even after changing configs in daemon.conf and client.conf. How to enable the audio is a separate question.

-1

I have the same problem but all the examples are arround "sudo" and in my Mageia 8 package, sudo is replaced by urpmi. Nevertheless, I agree with you concerning the link with plasma and so on, we cannot simply disintall PulseAudio without desintaller others things like dolphin etc..

2
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. To get notified when this question gets new answers, you can follow this question. Once you have enough reputation, you can also add a bounty to draw more attention to this question. - From Review Commented Aug 25, 2023 at 13:42
  • I can't because of "words" need to finish the post at the end, I don't realy understand what it's needed. My question is similar because update talks about some librairies that cannot match together. Commented Aug 26, 2023 at 15:50

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.