[I have absolutely no idea how focal-updates
got removed, but following the dup question directions, I just added this line deb http://br.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
to sources.list
and ran sudo apt-get update
and libsdl2-dev became installable properly thru synaptic]
here is the problem
$ sudo apt install libsdl2-dev
libsdl2-dev : Depends: libasound2-dev but it is not going to be installed
$ sudo apt install libasound2-dev
libasound2-dev : Depends: libasound2 (= 1.2.2-2.1)
$ sudo apt install libasound2
libasound2 is already the newest version (1.2.2-2.1ubuntu2).
how to install it now? is it really impossible!?
If it is impossible, I was thinking on downloading every libsdl2-dev dependency tree, extract the packages and just point the compiler to such folder, I think it could work.
But that is also a huge problem, because I would have to grab each package individually, as I cant find a way to just ask them to be downloaded w/o installing :(
Any better idea? Any easier way to do a thing that should be simple?
I cant compile the SDL2 project locally now, I cant test it, ahhh...
Is the only other/simple option to grab the sources and compile them from official site?
here the requested info
$ grep -r ^deb /etc/apt/ --include=*.list
/etc/apt/sources.list.d/nodesource.list:deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main
/etc/apt/sources.list.d/nodesource.list:deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main
/etc/apt/sources.list:deb http://br.archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:deb http://br.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:deb http://br.archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security multiverse
$ sudo apt-get update
Hit:1 http://br.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 https://deb.nodesource.com/node_16.x focal InRelease
Reading package lists... Done
$ apt-cache policy libsdl2-dev
libsdl2-dev:
Installed: (none)
Candidate: 2.0.10+dfsg1-3
Version table:
2.0.10+dfsg1-3 500
500 http://br.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
$ apt policy libasound2
libasound2:
Installed: 1.2.2-2.1ubuntu2
Candidate: 1.2.2-2.1ubuntu2
Version table:
*** 1.2.2-2.1ubuntu2 100
100 /var/lib/dpkg/status
1.2.2-2.1 500
500 http://br.archive.ubuntu.com/ubuntu focal/main amd64 Packages