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을 사용해 보세요.

관련 정보