Installing docker, getting: `PreDepends: init-system-helpers (>= 1.54~) but 1.51 is to be installed`
So these are the install instructions for Docker
After you setup the GPG key and prerequisites it basically consists of:
- Getting the (latest)
.deb
release from the releases page sudo apt install ./docker-desktop-<version>-<arch>.deb
I was getting the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'docker-desktop' instead of './docker-desktop-4.8.1-amd64.deb'
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.
docker-desktop : PreDepends: init-system-helpers (>= 1.54~) but 1.51 is to be installed
E: Unable to correct problems, you have held broken packages.
But if I tried sudo apt upgrade init-system-helpers
then I got:
Reading package lists... Done
Building dependency tree
Reading state information... Done
init-system-helpers is already the newest version (1.51).
What is the solution to this, to install Docker?