Отказ обновления версии от 14.04 LTS до 16.04 LTS из-за настольных человечностью зависимостей от пакета

Контекст: Я делал попытку обновления от 14.04 LTS до 16.04 LTS, и все пошло гладко до только около конца, когда я получил сообщение, что, хотя обновление было установлено, некоторые ошибки произошли. Делая немного рытья, казалось, что 'настольный человечностью' пакет имел некоторые неразрешимые зависимости. Вывод /var/log/dist-upgrade/apt.log:

Log time: 2017-01-09 10:30:59.192116
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) qtdeclarative5-ubuntu-ui-toolkit-plugin [ amd64 ] < none -> 1.3.1918+16.04.20160404-0ubuntu1 > ( libs )
Broken qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64 Depends on qml-module-ubuntu-components [ amd64 ] < none -> 1.3.1918+16.04.20160404-0ubuntu1 > ( libs )
  Considering qml-module-ubuntu-components:amd64 1 as a solution to qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64 0
  Holding Back qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64 rather than change qml-module-ubuntu-components:amd64
Investigating (0) checkbox-converged [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( oldlibs )
Broken checkbox-converged:amd64 Depends on qtdeclarative5-ubuntu-ui-toolkit-plugin [ amd64 ] < none -> 1.3.1918+16.04.20160404-0ubuntu1 > ( libs )
  Considering qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64 0 as a solution to checkbox-converged:amd64 -1
  Holding Back checkbox-converged:amd64 rather than change qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64
Investigating (1) checkbox-gui [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( utils )
Broken checkbox-gui:amd64 Depends on checkbox-converged [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( oldlibs )
  Considering checkbox-converged:amd64 -1 as a solution to checkbox-gui:amd64 0
  Holding Back checkbox-gui:amd64 rather than change checkbox-converged:amd64
Investigating (1) ubuntu-desktop [ amd64 ] < 1.361 > ( metapackages )
Broken ubuntu-desktop:amd64 Depends on checkbox-gui [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( utils )
  Considering checkbox-gui:amd64 0 as a solution to ubuntu-desktop:amd64 0
  Removing ubuntu-desktop:amd64 rather than change checkbox-gui:amd64
Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) ubuntu-desktop [ amd64 ] < 1.361 > ( metapackages )
Broken ubuntu-desktop:amd64 Depends on checkbox-gui [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( utils )
  Considering checkbox-gui:amd64 1 as a solution to ubuntu-desktop:amd64 10000
    Reinst Failed early because of qtdeclarative-abi-5-5-0:amd64
    Reinst Failed because of libubuntugestures5:amd64
    Reinst Failed because of qml-module-ubuntu-components:amd64
    Reinst Failed because of qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64
    Reinst Failed because of checkbox-converged:amd64
Done
ERROR:root:failed to mark 'ubuntu-desktop' for install (E:Unable to correct problems, you have held broken packages.)

Однако моя система, казалось, была в порядке на 16,04, таким образом, я проигнорировал это на некоторое время. Но недавно, мой ноутбук был небольшим багги (системные шрифты, не отображающиеся на переслед и неспособность завершить работу правильно после этого), таким образом, я думаю, что лучше, чтобы я попытался установить 'настольным человечностью'. Я предпринял некоторые свои собственные попытки, использующие синаптический, и способность из командной строки (вместо Кв. - добираются) видеть, могла ли их умная зависимость, решающая, помочь, но напрасно. Вывод sudo aptitude install ubuntu-desktop очень похоже на apt.log выше [редактирование: включенный полностью в запрос в комментариях, и я также включал результат в отклонение первого предложения разрешения зависимости]

$ sudo aptitude install ubuntu-desktop
The following NEW packages will be installed:
  checkbox-converged{a} checkbox-gui{a} libandroid-properties1{a} libhardware2{a} libhybris{a} libhybris-common1{a} libmedia1{a} liboxideqt-qmlplugin{a} liboxideqtcore0{ab} liboxideqtquick0{a} 
  libqt5organizer5{ab} libqt5quicktest5{a} libubuntugestures5{ab} libubuntutoolkit5{ab} libunity-webapps0{a} pyotherside{a} python3-aptdaemon.pkcompat{ab} qml-module-io-thp-pyotherside{a} 
  qml-module-qt-labs-folderlistmodel{a} qml-module-qt-labs-settings{a} qml-module-qtgraphicaleffects{a} qml-module-qtquick-layouts{a} qml-module-qttest{a} qml-module-ubuntu-components{ab} 
  qml-module-ubuntu-layouts{ab} qml-module-ubuntu-performancemetrics{a} qml-module-ubuntu-test{ab} qml-module-ubuntu-web{a} qmlscene{a} qtdeclarative5-dev-tools{a} qtdeclarative5-test-plugin{a} 
  qtdeclarative5-ubuntu-ui-toolkit-plugin{a} suru-icon-theme{a} ubuntu-desktop ubuntu-mobile-icons{a} unity-webapps-common{a} unity-webapps-qml{a} unity-webapps-service{a} webapp-container{ab} 
  webbrowser-app{ab} 
0 packages upgraded, 40 newly installed, 0 to remove and 63 not upgraded.
Need to get 43.8 MB/44.2 MB of archives. After unpacking 161 MB will be used.
The following packages have unmet dependencies:
 qml-module-ubuntu-test : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
                                    - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.                                    - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
 liboxideqtcore0 : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
                             - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.                             - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
 libqt5organizer5 : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
                              - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.                              - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
 webapp-container : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
                              - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.                              - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
                    Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
                              - libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
 qml-module-ubuntu-layouts : Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
                                       - libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
 python3-aptdaemon.pkcompat : Depends: python3-aptdaemon (= 1.1.1+bzr982-0ubuntu14) but 1.1.1+bzr982-0ubuntu16~ubuntu16.04~ppa1 is installed.
                              Conflicts: packagekit but 1.1.1-1ubuntu1~ubuntu16.04~ppa1 is installed.
                              Conflicts: packagekit:i386 but it is not going to be installed.
 qml-module-ubuntu-components : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
                                          - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.                                          - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
                                Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
                                          - libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
 libubuntutoolkit5 : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
                               - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.                               - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
 aptdaemon : Breaks: python3-aptdaemon.pkcompat but 1.1.1+bzr982-0ubuntu14 is to be installed.
 webbrowser-app : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
                            - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.                            - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
                  Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
                            - libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
 libubuntugestures5 : Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
                                - libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
Internal error: found 2 (choice -> promotion) mappings for a single choice.
Internal error: found 2 (choice -> promotion) mappings for a single choice.
The following actions will resolve these dependencies:

      Keep the following packages at their current version:    
1)      checkbox-converged [Not Installed]                     
2)      checkbox-gui [Not Installed]                           
3)      liboxideqt-qmlplugin [Not Installed]                   
4)      liboxideqtcore0 [Not Installed]                        
5)      liboxideqtquick0 [Not Installed]                       
6)      libqt5organizer5 [Not Installed]                       
7)      libubuntugestures5 [Not Installed]                     
8)      libubuntutoolkit5 [Not Installed]                      
9)      libunity-webapps0 [Not Installed]                      
10)     python3-aptdaemon.pkcompat [Not Installed]             
11)     qml-module-ubuntu-components [Not Installed]           
12)     qml-module-ubuntu-layouts [Not Installed]              
13)     qml-module-ubuntu-test [Not Installed]                 
14)     qml-module-ubuntu-web [Not Installed]                  
15)     qtdeclarative5-ubuntu-ui-toolkit-plugin [Not Installed]
16)     ubuntu-desktop [Not Installed]                         
17)     unity-webapps-common [Not Installed]                   
18)     unity-webapps-qml [Not Installed]                      
19)     unity-webapps-service [Not Installed]                  
20)     webapp-container [Not Installed]                       
21)     webbrowser-app [Not Installed]                         



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

      Install the following packages:                                                                                    
1)      liboxideqtcore0 [1.13.6-0ubuntu1 (xenial)]                                                                       

      Keep the following packages at their current version:                                                              
2)      checkbox-converged [Not Installed]                                                                               
3)      checkbox-gui [Not Installed]                                                                                     
4)      liboxideqt-qmlplugin [Not Installed]                                                                             
5)      liboxideqtquick0 [Not Installed]                                                                                 
6)      libqt5organizer5 [Not Installed]                                                                                 
7)      libubuntugestures5 [Not Installed]                                                                               
8)      libubuntutoolkit5 [Not Installed]                                                                                
9)      libunity-webapps0 [Not Installed]                                                                                
10)     python3-aptdaemon.pkcompat [Not Installed]                                                                       
11)     qml-module-ubuntu-components [Not Installed]                                                                     
12)     qml-module-ubuntu-layouts [Not Installed]                                                                        
13)     qml-module-ubuntu-test [Not Installed]                                                                           
14)     qml-module-ubuntu-web [Not Installed]                                                                            
15)     qtdeclarative5-ubuntu-ui-toolkit-plugin [Not Installed]                                                          
16)     ubuntu-desktop [Not Installed]                                                                                   
17)     unity-webapps-common [Not Installed]                                                                             
18)     unity-webapps-qml [Not Installed]                                                                                
19)     unity-webapps-service [Not Installed]                                                                            
20)     webapp-container [Not Installed]                                                                                 
21)     webbrowser-app [Not Installed]                                                                                   

      Downgrade the following packages:                                                                                  
22)     oxideqt-codecs-extra [1.19.4-0ubuntu0.16.04.1 (now, xenial-security, xenial-updates) -> 1.13.6-0ubuntu1 (xenial)]



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

Я думаю, что это могло возможно быть связано с вопросом о панели запуска здесь https://answers.launchpad.net/ubuntu / + вопрос/433070, который неизбежно указывает на некоторый конфликт между qtbase-abi-5-5-1 и qtbase-abi-5-6-1, но у меня нет экспертных знаний для окончательного определения этого. Учитывая мой вывод, конечно, кажется, что что-то произошло с моими библиотеками Qt (который я не смешиваю с).

Для полноты:

$ lsb_release -crid
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:    16.04
Codename:   xenial
0
задан 19 January 2017 в 08:41

1 ответ

В случае, если другой интернет-странник Ubuntu спотыкается через подобную проблему к вышеупомянутому и задается вопросом, необходима ли новая установка, то ответ для моего случая был да. Если у Вас есть подходящее резервное копирование затем, это действительно не слишком обременительно. Просто удостоверьтесь, что Вы ничем не загрязняете свою новую установку кроме 'чистых данных'. Я начал использовать VMs, в котором я устанавливаю внешнее программное обеспечение, чтобы 'поиграть в песочнице' их и изолировать их от моего хоста ОС, которая я пытаюсь сохранить максимально ванильным так, чтобы обновления пошли гладко в будущем.

См. https://ubuntuforums.org/showthread.php? t=2350343 для еще многие подробно отвечает на мои вопросы в UbuntuForums.

0
ответ дан 7 November 2019 в 03:35

Другие вопросы по тегам:

Похожие вопросы: