Ask your questions here.
Post a reply

Install docker on refracta

Fri May 05, 2017 4:37 pm

Hi, has anyone managed to install docker on Refracta? I'm on the 64-bit Debian Jessie version.

When I run the following command:

sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"

I get the error:

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Refracta/jessie

If I try to install it any other way, I get the error:

docker-engine : Depends: libsystemd0 but it is not installable

Thanks, strats

Re: Install docker on refracta

Sat May 06, 2017 7:59 am

Yes, as it showed, Docker requires systemd.
Refracta is a systemd-free distro, so attempting install Docker is like... trying to put a square hole into a round stone?

Re: Install docker on refracta

Sat May 06, 2017 10:27 am

Looks like it only requires libsystemd0. You can remove /etc/apt/preferences.d/00nosystemd and try again. You'll still have /etc/apt/preferences.d/avoid-systemd, which is the default pinning in devuan. Refracta's pin is more strict.

And yet, I can install docker on refracta without changing the pinning and without installing libsystemd0, but I didn't add the docker repo. I installed from devuan repos only.
Code:
apt-cache policy docker
docker:
  Installed: 1.5-1
  Candidate: 1.5-1
  Version table:
     1.5-1+b1 0
         90 http://us.mirror.devuan.org/merged/ ascii/main amd64 Packages
*** 1.5-1 0
        500 http://auto.mirror.devuan.org/merged/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
Post a reply