我最近从我的 Ubuntu 中卸载了 Microsoft 团队。此后,每当我安装任何其他应用程序时,我都会收到以下消息 - 我不是 Unix 专家,这里的任何帮助将非常感激。
The following packages have unmet dependencies:
teams : Depends: libgtk-3-0 (>= 3.19.12) but 3.18.9-1ubuntu3.3 is installed
E: Unmet dependencies. Try using -f.
我尝试了以下命令但没有成功。
sudo apt-get clean
我尝试了下面的命令
sudo apt-get install --dry-run
而o/p是-
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:
teams : Depends: libgtk-3-0 (>= 3.19.12) but 3.18.9-1ubuntu3.3 is installed
E: Unmet dependencies. Try using -f.
无论我尝试安装什么,我都会收到相同的消息。
我使用的是Ubuntu 16
按照建议我运行了命令
sudo apt-get -f install
并得到以下输出
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gimp-data gimp-help-common gimp-help-en gyp javascript-common libamd2.4.1 libappindicator1 libbabl-0.1-0 libcamd2.4.1 libccolamd2.9.1
libcholmod3.0.6 libevent-core-2.0-5 libgegl-0.3-0 libgimp2.0 libindicator7 libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore
libsdl1.2debian libssl-dev libssl-doc libumfpack5.7.1 libuv1 libuv1-dev linux-headers-4.15.0-122 linux-headers-4.15.0-122-generic
linux-headers-4.15.0-123 linux-headers-4.15.0-123-generic linux-headers-4.15.0-126 linux-headers-4.15.0-126-generic linux-image-4.15.0-122-generic
linux-image-4.15.0-123-generic linux-image-4.15.0-126-generic linux-modules-4.15.0-122-generic linux-modules-4.15.0-123-generic
linux-modules-4.15.0-126-generic linux-modules-extra-4.15.0-122-generic linux-modules-extra-4.15.0-123-generic
linux-modules-extra-4.15.0-126-generic mypaint-data python-cairo python-gi python-gi-cairo python-gobject-2 python-gtk2 python-numpy
python-pkg-resources snapd-login-service ubuntu-advantage-tools zlib1g-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
teams
0 upgraded, 0 newly installed, 1 to remove and 110 not upgraded.
1 not fully installed or removed.
After this operation, 297 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 369322 files and directories currently installed.)
Removing teams (1.4.00.13653) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...