12.04を実行しています。
これを読みます https://askubuntu.com/a/90219/18876 .
私が持っているものをすべてチェックしました。
yeukhon@fubini:~$ aptitude search ~ilinux-image
i linux-image-3.2.0-29-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-31-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-32-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-33-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-34-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-35-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-36-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-37-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-38-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
i linux-image-3.2.0-39-generic-pae - Linux kernel image for version 3.2.0 on 32 bit
BB linux-image-generic-pae - Generic Linux kernel image
私は39を使用していると思いますか?
yeukhon@fubini:~$ uname -a
Linux fubini 3.2.0-39-generic-pae #62-Ubuntu SMP Wed Feb 27 22:25:11 UTC 2013 i686 i686 i386 GNU/Linux
そこで、参考文献で提案されているようにパージを開始しました。
Sudo apt-get purge linux-image-3.2.0-29 linux-image-3.2.0-30 linux-image-3.2.0-31 linux-image-3.2.0-32 linux-image-3.2.0-33 linux-image-3.2.0-34 linux-image-3.2.0-35 linux-image-3.2.0-36 linux-image-3.2.0-37 linux-image-3.2.0-38
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-image-3.2.0-29-generic-pae' for regex 'linux-image-3.2.0-29'
Note, selecting 'linux-image-3.2.0-29-powerpc64-smp' for regex 'linux-image-3.2.0-29'
Note, selecting 'linux-image-3.2.0-29-virtual' for regex 'linux-image-3.2.0-29'
Note, selecting 'linux-image-3.2.0-29-generic' for regex 'linux-image-3.2.0-29'
Note, selecting 'linux-image-3.2.0-29-powerpc-smp' for regex 'linux-image-3.2.0-29'
Note, selecting 'linux-image-3.2.0-29-highbank' for regex 'linux-image-3.2.0-29'
Note, selecting 'linux-image-3.2.0-29-omap' for regex 'linux-image-3.2.0-29'
Note, selecting 'linux-image-3.2.0-30-powerpc64-smp' for regex 'linux-image-3.2.0-30'
Note, selecting 'linux-image-3.2.0-30-highbank' for regex 'linux-image-3.2.0-30'
Note, selecting 'linux-image-3.2.0-30-powerpc-smp' for regex 'linux-image-3.2.0-30'
Note, selecting 'linux-image-3.2.0-30-virtual' for regex 'linux-image-3.2.0-30'
Note, selecting 'linux-image-3.2.0-30-generic' for regex 'linux-image-3.2.0-30'
Note, selecting 'linux-image-3.2.0-30-generic-pae' for regex 'linux-image-3.2.0-30'
Note, selecting 'linux-image-3.2.0-30-omap' for regex 'linux-image-3.2.0-30'
Note, selecting 'linux-image-3.2.0-31-generic' for regex 'linux-image-3.2.0-31'
Note, selecting 'linux-image-3.2.0-31-generic-pae' for regex 'linux-image-3.2.0-31'
Note, selecting 'linux-image-3.2.0-31-highbank' for regex 'linux-image-3.2.0-31'
Note, selecting 'linux-image-3.2.0-31-omap' for regex 'linux-image-3.2.0-31'
Note, selecting 'linux-image-3.2.0-31-powerpc64-smp' for regex 'linux-image-3.2.0-31'
Note, selecting 'linux-image-3.2.0-31-powerpc-smp' for regex 'linux-image-3.2.0-31'
Note, selecting 'linux-image-3.2.0-31-virtual' for regex 'linux-image-3.2.0-31'
Note, selecting 'linux-image-3.2.0-32-powerpc-smp' for regex 'linux-image-3.2.0-32'
Note, selecting 'linux-image-3.2.0-32-highbank' for regex 'linux-image-3.2.0-32'
Note, selecting 'linux-image-3.2.0-32-virtual' for regex 'linux-image-3.2.0-32'
Note, selecting 'linux-image-3.2.0-32-generic-pae' for regex 'linux-image-3.2.0-32'
Note, selecting 'linux-image-3.2.0-32-generic' for regex 'linux-image-3.2.0-32'
Note, selecting 'linux-image-3.2.0-32-powerpc64-smp' for regex 'linux-image-3.2.0-32'
Note, selecting 'linux-image-3.2.0-32-omap' for regex 'linux-image-3.2.0-32'
Note, selecting 'linux-image-3.2.0-33-powerpc64-smp' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-33-powerpc-smp' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-33-omap' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-33-virtual' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-33-generic-pae' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-33-lowlatency-pae' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-33-generic' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-33-lowlatency' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-33-highbank' for regex 'linux-image-3.2.0-33'
Note, selecting 'linux-image-3.2.0-34-generic-pae' for regex 'linux-image-3.2.0-34'
Note, selecting 'linux-image-3.2.0-34-powerpc64-smp' for regex 'linux-image-3.2.0-34'
Note, selecting 'linux-image-3.2.0-34-virtual' for regex 'linux-image-3.2.0-34'
Note, selecting 'linux-image-3.2.0-34-generic' for regex 'linux-image-3.2.0-34'
Note, selecting 'linux-image-3.2.0-34-powerpc-smp' for regex 'linux-image-3.2.0-34'
Note, selecting 'linux-image-3.2.0-34-highbank' for regex 'linux-image-3.2.0-34'
Note, selecting 'linux-image-3.2.0-34-omap' for regex 'linux-image-3.2.0-34'
Note, selecting 'linux-image-3.2.0-35-powerpc-smp' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-35-generic-pae' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-35-omap' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-35-virtual' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-35-powerpc64-smp' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-35-generic' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-35-lowlatency-pae' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-35-lowlatency' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-35-highbank' for regex 'linux-image-3.2.0-35'
Note, selecting 'linux-image-3.2.0-36-powerpc-smp' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-36-lowlatency' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-36-highbank' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-36-powerpc64-smp' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-36-generic-pae' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-36-virtual' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-36-lowlatency-pae' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-36-omap' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-36-generic' for regex 'linux-image-3.2.0-36'
Note, selecting 'linux-image-3.2.0-37-virtual' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-37-generic' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-37-lowlatency' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-37-highbank' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-37-omap' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-37-powerpc64-smp' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-37-powerpc-smp' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-37-lowlatency-pae' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-37-generic-pae' for regex 'linux-image-3.2.0-37'
Note, selecting 'linux-image-3.2.0-38-highbank' for regex 'linux-image-3.2.0-38'
Note, selecting 'linux-image-3.2.0-38-lowlatency' for regex 'linux-image-3.2.0-38'
Note, selecting 'linux-image-3.2.0-38-generic-pae' for regex 'linux-image-3.2.0-38'
Note, selecting 'linux-image-3.2.0-38-virtual' for regex 'linux-image-3.2.0-38'
Note, selecting 'linux-image-3.2.0-38-generic' for regex 'linux-image-3.2.0-38'
Note, selecting 'linux-image-3.2.0-38-lowlatency-pae' for regex 'linux-image-3.2.0-38'
Note, selecting 'linux-image-3.2.0-38-omap' for regex 'linux-image-3.2.0-38'
Note, selecting 'linux-image-3.2.0-38-powerpc64-smp' for regex 'linux-image-3.2.0-38'
Note, selecting 'linux-image-3.2.0-38-powerpc-smp' for regex 'linux-image-3.2.0-38'
Package linux-image-3.2.0-29-generic is not installed, so not removed
Package linux-image-3.2.0-29-virtual is not installed, so not removed
Package linux-image-3.2.0-30-generic is not installed, so not removed
Package linux-image-3.2.0-30-generic-pae is not installed, so not removed
Package linux-image-3.2.0-30-virtual is not installed, so not removed
Package linux-image-3.2.0-31-generic is not installed, so not removed
Package linux-image-3.2.0-31-virtual is not installed, so not removed
Package linux-image-3.2.0-32-generic is not installed, so not removed
Package linux-image-3.2.0-32-virtual is not installed, so not removed
Package linux-image-3.2.0-33-generic is not installed, so not removed
Package linux-image-3.2.0-33-virtual is not installed, so not removed
Package linux-image-3.2.0-34-generic is not installed, so not removed
Package linux-image-3.2.0-34-virtual is not installed, so not removed
Package linux-image-3.2.0-35-generic is not installed, so not removed
Package linux-image-3.2.0-35-virtual is not installed, so not removed
Package linux-image-3.2.0-36-generic is not installed, so not removed
Package linux-image-3.2.0-36-virtual is not installed, so not removed
Package linux-image-3.2.0-37-generic is not installed, so not removed
Package linux-image-3.2.0-37-virtual is not installed, so not removed
Package linux-image-3.2.0-38-generic is not installed, so not removed
Package linux-image-3.2.0-38-virtual is not installed, so not removed
Package linux-image-3.2.0-33-lowlatency is not installed, so not removed
Package linux-image-3.2.0-33-lowlatency-pae is not installed, so not removed
Package linux-image-3.2.0-35-lowlatency is not installed, so not removed
Package linux-image-3.2.0-35-lowlatency-pae is not installed, so not removed
Package linux-image-3.2.0-36-lowlatency is not installed, so not removed
Package linux-image-3.2.0-36-lowlatency-pae is not installed, so not removed
Package linux-image-3.2.0-37-lowlatency is not installed, so not removed
Package linux-image-3.2.0-37-lowlatency-pae is not installed, so not removed
Package linux-image-3.2.0-38-lowlatency is not installed, so not removed
Package linux-image-3.2.0-38-lowlatency-pae is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-generic-pae : Depends: linux-image-3.2.0-40-generic-pae but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
今、私はどのように進むべきかわかりません、特に私はコンピューターを台無しにしたくありません。アイデア?ありがとう。
ソリューション
/ bootパーティションが100%に達したため、今はアップグレードできません。古いカーネルを削除してスペースを空けることはできません 後で。基本的に、十分な空き領域ができるまで、[removing] old vmlinuz initrd, abi and System.map files individually
による彼のアドバイスに従いました。最初の2つだけを削除する必要があります。
次にSudo apt-get install -f
を実行し、最後に@Salemの小さなbashスクリプトを使用して、ほとんどの古いカーネルを削除します。提案どおり最後の2つを保持しました。最後に再起動し、uname -a
を実行すると、新しいカーネルがインストールされていることがわかります(私の場合は40です)。
あなたの問題は、aptがlinux-image-generic-pae
をインストール/削除しようとしていることです。これは利用可能な最新のカーネル(linux-image-3.2.0-40-generic-pae
)を指しているはずですが、インストールした最新のカーネルは*39
。
したがって、--dry-run
でaptによって提案されたコマンドを実行することをお勧めします(これはaptが行うことをシミュレートするだけです):
Sudo apt-get -f install --dry-run
これにより、aptが何をしようとしているのかがわかり、問題ないかどうかを判断できます(問題のない最新のカーネルをインストールしようとする場合、使用しているカーネルを削除しようとする場合は、他のものを試してください)。
その後、おそらくより良い方法は、各カーネルを手動で削除することです(apt-get purge
出力では、すべてを正しく選択しているようです)。各コマンドを単独で指定するか、次のようなことを実行できます。
for version in {29..38}; do
echo "Removing kernel 3.2.0-$version"
Sudo apt-get remove linux-image-3.2.0-$version-generic-pae
done