<p>I am getting this error when I want to install docker.io (<code>sudo apt-get install docker.io</code>)</p>
<p>he following information may help to resolve the situation:</p>
<p>The following packages have unmet dependencies:
containerd.io : Conflicts: containerd
Conflicts: runc
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.</p>
<p>I have tried to reinstall the containerd and runc but didn't solve the problem.</p>

Oliver Domokos
<p><strong>try this</strong></p>
<p><code>sudo apt-get remove docker docker-engine docker.io containerd runc</code></p>
<p><code>sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose</code></p>
<p><code>sudo rm -rf /etc/bash_completion.d/docker /usr/local/bin/docker-compose /etc/bash_completion.d/docker-compose</code></p>
<p><code>sudo apt install containerd -y</code></p>
<p><code>sudo apt install -y docker.io docker-compose</code></p>
