依存関係のため、apt-getを実行できません。

依存関係のため、apt-getを実行できません。

私のサーバー(Debian8)にいくつかのパッケージをインストールしようとしていますが、一部のパッケージに対する依存関係の問題が引き続き発生します。

たとえば、次のコマンドを実行しました。

apt-get install jetty9

不可能なことを尋ね、依存関係がlibjetty9-extra-java満足できないと答えた。理由がわからない。

このエラーが発生する理由を教えてくれる人はいますか?

エラーは次のとおりです。

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:                                                                                                                
 jetty9 : Depends: libjetty9-extra-java (>= 9.2.14-1~bpo8+1) but it is not going to be installed                                                               
E: Unable to correct problems, you have held broken packages.

これは私のソースのリストです。

#de://debian.mirrors.ovh.neb httpt/debian/ jessie main                                                                                                         
#deb-src http://debian.mirrors.ovh.net/debian/ jessie main                                                                                                     

deb http://security.debian.org/ jessie/updates main                                                                                                            
deb-src http://security.debian.org/ jessie/updates main                                                                                                        

# jessie-updates, previously known as 'volatile'                                                                                                               
deb http://debian.mirrors.ovh.net/debian/ jessie-updates main                                                                                                  
deb-src http://debian.mirrors.ovh.net/debian/ jessie-updates main                                                                                              

# jessie-backports, previously on backports.debian.org                                                                                                         
deb http://debian.mirrors.ovh.net/debian/ jessie-backports main                                                                                                
deb-src http://debian.mirrors.ovh.net/debian/ jessie-backports main                                                                                            

deb http://debian.mirrors.ovh.net/debian/ jessie main contrib non-free                                                                                         
deb-src http://debian.mirrors.ovh.net/debian/ jessie main contrib non-free

ベストアンサー1

jetty9パッケージは文字列で示されているようにバックポートを使用していますbpo8

source.listにjessie-backportsをすでに設定しているので、次のようにします。

sudo apt-get update
sudo apt-get -t jessie-backports jetty9

-t jessie backportsjessie-backportsリポジトリを使用するためのヒントです。

また確認して下さい:

https://packages.debian.org/jessie-backports/jetty9

backports.debian.org "バックポートは、次のDebianリリース("ベータ"と呼ばれる)からインポートされたパッケージで、Debian安定リリースで使用するために調整および再コンパイルされます。パッケージは、次のDebianバージョンにも存在するため、次のことができます。安定したバージョンを簡単にアップグレードし、次のDebianバージョンがリリースされると、システムはバックポートされます。

おすすめ記事