Se o pacote A (aqui, linux-image-extra-***
e linux-signed-image-***
) depender do pacote B (aqui, linux-image-***
), será um problema se o pacote A estiver instalado enquanto o pacote B não estiver. Existem duas maneiras de resolver este problema: instalar o pacote B ou remover o pacote A.
apt-get install -f
tenta fazer o primeiro, mas aqui está claro que o que você quer fazer é remover os pacotes indesejados, então faça isso:
sudo apt remove linux-image-extra-4.10.0-28-generic linux-image-extra-4.10.0-35-generic linux-image-extra-4.10.0-37-generic linux-signed-image-4.10.0-35-generic linux-signed-image-4.10.0-37-generic
Sim, tudo em um comando, não separadamente. E no futuro, por favor, remova sempre o pacote com Apt, não dpkg
.