求救,从15.11升级出现依赖问题
Tofloor
poster avatar
jerry79
deepin
2020-04-16 22:28
Author
求救,按照论坛里面的源,添加后从15.11直接升级,下载完后解压时,出现如下错误:
Unpacking python-minimal (2.7.16-1) over (2.7.13-2) ...
dpkg: warning: unable to delete old directory '/usr/share/python/debpython': Directory not empty
Selecting previously unselected package python2-minimal.
Preparing to unpack .../77-python2-minimal_2.7.16-1_amd64.deb ...
Unpacking python2-minimal (2.7.16-1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-ysI6o1/63-python-lxml_4.3.2-1_amd64.deb
/tmp/apt-dpkg-install-ysI6o1/70-python-pkg-resources_40.8.0-1_all.deb
/tmp/apt-dpkg-install-ysI6o1/71-python-numpy_1%3a1.16.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



我再运行一片sudo apt dist-upgrade后出现:


Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
dconf-gsettings-backend : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
dconf-service : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
dmsetup : Depends: libdevmapper1.02.1 (>= 2:1.02.138) but 2:1.02.137-2 is installed
hplip : Depends: hplip-data (= 3.18.12+dfsg0-2) but 3.16.11+repack0-3 is installed
         Depends: printer-driver-hpcups (= 3.18.12+dfsg0-2) but 3.16.11+repack0-3 is installed
         Depends: python3 (>= 3.7~) but 3.5.3-1 is installed
         Depends: libpython3.7 (>= 3.7.0) but it is not installed
libcurl4-openssl-dev : Depends: libcurl4 (= 7.64.0-4) but it is not installed
libdconf1 : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
libdframeworkdbus2 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
libdtkcore5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
libdtkgui5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
              Depends: qtbase-abi-5-11-3
libgsettings-qt1 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
libpango-1.0-0 : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
libpangocairo-1.0-0 : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
libpangoft2-1.0-0 : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
libpython2.7-stdlib : Breaks: python-lxml (< 3.8.0-2) but 3.7.1-1 is installed
                       Breaks: python-numpy (< 1:1.12.1-3.1) but 1:1.12.1-3 is installed
libqt5dbus5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
               Depends: qtbase-abi-5-11-3
libqt5gui5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
              Depends: qtbase-abi-5-11-3
              Recommends: qt5-gtk-platformtheme but it is not installed
libqt5network5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
                  Depends: qtbase-abi-5-11-3
libqt5qml5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
              Depends: qtbase-abi-5-11-3
libqt5quick5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
                Depends: qtbase-abi-5-11-3
libqt5quickcontrols2-5 : Depends: libqt5core5a (>= 5.11.1+dfsg~) but 5.7.1+dfsg-10deepin is installed
                          Depends: qtbase-abi-5-11-3
libqt5quicktemplates2-5 : Depends: libqt5core5a (>= 5.11.1+dfsg~) but 5.7.1+dfsg-10deepin is installed
                           Depends: qtbase-abi-5-11-3
libqt5quickwidgets5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
                       Depends: qtbase-abi-5-11-3
libqt5widgets5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
                  Depends: qtbase-abi-5-11-3
libqt5x11extras5 : Depends: libqt5core5a (>= 5.11.3+dfsg~) but 5.7.1+dfsg-10deepin is installed
libqt5xml5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
              Depends: qtbase-abi-5-11-3
python : PreDepends: python-minimal (= 2.7.13-2) but 2.7.16-1 is installed
qml-module-qtgraphicaleffects : Depends: libqt5core5a (>= 5.11.3+dfsg~) but 5.7.1+dfsg-10deepin is installed
qml-module-qtquick-controls : Depends: libqt5core5a (>= 5.11.3+dfsg~) but 5.7.1+dfsg-10deepin is installed
                               Depends: qtbase-abi-5-11-3
qml-module-qtquick-controls2 : Depends: libqt5core5a (>= 5.11.1+dfsg~) but 5.7.1+dfsg-10deepin is installed
                                Depends: qtbase-abi-5-11-3
qml-module-qtquick-layouts : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
                              Depends: qtbase-abi-5-11-3
qml-module-qtquick-templates2 : Depends: libqt5core5a (>= 5.11.1+dfsg~) but 5.7.1+dfsg-10deepin is installed
qml-module-qtquick-window2 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
qml-module-qtquick2 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


按照提示运行--fix-broken ,还是同样问题,请问这个该怎么办呢?现在不敢重启,估计重启就再也起不来了
求救,求救
Reply Favorite View the author
All Replies
avatar
jerry79
deepin
2020-04-16 22:34
#1
现在很多软件已经无法运行了
Reply View the author
avatar
jerry79
deepin
2020-04-16 22:38
#2
启动盘制作工具也无法运行了
Reply View the author
avatar
jerry79
deepin
2020-04-16 22:44
#3
这是目前的症状:


  1. jerry@jerry-PC:~$ sudo apt --fix-broken install
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. Correcting dependencies... failed.
  6. The following packages have unmet dependencies:
  7. dconf-gsettings-backend : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
  8. dconf-service : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
  9. dmsetup : Depends: libdevmapper1.02.1 (>= 2:1.02.138) but 2:1.02.137-2 is installed
  10. hplip : Depends: hplip-data (= 3.18.12+dfsg0-2) but 3.16.11+repack0-3 is installed
  11.          Depends: printer-driver-hpcups (= 3.18.12+dfsg0-2) but 3.16.11+repack0-3 is installed
  12.          Depends: python3 (>= 3.7~) but 3.5.3-1 is installed
  13.          Depends: libpython3.7 (>= 3.7.0) but it is not installed
  14. libcurl4-openssl-dev : Depends: libcurl4 (= 7.64.0-4) but it is not installed
  15. libdconf1 : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
  16. libdframeworkdbus2 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  17. libdtkcore5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  18. libdtkgui5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  19.               Depends: qtbase-abi-5-11-3
  20. libgsettings-qt1 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  21. libpango-1.0-0 : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
  22. libpangocairo-1.0-0 : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
  23. libpangoft2-1.0-0 : Depends: libglib2.0-0 (>= 2.55.2) but 2.50.3-2 is installed
  24. libpython2.7-stdlib : Breaks: python-lxml (< 3.8.0-2) but 3.7.1-1 is installed
  25.                        Breaks: python-numpy (< 1:1.12.1-3.1) but 1:1.12.1-3 is installed
  26. libqt5dbus5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  27.                Depends: qtbase-abi-5-11-3
  28. libqt5gui5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  29.               Depends: qtbase-abi-5-11-3
  30.               Recommends: qt5-gtk-platformtheme but it is not installed
  31. libqt5network5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  32.                   Depends: qtbase-abi-5-11-3
  33. libqt5qml5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  34.               Depends: qtbase-abi-5-11-3
  35. libqt5quick5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  36.                 Depends: qtbase-abi-5-11-3
  37. libqt5quickcontrols2-5 : Depends: libqt5core5a (>= 5.11.1+dfsg~) but 5.7.1+dfsg-10deepin is installed
  38.                           Depends: qtbase-abi-5-11-3
  39. libqt5quicktemplates2-5 : Depends: libqt5core5a (>= 5.11.1+dfsg~) but 5.7.1+dfsg-10deepin is installed
  40.                            Depends: qtbase-abi-5-11-3
  41. libqt5quickwidgets5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  42.                        Depends: qtbase-abi-5-11-3
  43. libqt5widgets5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  44.                   Depends: qtbase-abi-5-11-3
  45. libqt5x11extras5 : Depends: libqt5core5a (>= 5.11.3+dfsg~) but 5.7.1+dfsg-10deepin is installed
  46. libqt5xml5 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  47.               Depends: qtbase-abi-5-11-3
  48. python : PreDepends: python-minimal (= 2.7.13-2) but 2.7.16-1 is installed
  49. qml-module-qtgraphicaleffects : Depends: libqt5core5a (>= 5.11.3+dfsg~) but 5.7.1+dfsg-10deepin is installed
  50. qml-module-qtquick-controls : Depends: libqt5core5a (>= 5.11.3+dfsg~) but 5.7.1+dfsg-10deepin is installed
  51.                                Depends: qtbase-abi-5-11-3
  52. qml-module-qtquick-controls2 : Depends: libqt5core5a (>= 5.11.1+dfsg~) but 5.7.1+dfsg-10deepin is installed
  53.                                 Depends: qtbase-abi-5-11-3
  54. qml-module-qtquick-layouts : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  55.                               Depends: qtbase-abi-5-11-3
  56. qml-module-qtquick-templates2 : Depends: libqt5core5a (>= 5.11.1+dfsg~) but 5.7.1+dfsg-10deepin is installed
  57. qml-module-qtquick-window2 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  58. qml-module-qtquick2 : Depends: libqt5core5a (>= 5.11.0~rc1) but 5.7.1+dfsg-10deepin is installed
  59. E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
  60. E: Unable to correct dependencies
Copy the Code
Reply View the author
avatar
jerry79
deepin
2020-04-16 23:18
#4
使用了sudo aptitude,目前正在滚屏中,希望能够OK
Reply View the author
avatar
jingle
deepin
2020-04-16 23:47
#5
安装了什么应用导致的?
Reply View the author
avatar
jerry79
deepin
2020-04-17 00:12
#6
https://bbs.deepin.org/post/191745
安装了什么应用导致的?

不确定,不过现在升级成功了,已经开始使用了
Reply View the author