使用Meteor-Up和Debian 7喘息的“安装Docker:FAILED”错误

时间:2016-02-22 22:50:03

标签: meteor docker meteor-up ovh

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

当我尝试设置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
        ----------------------------------------------------------------------------

1 个答案:

答案 0 :(得分:1)

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