オペレーティングシステムにanboxをどのようにインストールしますか?

オペレーティングシステムにanboxをどのようにインストールしますか?

インストールしようとすると、anbox依存関係の解決に失敗したというエラーメッセージが表示されます。

私はDebianを実行します:

uname -a
Linux xxxx 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
  • インストールしようとするとanbox

    sudo apt install anbox
    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:
     anbox : Depends: libegl1 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    
  • libegl1その後、手動でインストールしようとすると、次のようになります。

    sudo apt install  libegl1
    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:
     libegl1 : Depends: libegl-mesa0 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    
  • libegl-mesa0その後、手動でインストールしようとすると、次のようになります。

    sudo apt install  libegl1   libegl-mesa0
    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:
     libegl-mesa0 : Depends: libdrm2 (>= 2.4.75) but 2.4.74-1 is to be installed
                    Depends: libgbm1 (= 18.2.8-2~bpo9+1) but 13.0.6-1+b2 is to be installed
                    Depends: libwayland-client0 (>= 1.15.0) but 1.12.0-1+deb9u1 is to be installed
                    Depends: libwayland-server0 (>= 1.15.0) but 1.12.0-1+deb9u1 is to be installed
    E: Unable to correct problems, you have held broken packages.
    

anboxそれでは、オペレーティングシステムにどのようにインストールしますか?

ベストアンサー1

コンボ安定したDebian 9リポジトリでは使用できません。 Debian 10 または Debian 9 で使用できます。バックポート追加のストレージ。 〜のようにバックポートでのみ使用でき、そこから自動的に選択されますが(ストレージが追加されたと仮定)、その依存項目は選択されません(バックポートでのみ利用可能な場合を除く)。

バックポートリポジトリのパッケージは、デフォルトのリポジトリ(oldstableとも呼ばれるDebian 9)だけでなく、バ​​ックポートリポジトリの他のパッケージにも依存できます。完全なバックポートエコシステムがあります。

正しいコマンドはインストールするこれパッケージは次のとおりです。

apt-get -t stretch-backports install anbox

これにより、すべてのパッケージの依存関係が取得されます。あなたのメッセージによると、このプロセス中にメサまたはその一部が13.0.6から18.2.8にアップグレードされるようです。

しかし、特に、十分ではない。(実際にはそうではありません。それ自体だがシステムシミュレーションコンテナ)は特別なAndroidカーネル機能を使用します(例:ANDROID_BINDER_IPC)は、メインライン化される前はAndroidパッチカーネルでのみ利用可能であり、そのリリースに必要なツールが含まれていない限り、ストックリリースカーネルにはほとんど追加されませんでした。。したがって、これらのオプションはDebian 9のデフォルトのカーネルバージョン4.9には存在しません。バックポートされたカーネルもインストールする必要があります。

apt-get -t stretch-backports install linux-image-amd64

ファームウェアとカーネルは通常一緒にバンドルされているため、名前に対応する単語を含むパッケージがありますfirmwareファームウェア-iwlwifi)また、次にアップグレードする必要があります。バックストレッチと移植同じ方法でバージョンを指定します(使用可能な場合)。

これにより、システムとハードウェアの動作が変わる可能性があります。たとえば、独自のグラフィックドライバを使用している場合、このアップグレードは完全にスムーズに進まない可能性があります。問題が発生しても、以前の4.9カーネルで起動できます(通常、ファームウェアパッケージは以前のバージョンのままです)。

おすすめ記事