安装`gdebi`但出现错误`linux-image-generic-hwe-16.04:取决于:linux-image-4.15.0-76-generic,但不会安装`

installing `gdebi` But Getting Error ` linux-image-generic-hwe-16.04 : Depends: linux-image-4.15.0-76-generic but it is not going to be installed`

正在尝试安装 gdebi 但无法安装。请帮助

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 gdebi : Depends: gdebi-core (= 0.9.5.7ubuntu1) but it is not going to be installed
         Depends: gksu but it is not going to be installed
 linux-image-generic-hwe-16.04 : Depends: linux-image-4.15.0-76-generic but it is not going to be installed
 linux-modules-extra-4.15.0-70-generic : Depends: linux-image-4.15.0-70-generic but it is not going to be installed or
                                                  linux-image-unsigned-4.15.0-70-generic but it is not going to be installed
 linux-modules-extra-4.15.0-76-generic : Depends: linux-image-4.15.0-76-generic but it is not going to be installed or
                                                  linux-image-unsigned-4.15.0-76-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我也尝试过使用 apt-get -f install 但它也没有帮助。

我已经通过从我的系统中删除旧内核解决了这个问题。 欲了解更多信息,请阅读 how to remove old kernels