“apt-get -f install”不起作用

“apt-get -f install”不起作用
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libsdl-ttf2.0-0 libunistring0:i386 python-numpy python-pygame deluge-gtk
  libsdl-mixer1.2 libgomp1:i386 liblapack3gf deluge-common libmikmod2
  libcroco3:i386 libgettextpo0:i386 libblas3gf libgfortran3 libsmpeg0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-generic
The following packages will be upgraded:
  linux-generic
1 upgraded, 0 newly installed, 0 to remove and 212 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,722 B of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.2.0.37.45); however:
  Version of linux-image-generic on system is 3.2.0.40.48.
 linux-generic depends on linux-headers-generic (= 3.2.0.37.45); however:
  Version of linux-headers-generic on system is 3.2.0.40.48.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

当 repo 镜像不同步时,可能会发生这种情况。更换镜像或等待一天,看看您的镜像是否跟上。

如果您想更换镜子,请尝试以下问题答案中的教程:

相关内容