ubuntu安装teamviewer,缺少依赖处理

Unbuntu teamviewer 安装
百度搜索teamviewer下载下来对应的安装包
用以下命令安装

$ dpkg -i teamviewer_15.7.6_amd64.deb

    1

但是报错,缺少部分依赖

$ dpkg -i teamviewer_15.7.6_amd64.deb
(Reading database ... 217419 files and directories currently installed.)
Preparing to unpack teamviewer_14.0.12762_amd64.deb ...
Unpacking teamviewer (14.0.12762) over (14.0.12762) ...
dpkg: dependency problems prevent configuration of teamviewer:
 teamviewer depends on libqt5x11extras5 (>= 5.5) | qt56-teamviewer; however:
  Package libqt5x11extras5 is not installed.
  Package qt56-teamviewer is not installed.
 teamviewer depends on qml-module-qtquick-controls (>= 5.5) | qt56-teamviewer; however:
  Package qml-module-qtquick-controls is not installed.
  Package qt56-teamviewer is not installed.
 teamviewer depends on qml-module-qtquick-dialogs (>= 5.5) | qt56-teamviewer; however:
  Package qml-module-qtquick-dialogs is not installed.
  Package qt56-teamviewer is not installed.

dpkg: error processing package teamviewer (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Errors were encountered while processing:
 teamviewer

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26

用-f修复一下

$ sudo  apt-get install teamviewer
$ sudo  apt-get install -f

    1
    2

大功告成

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.15.0-58 linux-headers-4.15.0-58-generic
  linux-headers-4.4.0-169 linux-headers-4.4.0-169-generic
  linux-image-4.15.0-58-generic linux-image-4.4.0-169-generic
  linux-modules-4.15.0-58-generic linux-modules-4.4.0-169-generic
  linux-modules-extra-4.15.0-58-generic linux-modules-extra-4.4.0-169-generic
  ros-kinetic-moveit-experimental snapd-login-service
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  qml-module-qtquick-controls qml-module-qtquick-dialogs
  qml-module-qtquick-privatewidgets
The following NEW packages will be installed:
  qml-module-qtquick-controls qml-module-qtquick-dialogs
  qml-module-qtquick-privatewidgets
0 upgraded, 3 newly installed, 0 to remove and 54 not upgraded.
1 not fully installed or removed.
Need to get 771 kB of archives.
After this operation, 3,439 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.aliyun.com/ubuntu xenial/main amd64 qml-module-qtquick-controls amd64 5.5.1-1ubuntu1 [643 kB]
Get:2 http://mirrors.aliyun.com/ubuntu xenial/main amd64 qml-module-qtquick-privatewidgets amd64 5.5.1-1ubuntu1 [38.9 kB]
Get:3 http://mirrors.aliyun.com/ubuntu xenial/main amd64 qml-module-qtquick-dialogs amd64 5.5.1-1ubuntu1 [89.0 kB]
Fetched 771 kB in 1s (474 kB/s)                    
Selecting previously unselected package qml-module-qtquick-controls:amd64.
(Reading database ... 501974 files and directories currently installed.)
Preparing to unpack .../qml-module-qtquick-controls_5.5.1-1ubuntu1_amd64.deb ...
Unpacking qml-module-qtquick-controls:amd64 (5.5.1-1ubuntu1) ...
Selecting previously unselected package qml-module-qtquick-privatewidgets:amd64.
Preparing to unpack .../qml-module-qtquick-privatewidgets_5.5.1-1ubuntu1_amd64.deb ...
Unpacking qml-module-qtquick-privatewidgets:amd64 (5.5.1-1ubuntu1) ...
Selecting previously unselected package qml-module-qtquick-dialogs:amd64.
Preparing to unpack .../qml-module-qtquick-dialogs_5.5.1-1ubuntu1_amd64.deb ...
Unpacking qml-module-qtquick-dialogs:amd64 (5.5.1-1ubuntu1) ...
Setting up qml-module-qtquick-controls:amd64 (5.5.1-1ubuntu1) ...
Setting up qml-module-qtquick-privatewidgets:amd64 (5.5.1-1ubuntu1) ...
Setting up qml-module-qtquick-dialogs:amd64 (5.5.1-1ubuntu1) ...
Setting up teamviewer (15.7.6) ...


————————————————
版权声明:本文为CSDN博主「Cc 」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_43658047/article/details/107233112

原文地址:https://www.cnblogs.com/yibeimingyue/p/14751776.html