web-dev-qa-db-ja.com

破損カウントエラー:linux-generic-pae:依存:linux-image-generic-pae(= 3.2.0.37.44)が、3.2.0.37.45がインストールされている

シナプスでカウントが壊れており、次を実行しても修正できません。

Sudo apt-get -f install

ターミナルからの抜粋は次のとおりです。

$ Sudo apt-get check
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:
 linux-generic-pae : Depends: linux-image-generic-pae (= 3.2.0.37.44) but 3.2.0.37.45 is installed
                     Depends: linux-headers-generic-pae (= 3.2.0.37.44) but 3.2.0.37.45 is installed
N: Ignoring file '50unattended-upgrades.distrib' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Unmet dependencies. Try using -f.

Sudo apt-get -f installを実行した後の抽出は以下のとおりです。

$ Sudo 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:
  openclient-about 3270-common ibm-config-anyconnect
  openclient-agnclient-notifications xfonts-x3270-misc libqt4-gui
  ibm-3270-emulator x3270 unity-lens-ocdc anyconnect ibm-cck-ff4
  ibm-Lotus-upgrade-fix ibm-ocdc-documentation ocdc-unity-tweaks
  ibm-application-menus
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-generic-pae
The following packages will be upgraded:
  linux-generic-pae
1 upgraded, 0 newly installed, 0 to remove and 181 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,728 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.37.44); however:
  Version of linux-image-generic-pae on system is 3.2.0.37.45.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.37.44); however:
  Version of linux-headers-generic-pae on system is 3.2.0.37.45.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.<br>
                          Errors were encountered while processing:
 linux-generic-pae
N: Ignoring file '50unattended-upgrades.distrib' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)

行き詰まっていて、それ以上インストールできません。

6
vinay

dpkg --remove linux-image-serverに続いてapt-get install linux-image-serverを実行することにより、ほぼ同一の問題(以下を参照)を解決しました。またはあなたの場合:

Sudo dpkg --remove linux-generic-pae
Sudo apt-get install linux-generic-pae

私の問題はlinux-image-serverメタパッケージではなくlinux-generic-paeカーネルメタパッケージにありましたが、バージョン番号は同じでした:

The following packages have unmet dependencies:
 linux-server : Depends: linux-image-server (= 3.2.0.37.44) but 3.2.0.37.45 is to be installed
                Depends: linux-headers-server (= 3.2.0.37.44) but 3.2.0.37.45 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
10
njdove