Installing packages with package managers such as
pip (for python) taught me to be very specific about packages versions to avoid weird behaviours or even unexpected bugs in the software I'm writing.
I know that the
apt package manager is a very different animal, but I thought it wouldn't have hurt to be very precise. I was wrong!
It looks like until a few days ago the following command was working:
I created a script that installs in "steps", specific versions of apt packages. One example of a step is something like:
apt-get install git=1:2.20.1-2+deb10u1
But now I get:
Reading package lists... Done Building dependency tree Reading state information... Done E: Version '1:2.20.1-2+deb10u1' for 'git' was not found
And in order to go through with the installation I need to install the following version:
apt-get install git=1:2.20.1-2+deb10u3
There must be a way to install always the same software on different machine using the same script, correct? Maybe:
apt-get install git=1:2.20.1-2*
Please help to get this done in an correct way.
Thanks in advance.