모노컴플리트를 설치할 수 없는 이유는 무엇입니까?

모노컴플리트를 설치할 수 없는 이유는 무엇입니까?

설치하려고 하면 다음과 같은 결과가 나타납니다.

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:
 mono-complete : Depends: mono-devel (= 3.12.1-0xamarin1) but it is not going to be installed
                 Depends: mono-4.0-service (= 3.12.1-0xamarin1) but it is not going to be installed
                 Depends: libmono-cil-dev (= 3.12.1-0xamarin1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

답변1

다른 사람들의 이익을 위해 나에게 이 문제가 발생한 한 가지 시나리오는 다음과 같습니다.Jenkins 도커 저장소, Debian 8 "jessie"를 기반으로 합니다.

다음을 포함하여 일반적인 모노 설치 지침을 실행했습니다.

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list

그런 다음 apt-get install -y mono-devel충족되지 않은 종속성으로 인해 실패했습니다.

도커 이미지를 다시 로드하고 설치를 실행해 보았습니다.없이위의 두 명령. 갑자기 작동했습니다.

분명히 최신(2016년 3월 30일 기준) 젠킨스 이미지에는 모노용 표준 타사 저장소가 필요하지 않습니다.

관련 정보