I know how to install a specific version of a package. Now I want to upgrade all packages of my system with:
sudo apt upgrade
But for a specific package, I do not want it to upgrade to the latest version, but to a specific one. E. g., currently installed version is 1. Latest available via apt
is 3. I want to upgrade to 2. Is it possible with apt
?
gitlab-runner
for any release of Ubuntu in the Ubuntu repositories. If you are using Ubuntu sources,apt upgrade
won't change that package no matter how hard you try. To see for yourself, examine the output ofapt policy gitlab-runner
– user535733 Feb 23 '24 at 18:30apt
afterwards to upgrade it to a specific version? – stackprotector Feb 23 '24 at 19:01aptitude
and search for the package, down at the bottom of the description it shows the available versions. If you highlight the version you want and press +, it will set that version to be installed. – Organic Marble Feb 23 '24 at 19:21