Я пытаюсь установить команды Microsoft на рабочий стол ubuntu 14.04. Мне не удалось разрешить неудовлетворенные зависимости. Synaptic показывает libgbm версии 10.1.3-0ubuntu0.6 и libgtk-3-0 версии 3.10.8-0ubuntu1.6 в качестве последних версий, установленных на моем компьютере. Установка из пакета .deb показывает то же самое. Я уже запускал apt-update
и apt-upgrade
. Я рассмотрел и другие связанные вопросы. Кажется, ничего не работает.
ubuntu:~$ sudo apt -f install teams
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
ubuntu:~$ sudo apt -f 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: libgbm1 (>= 17.1.0~rc2) but 10.1.3-0ubuntu0.6 is to be installed
Depends: libgtk-3-0 (>= 3.19.12) but 3.10.8-0ubuntu1.6 is to be installed
E: Unable to correct problems, you have held broken packages.
simran:~$ sudo dpkg -i ./Downloads/teams_1.4.00.13653_amd64.deb
[sudo] password for simran:
Selecting previously unselected package teams.
(Reading database ... 412252 files and directories currently installed.)
Preparing to unpack .../teams_1.4.00.13653_amd64.deb ...
Unpacking teams (1.4.00.13653) ...
dpkg: dependency problems prevent configuration of teams:
teams depends on libgbm1 (>= 17.1.0~rc2); however:
Version of libgbm1:amd64 on system is 10.1.3-0ubuntu0.6.
teams depends on libgtk-3-0 (>= 3.19.12); however:
Version of libgtk-3-0:amd64 on system is 3.10.8-0ubuntu1.6.
dpkg: error processing package teams (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Errors were encountered while processing:
teams
Хотя срок службы 14.04 подшел к концу, и вы должны обновиться, вы все равно можете установить Microsoft Teams в виде пакета snap.
sudo apt-get update
sudo apt-get install snapd
sudo snap install teams
В случае, если apt
не работает, см. этот вопрос для настройки репозиториев в неподдерживаемой версии Ubuntu.