내 시스템의 저장소를 업데이트하고 싶습니다.
holger@ubuntu:~$ cat /etc/os-release NAME="Ubuntu" VERSION="14.04.5 LTS, Trusty Tahr" holger@ubuntu:~$ uname -m i686
공식 우분투 저장소에는 이전 버전 (2.8)이 포함되어 있으므로 최신 코드 라이트 버전 (9.1)을 사용합니다. 다음 지침을 따랐습니다 . 최신 버전의 코드 라이트를 설치하는 방법은 무엇입니까?
하지만이 종속성 오류가 표시됩니다.
The following packages have unmet dependencies: codelite : Depends: liblldb-3.6 but it is not installable Recommends: lldb (>= 3.4) but it is not installable Recommends: nodejs but it is not going to be installed E: Unable to correct problems, you have held broken packages.
설치된 버전은 다음과 같습니다.
liblldb-3.9/trusty-security,now 1:3.9.1-4ubuntu3~14.04.2 i386 [installed]
나는 그것을 고치는 방법에 대한 아이디어에 감사드립니다.
편집 : codelite 종속성을 확인하면 다음이 표시됩니다.
holger@ubuntu:~$ sudo apt-get build-dep codelite The following packages have unmet dependencies: libgtk2.0-dev : Depends: libglib2.0-dev (>= 2.27.3) but it is not going to be installed Depends: libgdk-pixbuf2.0-dev (>= 2.21.0) but it is not going to be installed Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed Depends: libatk1.0-dev (>= 1.29.2) but it is not going to be installed Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed Depends: libxrandr-dev (>= 2:1.2.99) but it is not going to be installed E: Build-dependencies for codelite could not be satisfied.
libgtk2.0-dev는 libglib2.0-dev 및 기타 libs에 의존합니다. libglib2.0-dev를 설치하려고하면 다음 오류가 발생합니다.
> holger@ubuntu:~$ sudo apt-get install libglib2.0-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: libglib2.0-dev :
> Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to $
> Depends: libglib2.0-bin (= 2.40.0-2) but 2.40.2-0ubuntu1 is t$
> Depends: libpcre3-dev (>= 1:8.31) but it is not going to be i$ E: Unable to correct problems, you have held broken
> packages.
따라서 종속 라이브러리는 내 시스템에 있으며 부 릴리스 번호 만 다릅니다. 내가 이해했듯이 libglib2.0-0의 경우 버전 2.40.0-2가 필요하지만 버전 2.40.2-0ubuntu1이 설치되어 있습니다.
이 패키지를 어떤 저장소에서 가져올 수 있습니까? 표준 저장소는 다음 버전 만 설치할 수 있습니다.
> holger@ubuntu:~$ apt search libglib2.0
> ...
> libglib2.0-dev/trusty
> 2.40.0-2 i386 Development files for the GLib library
제가 여기서 무엇을 놓치고 있습니까?
당신이 할 수있는 일은 저장소에서 설치하는 것입니다. 웹 사이트 TipsUbuntu에서 최신 버전 9.2에 대한 지침이 여기에 있습니다 .
sudo sh -c 'echo "deb http://repos.codelite.org/ubuntu/ trusty universe" >> /etc/apt/sources.list.d/codelite.list'
<-저장소를 추가하십시오.sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
<-키 신뢰를 설정하십시오.sudo apt update && sudo apt install codelite wxcrafter
<-설치!sudo apt-get install -f
도움이 되었기를 바랍니다!
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다