sudo apt-get install -y liblog4cxx10-dev が失敗しました

sudo apt-get install -y liblog4cxx10-dev が失敗しました

パッケージ liblog4cxx10-dev をインストールしようとすると、次のようなエラーが報告されます。

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:
 liblog4cxx10-dev : Depends: libaprutil1-dev but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

私のシステムはUbuntu 12.04 LTS 64ビットです。グーグルで調べて

apt-cache policy libblog4cxx10-dev

**結果は次のとおりです:

 liblog4cxx10-dev:
  Installed: (none)
  Candidate: 0.10.0-1.2ubuntu2
  Version table:
     0.10.0-1.2ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

apt-get install を使用して libaprutil1-dev をインストールすると、次のようなエラーが発生します: 次のパッケージには満たされていない依存関係があります:

libaprutil1-dev : Depends: libsqlite3-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

問題を解決する方法を教えていただけませんか? たとえば、どのツールを使用すればよいのか、どのファイルを確認すればよいのかなどです。

前もって感謝します!**

答え1

最初に実行してapt-get autoremove壊れたパッケージを削除し、apt-get update更新します。最後に、元の apt-get を試してください。

関連情報