%EC%97%90%20gnome-core%20%EC%84%A4%EC%B9%98.png)
나는 사용하고있다우분투 14.04LTS(Trusty Tahr) 서버:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
최소한의 우분투 OS를 설치하려고 하는데, 명령어를 입력하면
apt-get install gnome-core
나는 다음과 같은 결과를 얻습니다.
The following packages have unmet dependencies:
gnome-core : Depends: eog (>= 3.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
을 사용한 후 apt-cache policy gnome-core eog
출력은 다음과 같습니다.
gnome-core:
Installed: (none)
Candidate: 1:3.8+4ubuntu3
Version table:
1:3.8+4ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages eog: Installed: (none) Candidate: 3.10.2-0ubuntu5 Version table:
3.10.2-0ubuntu5 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
강제로 한 후에그을 사용하여 설치한 경우 apt-get install eog
출력은 다음과 같습니다.
The following packages have unmet dependencies:
eog :
Depends: libpeas-1.0-0 (>= 1.0.0) but it is not going to be installed
Depends: gir1.2-peas-1.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
그 후 다음 명령을 사용하십시오 apt-cache policy libpeas-1.0-0 gir1.2-peas-1.0
.
출력은 다음과 같습니다.
libpeas-1.0-0: 설치됨: (없음) 후보: 1.8.1-2ubuntu2 버전 표: 1.8.1-2ubuntu2 0 500http://archive.ubuntu.com/ubuntu/trusty/main amd64 패키지 gir1.2-peas-1.0: 설치됨: (없음) 후보: 1.8.1-2ubuntu2 버전 표: 1.8.1-2ubuntu2 0 500http://archive.ubuntu.com/ubuntu/신뢰할 수 있는/메인 amd64 패키지
그런 다음 command 를 사용하여 apt-get install libpeas-1.0-0 gir1.2-peas-1.0
출력은 다음과 같습니다.
다음 패키지에는 충족되지 않은 종속성이 있습니다: libpeas-1.0-0: 종속: libpython3.4 (>= 3.4~b1) 그러나 설치되지 않습니다.
E: 문제를 해결할 수 없습니다. 손상된 패키지를 보관하고 있습니다.
명령을 사용한 후 apt-cache policy libpython3.4
출력은 다음과 같습니다.
libpython3.4:
설치됨: (없음)
후보: 3.4.0-2ubuntu1.1
버전 테이블:
> 3.4.0-2ubuntu1.1 0
500 http://archive.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 3.4.0-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
명령을 사용한 후 apt-get install libpython3.4
출력은 다음과 같습니다.
다음 패키지에는 충족되지 않은 종속성이 있습니다.
libpython3.4 : 종속됨: libpython3.4-stdlib (= 3.4.0-2ubuntu1.1) 그러나 >3.4.3-1ubuntu1~14.04.1이 설치됨
E: 문제를 해결할 수 없습니다. 손상된 패키지를 보관하고 있습니다.
명령을 사용한 후 sudo apt-get install libpython3.4-stdlib
출력은 다음과 같습니다.
패키지 목록을 읽는 중... 완료 종속성 트리 구축 상태 정보를 읽는 중... 완료 libpython3.4-stdlib는 이미 최신 버전입니다. 0개는 업그레이드되고, 0개는 새로 설치되고, 0개는 제거되고, 0개는 업그레이드되지 않습니다.
이 문제를 어떻게 해결합니까?
답변1
올바른 버전을 설치하십시오.libpython3.4-stdlib
sudo apt-get update
sudo apt-get install libpython3.4-stdlib=3.4.0-2ubuntu1.1 libpython3.4-minimal=3.4.0-2ubuntu1.1
libpython3.4-stdlib
필요하기 때문에정확한버전 3.4.0-2ubuntu1.1
과~ 아니다설치된 버전 3.4.3-1ubuntu1~14.04.1
.
그 후 다음을 gnome-core
통해 설치하십시오.
sudo apt-get install gnome-core
제거된 패키지를 다시 설치하세요.
sudo apt-get install lsb-release python3 update-notifier-common
그리고 마지막에는
sudo apt-mark auto libpython3.4-stdlib libpython3.4-minimal