$ sudo aptitude safe-upgrade
The following packages will be upgraded:
linux-image-generic-pae
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,578 B of archives. After unpacking 1,024 B will be used.
Do you want to continue? [Y/n/?] Y
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
linux-image-generic-pae depends on linux-image-3.2.0-36-generic-pae; however:
Package linux-image-3.2.0-36-generic-pae is not installed.
dpkg: error processing linux-image-generic-pae (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-image-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
linux-image-generic-pae depends on linux-image-3.2.0-36-generic-pae; however:
Package linux-image-3.2.0-36-generic-pae is not installed.
dpkg: error processing linux-image-generic-pae (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-generic-pae
有人知道怎么解决这个问题吗?我试过sudo apt-get clean
和。sudo apt-get autoremove
但sudo apt-get install -f
这些都没能解决我的问题。
答案1
linux-image-generic-pae
是一个过渡包,这意味着它不再存在于存储库中,因为它linux-image-generic
包含 pae 功能。
我会将其删除,以确保你已经安装了真正的包:
sudo apt-get install linux-image-generic
如果已经安装,以防万一:
sudo apt-get install --reinstall linux-image-generic
进而:
sudo apt-get remove linux-image-generic-pae