데비안:패키지 손상으로 인해 qtcreator를 설치할 수 없습니다

데비안:패키지 손상으로 인해 qtcreator를 설치할 수 없습니다

qtcreator나 다른 qt 개발 패키지를 설치하려고 하는데 패키지가 손상되어 작동하지 않습니다. 그런 다음 qt 웹사이트에서 qtcreator를 수동으로 설치하려고 시도했지만 이 오류 때문에 아무것도 컴파일할 수 없습니다 cannot find -lGL.

그런 다음 libgl1-mesa-dev 설치를 시도했는데 qtcreator를 설치할 때와 동일한 오류가 발생합니다.

> sudo apt-get install libgl1-mesa-dev
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:
 libgl1-mesa-dev : Depends: mesa-common-dev (= 13.0.6-1+b2) but it is not going to be installed
                   Depends: libdrm-dev (>= 2.4.69) but it is not going to be installed
                   Depends: libxcb-dri3-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

내 source.list와 관련이 있을 수 있으므로 다음을 추가했습니다.

deb http://ftp.fr.debian.org/debian testing main non-free contrib
deb-src http://ftp.fr.debian.org/debian testing main non-free contrib

그리고 저는 debian 9.9 stable을 사용하고 있습니다. 다음을 사용하여 일부 패키지를 설치했습니다.sudo apt-get -t testing install <package>

내 시스템이 망가졌나요? 고칠 수 있는 방법이 있나요, 아니면 다시 설치해야 하나요?

답변1

내 시스템이 망가졌나요?

예.

고칠 수 있는 방법이 있나요, 아니면 다시 설치해야 하나요?

예, 테스트 소스를 제거한 다음 데비안 위키에 설명된 지침을 따르세요.시스템 다운그레이드그리고"테스트"에서 "안정"으로 돌아가는 방법 - 커널 다운그레이드

Debian Stretch에서 사용할 qtcreator수 있으며 다음을 통해 설치할 수 있습니다.

apt install qtcreator 

관련 정보