I think what is not clear is the version naming check.
For ex.:
$ 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).
So, why version "1.2.2-2.1" differs from "1.2.2-2.1ubuntu2" ?
I mean, is apt install looking for "1.2.2-2.1" and when it checks about the package "1.2.2-2.1ubuntu2" it is unable to match or something else is happening ?
Should I remove the package version "1.2.2-2.1ubuntu2" and try to find and install it versioned like "1.2.2-2.1" ?
Could I use some trick to let apt install accept "1.2.2-2.1ubuntu2" as if it was the probably different package named "1.2.2-2.1"?
And finally, is package version "1.2.2-2.1" really different from "1.2.2-2.1ubuntu2"?
If not, could I just repack "1.2.2-2.1ubuntu2" as "1.2.2-2.1"? but how? (tho I found that many packages depend on the specific "1.2.2-2.1ubuntu2" and it would be too much trouble to change them all, in case it could work of course)
=
. The version string match must be exact, no different characters, no additional characters, no fewer characters. – user535733 Jan 23 '22 at 18:06apt update
work properly? – user535733 Jan 29 '22 at 01:59