I've recently deleted pulseaudio by mistake, which means that now I'm unable to listen to all audio, which means 90% of all I do on my pc is now off. I tried to reinstall pulseaudio from the command line, but this was the output:
~$ sudo apt install pulseaudio
Reading package lists... Done
Building dependency tree
Reading state information... Done
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: libpulse0 (= 1:11.1-1ubuntu7.1) but 1:12.2-5~bionic1 is to be installed
E: Unable to correct problems, you have held broken packages.
I've tried everything. sudo apt install -f doesn't work, dist-upgrade doesn't work, update, upgrade and autoremove all work properly and don't give back any error, and there are 0 packages to be installed, upgraded or removed. I've tried using apt, apt-get and aptitude. I've tried to fix the broken dependencies with synaptic. Nothing.
If I try to remove or regress libpulse0 it gives me an endless list of packages that are to be removed or will be removed.
I know that I can fix everything with a fresh install, but I'd rather not if at all possible, since last time was a small nightmare, what with UEFI and whatnot.
I'm really at my wits' end. Does anybody have any suggestion?