설치해 보았습니다앰버툴. 그러나 설치 매뉴얼 시스템을 따랐을 때 다음 종속성을 설치하라는 메시지가 표시되었습니다.
sudo apt-get install csh flex gfortran g++ xorg-dev \
zlib1g-dev libbz2-dev patch python-tk python-matplotlib
그로 인해 다음과 같은 오류가 발생했습니다.
The following packages have unmet dependencies:
gfortran : Depends: gfortran-4.6 (>= 4.6.3-1~) but it is not going to be installed
libbz2-dev : Depends: libbz2-1.0 (= 1.0.6-1) but 1.0.6-4 is to be installed
xorg-dev : Depends: libfontenc-dev but it is not going to be installed
Depends: libfs-dev but it is not going to be installed
Depends: libice-dev but it is not going to be installed
Depends: libsm-dev but it is not going to be installed
Depends: libxaw7-dev but it is not going to be installed
Depends: libxcomposite-dev but it is not going to be installed
Depends: libxcursor-dev but it is not going to be installed
Depends: libxfont-dev but it is not going to be installed
Depends: libxft-dev but it is not going to be installed
Depends: libxinerama-dev but it is not going to be installed
Depends: libxmu-dev but it is not going to be installed
Depends: libxmuu-dev but it is not going to be installed
Depends: libxpm-dev but it is not going to be installed
Depends: libxrandr-dev
Depends: libxrender-dev but it is not going to be installed
Depends: libxres-dev but it is not going to be installed
Depends: libxss-dev but it is not going to be installed
Depends: libxt-dev but it is not going to be installed
Depends: libxtst-dev but it is not going to be installed
Depends: libxv-dev but it is not going to be installed
Depends: libxvmc-dev but it is not going to be installed
Depends: libxxf86dga-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
이것을 실행하기 전에 실행했지만 sudo apt-get update
아무것도 바뀌지 않았습니다.
해당 패키지를 수정하고 이러한 종속성을 설치하려면 어떻게 해야 합니까?
답변1
해당 패키지 중 일부는 유니버스 저장소에 있습니다. 이를 설치하지 않으면 명백한 이유로 설치가 실패하게 됩니다. 업데이트 관리자 설정을 통해 또는 간단히 다음을 통해 이를 활성화할 수 있습니다.
sudo add-apt-repository universe
그런 다음 sudo apt-get update
다시 설치로 돌아갑니다.