尝试安装 TeamViewer 时出现“teamviewer 依赖于 (...)”

Tek*_*ikk 16 dependencies teamviewer

我最近在我的服务器上安装了 Ubuntu,我想安装 TeamViewer 以便我可以轻松管理虚拟机,但是,从 App Store 安装时出现错误?,我也出现错误,但在终端上更详细。

错误输出:

tek@tek-G53SW:~/Download$ sudo dpkg -i ipts teamviewer_linux_x64.deb
dpkg: error processing ipts (--install):
 cannot access archive: No such file or directory
(Reading database ... 142115 files and directories currently installed.)
Preparing to replace teamviewer7 7.0.9360 (using teamviewer_linux_x64.deb) ...
Unpacking replacement teamviewer7 ...
dpkg: dependency problems prevent configuration of teamviewer7:
 teamviewer7 depends on libc6-i386 (>= 2.7); however:
  Package libc6-i386 is not installed.
 teamviewer7 depends on lib32asound2; however:
  Package lib32asound2 is not installed.
 teamviewer7 depends on lib32z1; however:
  Package lib32z1 is not installed.
 teamviewer7 depends on ia32-libs; however:
  Package ia32-libs is not installed.
dpkg: error processing teamviewer7 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ipts
 teamviewer7
Run Code Online (Sandbox Code Playgroud)

我尝试手动安装它,但没有运气,我听说其他一些人有这个问题。我正在运行 Ubuntu 12.04 x64。


错误@ sudo apt-get install libc6-i386 lib32asound2 lib32z1 ia32-libs :

tek@tek-G53SW:~/Download$ sudo apt-get install libc6-i386 lib32asound2 lib32z1 ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 ia32-libs : Depends: ia32-libs-multiarch
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
tek@tek-G53SW:~/Download$
Run Code Online (Sandbox Code Playgroud)


更多错误

tek@tek-G53SW:~/Download$ sudo apt-get -f install
[sudo] password for tek:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  teamviewer7
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 81.9 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 142441 files and directories currently installed.)
Removing teamviewer7 ...
tek@tek-G53SW:~/Download$ sudo apt-get install libc6-i386 lib32asound2 lib32z1 ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
lib32z1 is already the newest version.
libc6-i386 is already the newest version.
lib32asound2 is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ia32-libs : Depends: ia32-libs-multiarch
E: Unable to correct problems, you have held broken packages.
tek@tek-G53SW:~/Download$ sudo apt-get install ia32-libs-multiarch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ia32-libs-multiarch:i386 : Depends: gstreamer0.10-plugins-good:i386 but it is not going to be installed
                            Depends: gtk2-engines:i386 but it is not going to be installed
                            Depends: gtk2-engines-murrine:i386 but it is not going to be installed
                            Depends: gtk2-engines-pixbuf:i386 but it is not going to be installed
                            Depends: gtk2-engines-oxygen:i386 but it is not going to be installed
                            Depends: ibus-gtk:i386 but it is not going to be installed
                            Depends: libcanberra-gtk-module:i386 but it is not going to be installed
                            Depends: libcups2:i386 but it is not going to be installed
                            Depends: libcupsimage2:i386 but it is not going to be installed
                            Depends: libfontconfig1:i386 but it is not going to be installed
                            Depends: libgail-common:i386 but it is not going to be installed
                            Depends: libgphoto2-2:i386 but it is not going to be installed
                            Depends: libgtk2.0-0:i386 but it is not going to be installed
                            Depends: libnss3:i386 but it is not going to be installed
                            Depends: libqt4-opengl:i386 but it is not going to be installed
                            Depends: libqt4-qt3support:i386 but it is not going to be installed
                            Depends: libqt4-scripttools:i386 but it is not going to be installed
                            Depends: libqt4-svg:i386 but it is not going to be installed
                            Depends: libqtgui4:i386 but it is not going to be installed
                            Depends: libqtwebkit4:i386 but it is not going to be installed
                            Depends: librsvg2-common:i386 but it is not going to be installed
                            Depends: libsane:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
tek@tek-G53SW:~/Download$
Run Code Online (Sandbox Code Playgroud)

nan*_*rad 21

从说“替换”的行看来,TeamViewer 似乎已经安装。

如果不是,请运行(在终端中):

sudo apt-get -f install
Run Code Online (Sandbox Code Playgroud)

进而

sudo apt-get install libc6-i386 lib32asound2 lib32z1 ia32-libs
Run Code Online (Sandbox Code Playgroud)

并尝试安装 .deb

sudo dpkg -i teamviewer_linux_x64.deb
Run Code Online (Sandbox Code Playgroud)

如果没有任何效果,并且只有在没有任何效果的情况下,您可以强制安装,但您很可能会BREAK APT

sudo dpkg --force-depends -i teamviewer_linux_x64.deb
Run Code Online (Sandbox Code Playgroud)

请注意,这远非理想


sco*_*r73 5

这是在 TeamViewer 网站上。

Multiarch 说明:在支持 Multiarch 的较新 64 位 DEB 系统(Debian 7)上无法安装 teamviewer_linux_x64.deb,因为这些系统上不再提供 ia32-libs 包。在这种情况下,您可以改用 teamviewer_linux.deb。

如果您收到错误“错误的架构 i386 ”,您必须执行以下命令行:

dpkg --add-architecture i386

apt-get update
Run Code Online (Sandbox Code Playgroud)

更多信息:http : //wiki.debian.org/Multiarch/HOWTO