A bot detects changes in Ubuntu packages and triggers a new installation of the package. Currently, the installation is failing since the bot tries to install a specific version of the package which does not seem to exist:
$ apt-get update
...
Reading package lists... Done
$ apt-get install python3=3.10.6-1~22.04.1 -y
...
E: Version '3.10.6-1~22.04.1' for 'python3' was not found
Looking at python3 packages, version 3.10.6-1~22.04.1
is listed and it also appears in launchpad.
Strangely, when the version constraint is dropped, apt-get
installs the package 3.10.6-1~22.04.1
$ apt-get install python3 -y
...
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-minimal amd64 3.10.6-1~22.04.1 [2263 kB]
...
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10 amd64 3.10.6-1~22.04.1 [497 kB]
...
Unpacking python3.10-minimal (3.10.6-1~22.04.1) ...
...
Setting up python3.10-minimal (3.10.6-1~22.04.1) ...
Although the package name is 3.10.6-1~22.04.1
its version is 3.10.6-1~22.04
$ dpkg-query -W -f='${Version}\n' python3
3.10.6-1~22.04
$ apt-cache show python3 | grep Version | head -n 1
Version: 3.10.6-1~22.04
Is this a bug that package 3.10.6-1~22.04 and 3.10.6-1~22.04.1 have the same version? If not, a clarification on the matter will be great.