Raspberry Pi의 소스에서 일부 ROS 구성 요소를 설치했습니다. 다음 문제가 발생했을 때 필수 종속성을 확인하고 설치하고 있었습니다.
sudo apt install -o 디버그::pkgProblemResolver=true -o 디버그::Acquire::http=true libgpg-error-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libgpg-error-dev:armhf < none -> 1.26-2 @un puN Ib >
Broken libgpg-error-dev:armhf Depends on libgpg-error0:armhf < 1.35-1~bpo9+1 @ii mK > (= 1.26-2)
Considering libgpg-error0:armhf 106 as a solution to libgpg-error-dev:armhf 9999
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:
libgpg-error-dev : Depends: libgpg-error0 (= 1.26-2) but 1.35-1~bpo9+1 is to be installed
E: Unable to correct problems, you have held broken packages.
무슨 일이 일어나고 있는지 잘 모르겠고 이 문제를 해결하는 방법도 모르겠습니다. 어떤 제안이 있으십니까?
답변1
설치된 버전은 libgpg-error0
백포트된 버전이므로 일치하는 버전을 설치해야 합니다 libgpg-error-dev
.
sudo apt install -t stretch-backports libgpg-error-dev