我想在 Linux 64 位系统上安装 TeamViewer。
我所做的就是下载teamviewer.deb 文件并按如下方式安装:
sudo dpkg -i install teamviewer.deb
然后我想纠正依赖性问题因此我发出了以下命令:
sudo apt-get install libc6:i386 libgcc1:i386 libasound2:i386 libfreetype6:i386 zlib1g:i386 libsm6:i386 libxdamage1:i386 libxext6:i386 libxfixes3:i386 libxrender1:i386 libxtst6:i386
我收到以下错误:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
然后我尝试:
sudo apt-get install -f
我再次收到以下错误:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
即使我尝试安装gdebi
,但再次出现上述错误。
我清空了档案文件夹:
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
我再次遇到安装 deb 包的问题。我现在能做些什么来解决这个问题吗?
我也阅读了下面的文章:
使用 64 位系统安装了 Teamviewer,但出现依赖性错误
编辑:
我发现libperl5.14:amd64
包装破损。我使用:
sudo apt-get remove libperl5.14:amd64
我收到以下消息:
E: Unable to locate package Broken
这是我的整个 apt.log 文件。我发现了更多破损的包裹。我做了同样的事情,也收到了同样的消息。
编辑2:
我尝试通过软件中心安装 teamviewer_linux.deb,我发现了修复按钮,我单击了它,但再次出现以下错误:
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
即使删除软件包并通过软件中心安装后,我仍然收到以下错误:
Can not install 'libfreetype6:i386'
编辑3:
sources.list 会影响安装 deb 包的过程吗?这是我唯一怀疑的事情!
编辑4:
当我输入之后,sudo apt-get install -f
我收到以下消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded
编辑5:
输出sudo dpkg -i teamviewer_linux.deb
:
dpkg: error processing package teamviewer (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
teamviewer
答案1
尝试这个
dpkg --add-architecture i386
sudo apt-get update
wget http://www.teamviewer.com/download/teamviewer_linux.deb
sudo dpkg -i teamviewer_linux.deb
sudo apt-get install -f
答案2
双击 .deb 文件,teamviewer_linux.deb
等待软件中心打开。从那里,您可以毫无问题地安装 Teamviewer 9。
答案3
看一看在这个链接. 这可能会有帮助。
/var/log/dist-upgrade/apt.log
在文本编辑器中打开日志文件。找到所有“损坏”的软件包,然后使用 将其删除sudo apt-get remove <package>
。