0

我刚买了一个新的 VPS(来自OVH - VPS SSD 1 - Debian 7 Wheezy 64bit),我尝试使用Meteor-Up(更确切地说是mupx 版本)在 prod 上部署我的 Meteor 项目。

当我尝试设置时,mupx setup我在安装 Docker 时遇到了一些错误。我尝试在服务器和本地计算机上手动安装 docker。我也尝试使用 sudo 启动 setup 命令,但没有更好的..

任何的想法 ?

Started TaskList: Setup (linux)
[158.69.210.254] - Installing Docker
[158.69.210.254] x Installing Docker: FAILED

        -----------------------------------STDERR-----------------------------------
        opportunity to cancel the
        installation.

        If you installed the current Docker package using this script and are using it
        again to update Docker, you can safely ignore this message.

        You may press Ctrl+C now to abort this script.
        + sleep 20
        + sh -c apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D || apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
        gpg: requesting key 2C52609D from hkp server pool.sks-keyservers.net
        gpg: key 2C52609D: "Docker Release Tool (releasedocker) <docker@docker.com>" not changed
        gpg: Total number processed: 1
        gpg:              unchanged: 1
        + sh -c mkdir -p /etc/apt/sources.list.d
        + dpkg --print-architecture
        + sh -c echo deb [arch=amd64] https://apt.dockerproject.org/repo debian-wheezy main > /etc/apt/sources.list.d/docker.list
        + sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
        E: Unable to correct problems, you have held broken packages.
        -----------------------------------STDOUT-----------------------------------
        an-wheezy/main Translation-en_GB
        Ign https://apt.dockerproject.org debian-wheezy/main Translation-en
        Reading package lists...
        Reading package lists...
        Building dependency tree...
        Reading state information...
        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:
         docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable
                         Recommends: aufs-tools but it is not going to be installed
                         Recommends: cgroupfs-mount but it is not installable or
                                     cgroup-lite but it is not installable
                         Recommends: git but it is not going to be installed
                         Recommends: yubico-piv-tool (>= 1.1.0~) but it is not installable
        ----------------------------------------------------------------------------
4

1 回答 1

1

该错误是因为 Docker 版本无法在 Debian 7 上运行,而只能在 Debian 8 上运行。Si 只需使用 OVH 管理器重新安装 VPS,一切正常!

于 2016-02-22T23:28:16.180 回答