我无法在我的Linux系统上安装Docker Compose。运行安装命令后出现以下错误:
~$ sudo apt-get -f install docker-compose
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:
code : Depends: libnotify4 but it is not going to be installed
Depends: libnss3 but it is not going to be installed
Depends: libxkbfile1 but it is not going to be installed
Depends: libgconf-2-4 but it is not going to be installed
Depends: libsecret-1-0 but it is not going to be installed
docker-compose : Depends: python-cached-property but it is not going to be installed
Depends: python-docker (>= 1.9.0) but it is not going to be installed
Depends: python-dockerpty (>= 0.4.1) but it is not going to be installed
Depends: python-docopt but it is not going to be installed
Depends: python-enum34 but it is not going to be installed
Depends: python-jsonschema but it is not going to be installed
Depends: python-requests (>= 2.6.1) but it is not going to be installed
Depends: python-six (>= 1.3.0) but it is not going to be installed
Depends: python-texttable but it is not going to be installed
Depends: python-websocket but it is not going to be installed
Depends: python-yaml but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
请问有人能帮我吗?我也试过sudo apt-get clean,但没有用。
sudo apt-get -f install
而不带任何软件包 :) - Alejandro Galera