我已直接从网站下载了Teamvier的最新版本(13),现在有了我的.deb文件。当我双击这个文件并单击“安装包”选项时,它会询问我的sudo密码,但是我得到一个错误 -
请检查您的安装介质并确保您的apt-cache是最新的
我打开终端跑了
sudo apt-get update
然后尝试再次安装,但我收到了同样的错误。为了成功安装此程序,我该怎么办?
EDIT从终端
运行dpkg
命令时出现完全错误
owner@OwnerBackup:~/Downloads$ sudo dpkg -i teamviewer_13.1.8286_i386.deb
(Reading database ... 226294 files and directories currently installed.)
Preparing to unpack teamviewer_13.1.8286_i386.deb ...
Unpacking teamviewer (13.1.8286) over (13.1.8286) ...
dpkg: dependency problems prevent configuration of teamviewer:
teamviewer depends on libqt5x11extras5 (>= 5.2); however:
Package libqt5x11extras5 is not installed.
teamviewer depends on qtdeclarative5-qtquick2-plugin (>= 5.2) | qml-module-qtquick2 (>= 5.2); however:
Package qtdeclarative5-qtquick2-plugin is not installed.
Package qml-module-qtquick2 is not installed.
teamviewer depends on qtdeclarative5-controls-plugin (>= 5.2) | qml-module-qtquick-controls (>= 5.2); however:
Package qtdeclarative5-controls-plugin is not installed.
Package qml-module-qtquick-controls is not installed.
teamviewer depends on qtdeclarative5-dialogs-plugin (>= 5.2) | qml-module-qtquick-dialogs (>= 5.2); however:
Package qtdeclarative5-dialogs-plugin is not installed.
Package qml-module-qtquick-dialogs is not installed.
teamviewer depends on qtdeclarative5-window-plugin (>= 5.2) | qml-module-qtquick-window2 (>= 5.2); however:
Package qtdeclarative5-window-plugin is not installed.
Package qml-module-qtquick-window
dpkg: error processing package teamviewer (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
teamviewer
owner@OwnerBackup:~/Downloads$
而且,你在哪个文件夹中存储了
—
Fanatique
.deb
包?
@Fanatique - .deb文件保存在Downloads文件夹中。如果我运行dpgk命令,我得到一个通用错误'处理时遇到错误'
—
user2676140
这是整个错误吗?如果没有,你可以发布命令的完整输出吗?(将其编辑到您的帖子中)另外,您还可以提及正在运行的Linux Distro和版本。
—
Fanatique
顺便说一下,较新的apt-get可以做到这一点,而不是使用dpkg:apt-get install /path/to/your/teamviewer_13.1.8286_i386.deb,从而一次性解决依赖关系(如果不能,则不安装任何东西)。apt-get必须至少有一个“/”字符才能接受安装.deb文件。
—
AB
sudo dpkg -i <path_to_teamviewer.deb>