So I tried to reinstall it, but then I found that the repo I used the last time was removed (https://github.com/mpratt/environment-c ... lds/docker -- mentioned in https://www.linuxquestions.org/question ... 175587202/).
Then I tried to install the old version using spi, but it fails:
Code: Select all
spi -i docker
---> Making bundle: dynbinary (in bundles/17.09.0-ce/dynbinary)
Building: bundles/17.09.0-ce/dynbinary-daemon/dockerd-17.09.0-ce
../../build/src/github.com/docker/docker/daemon/logger/gcplogs/gcplogging.go:11:2: cannot find package "cloud.google.com/go/compute/metadata" in any of:
/usr/src/cloud.google.com/go/compute/metadata (from $GOROOT)
/usr/src/slapt-src/system/docker/docker-ce-17.09.0-ce/build/src/cloud.google.com/go/compute/metadata (from $GOPATH)
../../build/src/github.com/docker/docker/daemon/logger/gcplogs/gcplogging.go:12:2: cannot find package "cloud.google.com/go/logging" in any of:
/usr/src/cloud.google.com/go/logging (from $GOROOT)
/usr/src/slapt-src/system/docker/docker-ce-17.09.0-ce/build/src/cloud.google.com/go/logging (from $GOPATH)
../../build/src/github.com/docker/docker/cmd/dockerd/daemon.go:4:2: cannot find package "context" in any of:
/usr/src/context (from $GOROOT)
/usr/src/slapt-src/system/docker/docker-ce-17.09.0-ce/build/src/context (from $GOPATH)
(...)
/usr/src/slapt-src/system/docker/docker-ce-17.09.0-ce/build/src/google.golang.org/grpc/grpclog (from $GOPATH)
../../build/src/github.com/docker/docker/libcontainerd/remote_unix.go:30:2: cannot find package "google.golang.org/grpc/health/grpc_health_v1" in any of:
/usr/src/google.golang.org/grpc/health/grpc_health_v1 (from $GOROOT)
/usr/src/slapt-src/system/docker/docker-ce-17.09.0-ce/build/src/google.golang.org/grpc/health/grpc_health_v1 (from $GOPATH)
../../build/src/github.com/docker/docker/libcontainerd/remote_unix.go:31:2: cannot find package "google.golang.org/grpc/transport" in any of:
/usr/src/google.golang.org/grpc/transport (from $GOROOT)
/usr/src/slapt-src/system/docker/docker-ce-17.09.0-ce/build/src/google.golang.org/grpc/transport (from $GOPATH)
fakeroot -- sh docker.SlackBuild Failed
Code: Select all
spi -i google-go-lang
But those slackbuilds doesn't show in slapt-src, and installing them manually is cumbersome, so I intended to update my slapt-srcrc. But I found that it is not recomended (viewtopic.php?f=12&t=6880&p=43088&hilit ... crc#p43088):I would try:
- removing google-go-lang from your system;
- rebuild and reinstall google-go-lang from SBo;
- logout from root;
- relogin as root or become root with "su -" (note the space and the dash after the su command);
- from the just opened root shell build and install from SBo in this order: tini, docker-proxy, libseccomp, runc, containerd and docker.
these steps worked fine on a slackware64-14.2 full and up-to-date installation.
So, any ideas on how should I proceed? Is there an easier way to install a recent docker version?No. Definitely do not do that. You should not add the slackbuilds.org source, unless you really know what you're doing.
Thanks in advance