これがこの質問をするのに最適な場所ではないかもしれません(そうでなければ他の場所に案内してください)。ただし、Debian テストシステムに Virtualbox 6.0 または 6.1 をインストールしようとすると、満たされていない依存関係の問題が発生します。
私の推測では - 本当かどうかはわかりませんが -libvpx5
何らかの理由で使用できないようです。testing
sudo apt install virtualbox-6.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
virtualbox-6.0 : Depends: libvpx5 (>= 1.6.0) but it is not installable
Recommends: libsdl-ttf2.0-0 but it is not going to be installed
Recommends: linux-headers-generic but it is not installable or
linux-headers-generic-pae but it is not installable or
linux-headers-686-pae but it is not installable or
linux-headers-amd64 but it is not going to be installed or
linux-headers-2.6-686 but it is not installable or
linux-headers-2.6-amd64 but it is not installable or
linux-headers but it is not installable
Recommends: linux-image but it is not installable
E: Unable to correct problems, you have held broken packages.
これは私のものです。/etc/apt/sources.list
# virtualbox
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian buster contrib
buster
私がテストブランチを追跡しているとしても、ここで追加するのは正しいことだと思います。
この問題をどのように解決できますか?それとも解決は実際には不可能ですか?
ベストアンサー1
このVirtualBoxパッケージはDebianテストではなくDebian 10用です(実際にはUbuntu用に設計されています)。この問題を解決する方法は2つあります。
- リポジトリにDebian 10を追加してください
libvpx5
。リポジトリで使用できます。 contrib
テスト、アクティベーション、インストールを追跡するときにソースコードにDebianの不安定性を追加するのはとにかく良い考えです。virtualbox
パッケージそこにあります。
これらのいずれかを実行するには、デフォルトが/etc/apt/apt.conf
Bullseye(現在のDebianテスト)であることを指定する行を編集して追加します。
APT::Default-Release "bullseye";
次に、追加のリポジトリまたは/etc/apt/sources.list
新しいファイルを追加します/etc/apt/sources.list.d
。/etc/apt/sources.list
deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian unstable main contrib non-free
ブルズアイを追跡しているのに不安定な場合。
次のベストプラクティスも参照してください。Debian テストガイド。