2016-10-23 3 views
2

내가 sudo apt-get install qtbase5-dev를 사용하여 qt5 개발 라이브러리를 설치하기 위해 노력하고있어에서 qtbase5-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: 
qtbase5-dev : Depends: libgles2-mesa-dev or 
         libgles2-dev but it is not installable 
       Depends: libqt5gui5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed 
       Depends: libqt5printsupport5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed 
       Depends: libqt5widgets5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed 
       Recommends: libqt5opengl5-dev (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed 
E: Unable to correct problems, you have held broken packages.

이 문제는 내가지지하지 않는됩니다 패키지 - dpkg --get-selections | grep hold을 사용하여 확인했지만 아무것도 표시되지 않았습니다.

+0

Qt 웹 사이트에서 최신 버전이 아닌 저장소의 고대 Qt 버전을 사용하고있는 특별한 이유가 있습니까? – dtech

+1

@ddriver 미안하지만, 나는 그것을 이해하지 못했습니다. 왜 내가'apt-get'를 사용하는지 묻는거야? 우분투의 기본 패키지 관리자이고 "그냥 작동합니다"(이 경우가 아니라) 것을 사용하는 것입니다. – sashoalm

+0

Qt 버전이 3 년 이상 된 이유는 무엇입니까? apt get은 대부분의 경우에 괜찮지 만 Qt 버전에서는 뒤쳐져 있습니다. – dtech

답변

0

수동으로 libgles2-mesa-dev을 설치 한 다음 qtbase5-dev을 수동으로 설치합니다. 그래도 별도의 명령으로 실행해야했습니다.

sudo apt-get install libgles2-mesa-dev 
sudo apt-get install qtbase5-dev 
1

나를 위해, 이것은 oibaf 그래픽 PPA가 설치되어 발생했습니다.

sudo ppa-purge ppa:oibaf/graphics-drivers

sudo apt-get install ppa-purge

증권 그래픽 libs가 되돌아갑니다.