随笔 - 1762  文章 - 0  评论 - 109  阅读 - 431万

ubuntu安装teamviewer,缺少依赖处理

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

$ sudo dpkg -i teamviewer_15.7.6_amd64.deb

 

但是报错,缺少部分依赖

$ 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


用-f修复一下

$ sudo  apt-get install -f

apt-get -f install=apt-get install -f ,是修复依赖关系(depends)的命令,就是假如你的系统上有某个package不满足依赖条件,这个命令就会自动修复,安装那个package依赖的package。

然后再执行:

$ sudo dpkg -i teamviewer_15.7.6_amd64.deb

 

大功告成

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

posted on   一杯明月  阅读(1121)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
历史上的今天:
2020-05-10 对原始数据进行中心化
2019-05-10 matlab画折线
< 2025年3月 >
23 24 25 26 27 28 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 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示