2014-07-21 8 views
0

우분투 13.04 용으로 컴파일 된 패키지를 가지고 있고 우분투 14.04에 설치하고 싶습니다. 해당 패키지는 우분투 14.04에서는 사용할 수없는 libcogl12에 따라 달라집니다 (새로운 libcogl15로 대체 됨). 이 문제를 해결하기 위해Ubuntu에서 apt pkg를 컴파일하고 설치하는 동안 "A가 B를 깨뜨리고 설치되었습니다"라는 의미는 무엇입니까?

은 내가 cogl 소스 코드를 다운로드하고 수동으로 libcogl12 구축 :

sudo apt-get install freeglut3-dev libxcomposite-dev libglib2.0-dev libpango1.0-dev 
curl -O http://ftp.gnome.org/pub/GNOME/sources/cogl/1.7/cogl-1.7.8.tar.xz 
cd cogl-1.7.8 
./configure --prefix=/usr 
make 
sudo checkinstall 

checkinstall 대화 형 메뉴에서 내가 패키지 결과에 대한 libcogl12 이름을 정의합니다. 그것은 문제없이 지어졌지만, 설치시 오류가 발생했습니다 :

dpkg: dependency problems prevent configuration of libcogl12: 
libclutter-1.0-0:amd64 (1.16.4-0ubuntu2) breaks libcogl12 and is installed. 

"A가 고장 나고 설치되었습니다"는 의미입니까? 나는 이러한 오류 :(대한 모든 문서를 볼 수

답변

1

여기에서 촬영 :. http://debian-handbook.info/browse/stable/sect.package-meta-information.html

5.2.1.3. Incompatibilities: the Breaks Field

The Breaks field has an effect similar to that of the Conflicts field, but with a special meaning. It signals that the installation of a package will “break” another package (or particular versions of it). In general, this incompatibility between two packages is transitory, and the Breaks relationship specifically refers to the incompatible versions. dpkg will refuse to install a package that breaks an already installed package, and apt-get will try to resolve the problem by updating the package that would be broken to a newer version (which is assumed to be fixed and, thus, compatible again). This type of situation may occur in the case of updates without backwards compatibility: this is the case if the new version no longer functions with the older version, and causes a malfunction in another program without making special provisions. The Breaks field prevents the user from running into these problems.

+0

덕분에 많은 봇을 "휴식"이 정확히 무엇을 의미하는지 모두 패키지가 같은 서로 다른 파일을 설치하려고합니까!? 이름? 또는 무엇? 그것은 "휴식"에 대한 이유를 찾는 어떤 방법입니까? – grigoryvp

+0

그건 "휴식"플래그의 구현 자에게 맡겨져 :) 기본적으로 같은 위치에있는 다른 파일 버전, 같은 이름을 가진 다른 라이브러리, 패키지 A가 패키지 B를 깰 것이라는 것을 안다면, 그 브레이크 필드에 패키지 A를 추가하면됩니다. 세부 정보는 패키지 관리자에게 남겨 둡니다. – favoretti