Ubuntu

無法在 Ubuntu 上安裝 Teams

  • April 5, 2022

當我嘗試通過命令在我的 Ubuntu 16 筆記型電腦上安裝 Teams

sudo apt-get install teams

我收到以下錯誤

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:
teams : Depends: libgtk-3-0 (>= 3.19.12) but 3.18.9-1ubuntu3.3 is to be installed
E: Unable to correct problems, you have held broken packages.

您可以teamsflathub安裝:

sudo apt install flatpak
flatpak install flathub com.microsoft.Teams

通過 snap

sudo snap install teams

在 Ubuntu 16.04 Flatpak 可以通過以下方式安裝:

sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update 
sudo apt install flatpak

或來自“Flatpak”團隊 ppa:

sudo add-apt-repository ppa:flatpak/stable

引用自:https://unix.stackexchange.com/questions/672864