无法安装 TeamViewer

无法安装 TeamViewer

尝试在 Pi 4 上的 Ubuntu 21.10 上安装 TeamViewer。

尝试通过 Ubuntu 软件进行安装,但收到一条消息,提示由于未满足依赖关系而无法安装。

下载并尝试通过终端安装,我得到了这个

$ sudo apt install ./teamviewer_amd64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'teamviewer:amd64' instead of './teamviewer_amd64.deb'
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:
 teamviewer:amd64 : Depends: libc6:amd64 (>= 2.17) but it is not installable
                    Depends: libdbus-1-3:amd64 but it is not installable
                    Depends: libexpat1:amd64 but it is not installable
                    Depends: libfontconfig1:amd64 but it is not installable
                    Depends: libfreetype6:amd64 but it is not installable
                    Depends: libglib2.0-0:amd64 but it is not installable
                    Depends: libgl1:amd64 but it is not installable
                    Depends: libice6:amd64 but it is not installable
                    Depends: libminizip1:amd64 but it is not installable
                    Depends: libnspr4:amd64 but it is not installable
                    Depends: libnss3:amd64 but it is not installable
                    Depends: libsm6:amd64 but it is not installable
                    Depends: libx11-6:amd64 but it is not installable
                    Depends: libx11-xcb1:amd64 but it is not installable
                    Depends: libxcb1:amd64 but it is not installable
                    Depends: libxcb-glx0:amd64 but it is not installable
                    Depends: libxcb-icccm4:amd64 but it is not installable
                    Depends: libxcb-image0:amd64 but it is not installable
                    Depends: libxcb-keysyms1:amd64 but it is not installable
                    Depends: libxcb-randr0:amd64 but it is not installable
                    Depends: libxcb-render0:amd64 but it is not installable
                    Depends: libxcb-render-util0:amd64 but it is not installable
                    Depends: libxcb-shape0:amd64 but it is not installable
                    Depends: libxcb-shm0:amd64 but it is not installable
                    Depends: libxcb-sync1:amd64 but it is not installable
                    Depends: libxcb-xfixes0:amd64 but it is not installable
                    Depends: libxcb-xinerama0:amd64 but it is not installable
                    Depends: libxcb-xkb1:amd64 but it is not installable
                    Depends: libxcomposite1:amd64 but it is not installable
                    Depends: libxcursor1:amd64 but it is not installable
                    Depends: libxdamage1:amd64 but it is not installable
                    Depends: libxext6:amd64 but it is not installable
                    Depends: libxfixes3:amd64 but it is not installable
                    Depends: libxi6:amd64 but it is not installable
                    Depends: libxkbcommon0:amd64 but it is not installable
                    Depends: libxkbcommon-x11-0:amd64 but it is not installable
                    Depends: libxrandr2:amd64 but it is not installable
                    Depends: libxrender1:amd64 but it is not installable
                    Depends: libxss1:amd64 but it is not installable
                    Depends: libxtst6:amd64 but it is not installable
                    Depends: zlib1g:amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.

尝试了 Raspberry Pi 版本并得到以下结果:

$ sudo apt install ./teamviewer-host_armhf.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'teamviewer-host:armhf' instead of './teamviewer-host_armhf.deb'
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:
 teamviewer-host:armhf : Depends: libc6:armhf (>= 2.17) but it is not installable
                         Depends: libdbus-1-3:armhf but it is not installable
                         Depends: libexpat1:armhf but it is not installable
                         Depends: libfontconfig1:armhf but it is not installable
                         Depends: libfreetype6:armhf but it is not installable
                         Depends: libglib2.0-0:armhf but it is not installable
                         Depends: libgl1:armhf but it is not installable
                         Depends: libice6:armhf but it is not installable
                         Depends: libminizip1:armhf but it is not installable
                         Depends: libnspr4:armhf but it is not installable
                         Depends: libnss3:armhf but it is not installable
                         Depends: libsm6:armhf but it is not installable
                         Depends: libx11-6:armhf but it is not installable
                         Depends: libx11-xcb1:armhf but it is not installable
                         Depends: libxcb1:armhf but it is not installable
                         Depends: libxcb-glx0:armhf but it is not installable
                         Depends: libxcb-icccm4:armhf but it is not installable
                         Depends: libxcb-image0:armhf but it is not installable
                         Depends: libxcb-keysyms1:armhf but it is not installable
                         Depends: libxcb-randr0:armhf but it is not installable
                         Depends: libxcb-render0:armhf but it is not installable
                         Depends: libxcb-render-util0:armhf but it is not installable
                         Depends: libxcb-shape0:armhf but it is not installable
                         Depends: libxcb-shm0:armhf but it is not installable
                         Depends: libxcb-sync1:armhf but it is not installable
                         Depends: libxcb-xfixes0:armhf but it is not installable
                         Depends: libxcb-xinerama0:armhf but it is not installable
                         Depends: libxcb-xkb1:armhf but it is not installable
                         Depends: libxcomposite1:armhf but it is not installable
                         Depends: libxcursor1:armhf but it is not installable
                         Depends: libxdamage1:armhf but it is not installable
                         Depends: libxext6:armhf but it is not installable
                         Depends: libxfixes3:armhf but it is not installable
                         Depends: libxi6:armhf but it is not installable
                         Depends: libxkbcommon0:armhf but it is not installable
                         Depends: libxkbcommon-x11-0:armhf but it is not installable
                         Depends: libxrandr2:armhf but it is not installable
                         Depends: libxrender1:armhf but it is not installable
                         Depends: libxss1:armhf but it is not installable
                         Depends: libxtst6:armhf but it is not installable
                         Depends: zlib1g:armhf but it is not installable
E: Unable to correct problems, you have held broken packages.

我尝试安装一些软件包,但它们似乎已经安装好了,而且我检查过,似乎也没有保留的软件包。

还跑了

sudo apt-get -f install

但这并没有起到任何帮助

答案1

看来你的 RPi 使用arm64/一个arch64(不是臂丛当然不是amd64/x86_64)发行版,因此你需要使用TeamViewer 主机对于此架构:

cd ~/Downloads
wget -c https://download.teamviewer.com/download/linux/teamviewer-host_arm64.deb
sudo apt-get install ./teamviewer-host_arm64.deb

答案2

您的输出显示了两个问题:

  1. Pi4 使用与不同的架构amd64

    • 您指定的特定于 amd64 的软件包(teamviewer_amd64.deb)无法安装在非 amd64 系统上。
    • 对于 Raspberry Pi,请使用 Pi 特定的 Teamviewer 包。
  2. Ubuntu 20.10 不再受支持,并且其存储库已被撤回。

    • 迁移到受支持的 Ubuntu 版本:18.04 LTS(直到 2023 年 7 月)、20.04 LTS(直到 2025 年 7 月)、21.04(直到 2022 年 1 月)或 21.10(直到 2022 年 7 月)

相关内容