스키마 누락 - Unity Tweak 도구

스키마 누락 - Unity Tweak 도구

나는 이것이 매우 유사하다는 것을 이해합니다이 질문그리고이 하나, 그러나 거기에 있는 답변 중 어느 것도 나에게 도움이 되지 않았습니다. 해당 질문에 언급된 패키지를 설치하려고 할 때 apt-get은 다음 오류 메시지를 표시합니다.

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.
 unity-webapps-service : Depends: webapp-container
E: Unable to correct problems, you have held broken packages.

거기에 언급된 종속성을 설치하려고 하면 점점 더 많은 종속성을 발견하게 됩니다. '깨진 패키지 수정'을 선택하면 Synaptic Package Manager에서 오류 메시지가 표시됩니다. 이 문제를 어떻게 해결할 수 있나요?

미리 감사드리며, 더 많은 정보가 필요하시면 댓글을 남겨주세요.

업데이트: 실행 apt-cache policy webapp-container unity-webapps-service결과는 다음과 같습니다.

webapp-container:
  Installed: (none)
  Candidate: 0.23+14.04.20140428-0ubuntu1
  Version table:
     0.23+14.04.20140428-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     0.23+14.04.20140414-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
unity-webapps-service:
  Installed: (none)
  Candidate: 2.5.0~+14.04.20140409-0ubuntu1
  Version table:
     2.5.0~+14.04.20140409-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

업데이트 2: 버전 정보:

LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:    14.04
Codename:   trusty

업데이트 3unity-webapps-service: apt-get 대신 aptitude를 사용하여 설치하려는 경우 :

The following NEW packages will be installed:
  liboxideqt-qmlplugin{a} liboxideqtcore0{a} liboxideqtquick0{ab} 
  libqt5feedback5{a} libqt5multimedia5{ab} libqt5organizer5{ab} 
  libqt5positioning5{ab} libunity-webapps0{a} 
  qtdeclarative5-dialogs-plugin{ab} 
  qtdeclarative5-privatewidgets-plugin{ab} 
  qtdeclarative5-qtfeedback-plugin{a} 
  qtdeclarative5-ubuntu-ui-extras-browser-plugin{a} 
  qtdeclarative5-ubuntu-ui-toolkit-plugin{ab} unity-webapps-qml{a} 
  unity-webapps-service webapp-container{ab} webbrowser-app{ab} 
0 packages upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.6 MB of archives. After unpacking 103 MB will be used.
The following packages have unmet dependencies:
 webapp-container : Depends: qtdeclarative-abi-5-2-1 which is a virtual package.
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 which is a virtual package.
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 which is a virtual package.
                                 Depends: qtdeclarative-abi-5-2-1 which is a virtual package.
 webbrowser-app : Depends: qtdeclarative-abi-5-2-1 which is a virtual package.
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 which is a virtual package.
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 which is a virtual package.
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 which is a virtual package.
 liboxideqtquick0 : Depends: qtdeclarative-abi-5-2-1 which is a virtual package.
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 which is a virtual package.
                                           Depends: qtdeclarative-abi-5-2-1 which is a virtual package.
The following actions will resolve these dependencies:

      Keep the following packages at their current version:           
1)      liboxideqt-qmlplugin [Not Installed]                          
2)      liboxideqtcore0 [Not Installed]                               
3)      liboxideqtquick0 [Not Installed]                              
4)      libqt5feedback5 [Not Installed]                               
5)      libqt5multimedia5 [Not Installed]                             
6)      libqt5organizer5 [Not Installed]                              
7)      libqt5positioning5 [Not Installed]                            
8)      libunity-webapps0 [Not Installed]                             
9)      qtdeclarative5-dialogs-plugin [Not Installed]                 
10)     qtdeclarative5-privatewidgets-plugin [Not Installed]          
11)     qtdeclarative5-qtfeedback-plugin [Not Installed]              
12)     qtdeclarative5-ubuntu-ui-extras-browser-plugin [Not Installed]
13)     qtdeclarative5-ubuntu-ui-toolkit-plugin [Not Installed]       
14)     unity-webapps-qml [Not Installed]                             
15)     unity-webapps-service [Not Installed]                         
16)     webapp-container [Not Installed]                              
17)     webbrowser-app [Not Installed]                                



Accept this solution? [Y/n/q/?]

업데이트 4: 출력 sudo apt-get install qtdeclarative-abi-5-2-1:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package qtdeclarative-abi-5-2-1 is a virtual package provided by:
  libqt5qml5 5.2.1-3ubuntu15.1 [Not candidate version]
  libqt5qml5 5.2.1-3ubuntu15 [Not candidate version]

E: Package 'qtdeclarative-abi-5-2-1' has no installation candidate

출력 sudo apt-get install unity-webapp-container:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package unity-webapp-container

업데이트 5: 출력 apt-cache policy libqt5qml5:

libqt5qml5:
  Installed: 5.3.0-3ubuntu13~trusty1
  Candidate: 5.3.0-3ubuntu13~trusty1
  Version table:
 *** 5.3.0-3ubuntu13~trusty1 0
        500 http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     5.2.1-3ubuntu15.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     5.2.1-3ubuntu15 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

출력 sudo apt-get install webapp-container:

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.
 webapp-container : Depends: qtdeclarative-abi-5-2-1
                    Depends: unity-webapps-qml but it is not going to be installed
                    Depends: webbrowser-app (= 0.23+14.04.20140428-0ubuntu1)
E: Unable to correct problems, you have held broken packages.

답변1

위험을 감수하고 답변을 남겨 드리겠습니다.

주요 문제는 PPA ppa:mscore-ubuntu/mscore-stable인 것 같습니다. 이 PPA를 사용하면 필요한 버전을 사용할 수 없습니다libqt5qml5

따라서 다음 명령을 사용하여 PPA를 제거하십시오.

sudo ppa-purge ppa:mscore-ubuntu/mscore-stable

이후

sudo apt-get install -f

그리고 마지막으로

sudo apt-get install unity-webapps-service

문제는 어디에 있습니까?

이 명령은 apt-cache policy libqt5qml5다음을 반환합니다. PPA ppa:mscore-ubuntu/mscore-stable은 최신 버전(5.3.0)을 설치 libqt5qml5 하지만 qtdeclarative-abi-5-2-1정확한 버전 5.2.1이 필요합니다.

libqt5qml5:
  Installed: 5.3.0-3ubuntu13~trusty1
  Candidate: 5.3.0-3ubuntu13~trusty1
  Version table:
 *** 5.3.0-3ubuntu13~trusty1 0
        500 http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     5.2.1-3ubuntu15.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     5.2.1-3ubuntu15 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

부작용

PPA를 제거하면 PPA에서 설치한 패키지가 다운그레이드됩니다. 패키지가 이 PPA에만 존재하기 때문에 다운그레이드가 불가능한 경우 패키지가 제거됩니다. 패키지의 구성 파일은 제거 후에도 시스템에 여전히 존재합니다.

관련 정보