I want use SDL2 in my project. For that I need lib and include SDL2 files. I was trying to install SDL2 with
apt-get install libsdl2-dev
but get an errors:
The following packages have unmet dependencies:
libpulse-dev : Depends: libpulse0 (= 1:14.2-1ubuntu1) but 1:14.2-1ubuntu1.1 is to be installed
Depends: libpulse-mainloop-glib0 (= 1:14.2-1ubuntu1) but 1:14.2-1ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.
How I can fix it?
Ubuntu Description: Ubuntu 21.04 Release: 21.04 Codename: hirsute
sudo sed -i.bak 's/\(^deb.*-updates.*\)/#\1/' /etc/apt/sources.list && sudo apt install libsdl2-dev
. – Liso Oct 20 '21 at 13:581:14.2-1ubuntu1.1
version, hence why i try disabling it. I could be wrong though, you can tryapt-get -s install libsdl2-dev
to simulate the process before actually running them. – Liso Oct 20 '21 at 14:01sudo apt update
) – steeldriver Oct 20 '21 at 14:34