Debianにlinux-headers-4.7.0-0.bpo.1-amd64をインストールする方法は?


3

cloudendureを使用して、Google Cloud Platform VMをアカウントからクライアントアカウントに移行しようとしましたが、エラーが発生しました。cloudendureサポートチームにエラーログを問い合わせたところ、linux-headers-4.7.0-0.bpo.1-amd64(これは4.7.0-0.bpo.1-amd64カーネルに対応する実行している)。

次のコマンドを使用してインストールしようとしました

sudo apt install -t jessie-backports linux-headers-4.7.0-0.bpo.1-amd64 linux-image-4.7.0-0.bpo.1-amd64 -s

しかし、私は次のエラー応答を得ました

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.7.0-0.bpo.1-amd64
E: Couldn't find any package by regex 'linux-headers-4.7.0-0.bpo.1-amd64'

私のインストールでは、以下のように必要なパッケージが見つかりませんでした

@instance-1:~$ apt-cache search linux-header
linux-headers-3.16.0-4-all - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-4-all-amd64 - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-4-amd64 - Header files for Linux 3.16.0-4-amd64
linux-headers-3.16.0-4-common - Common header files for Linux 3.16.0-4
linux-headers-amd64 - Header files for Linux amd64 configuration (meta-package)
linux-headers-4.9.0-0.bpo.1-all - All header files for Linux 4.9 (meta-package)
linux-headers-4.9.0-0.bpo.1-all-amd64 - All header files for Linux 4.9 (meta-package)
linux-headers-4.9.0-0.bpo.1-amd64 - Header files for Linux 4.9.0-0.bpo.1-amd64
linux-headers-4.9.0-0.bpo.1-common - Common header files for Linux 4.9.0-0.bpo.1
linux-headers-4.9.0-0.bpo.1-common-rt - Common header files for Linux 4.9.0-0.bpo.1-rt
linux-headers-4.9.0-0.bpo.1-rt-amd64 - Header files for Linux 4.9.0-0.bpo.1-rt-amd64
linux-headers-4.9.0-0.bpo.2-all - All header files for Linux 4.9 (meta-package)
linux-headers-4.9.0-0.bpo.2-all-amd64 - All header files for Linux 4.9 (meta-package)
linux-headers-4.9.0-0.bpo.2-amd64 - Header files for Linux 4.9.0-0.bpo.2-amd64
linux-headers-4.9.0-0.bpo.2-common - Common header files for Linux 4.9.0-0.bpo.2
linux-headers-4.9.0-0.bpo.2-common-rt - Common header files for Linux 4.9.0-0.bpo.2-rt
linux-headers-4.9.0-0.bpo.2-rt-amd64 - Header files for Linux 4.9.0-0.bpo.2-rt-amd64
linux-headers-4.8.0-2-common-grsec - Common header files for Linux 4.8.0-2-grsec
linux-headers-4.8.0-2-grsec-amd64 - Header files for Linux 4.8.0-2-grsec-amd64
linux-headers-grsec-amd64 - Header files for Linux amd64 configuration, grsec featureset (meta-package)
linux-headers-rt-amd64 - Header files for Linux rt-amd64 configuration (meta-package)

移行の作業を続行するために、この必要なパッケージを他のパッケージにインストールする方法を教えてください。

さらに、Debian 8.7を実行しています。次のイメージがインストールされています。

@instance-1:~$ dpkg --list | grep linux-image
ii linux-image-3.16.0-4-amd64 3.16.39-1+deb8u1 amd64 Linux 3.16 for 64-bit PCs
ii linux-image-4.7.0-0.bpo.1-amd64-unsigned 4.7.5-1~bpo8+2 amd64 Linux 4.7 for 64-bit PCs
ii linux-image-4.9.0-0.bpo.1-amd64 4.9.2-2~bpo8+1 amd64 Linux 4.9 for 64-bit PCs (signed)
ii linux-image-amd64 4.9+78~bpo8+1 amd64 Linux for 64-bit PCs (meta-package)

実行中のカーネルは

instance-1:~$ uname -a
Linux instance-1 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.5-1~bpo8+2 (2016-10-01) x86_64 GNU/Linux

回答:


5

スナップショットから適切なバージョンをダウンロードし、依存関係とともに手動でインストールできます。(apt関連するスナップショットのリポジトリを設定することも可能ですが、おそらくここでは価値がありません。)

バージョン4.7.5-1〜bpo8 + 2を実行している場合、ダウンロードしてインストールする必要があるファイルは次のとおりです。

これらの4つのすべてをインストールした後、実行する必要があるかもしれないapt-get install -f任意のさらなる不足している依存関係(修正するなどのコンパイラを)。

実際にバックポートから現在利用可能なカーネルにアップグレードする必要があることに注意してください。これを行うには、ヘッダーとともに、新しいカーネルが利用可能になったときに最新の状態を維持できるように、バックポートからインストールしてインストールlinux-image-amd64しますlinux-headers-amd64

apt-get install -t jessie-backports linux-{image,headers}-amd64

1
すごい仕事!あなたの時間、努力、エネルギー、貢献に感謝します。あなたのために私の仕事は現在進行中です。
UgochukwuドミニクAgbams
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.