Sample Header Ad - 728x90

While apt-get install package=version won't downgrade due to dependencies, would the install of lower version than the current candidate always work?

0 votes
1 answer
20 views
On an Ubuntu machine, I have installed percona-server-server with version at 8.4.3-3-1.noble. I noticed I could install a package at a specific version via:
$ apt-get install percona-server-server=8.4.5-5-1.noble
Yet I also noticed that I cannot downgrade to a specific version due the dependency dependencies afterwards:
$ apt-get install percona-server-server=8.4.0-1-1.noble
apt-get install percona-server-server=8.4.0-1-1.noble
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 percona-server-server : Depends: percona-server-common (= 8.4.0-1-1.noble) but 8.4.5-5-1.noble is to be installed
                         Depends: percona-server-client (= 8.4.0-1-1.noble) but 8.4.5-5-1.noble is to be installed
E: Unable to correct problems, you have held broken packages.
That makes me wonder: Was I just lucky with 8.4.5-5-1.noble as it is the current candidate? Would it have failed if I had tried an older version like 8.4.4-4-1.noble?
Asked by k0pernikus (16501 rep)
Jul 31, 2025, 06:12 PM