Ask Your Question

Revision history [back]

The important part of the stack trace is this error:

ImportError: No module named lzma

It indicates that the python-backports-lzma package is not installed, which probably means the creator of the docker-registry package missed listing it as a dependency. You can find it here for CentOS:

  • http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/python-backports-lzma.html

To install it directly from this location:

# yum localinstall http://dl.fedoraproject.org/pub/epel/6/x86_64/python-backports-lzma-0.0.2-5.el6.x86_64.rpm

The important part of the stack trace is this error:

ImportError: No module named lzma

It indicates that the python-backports-lzma package is not installed, which probably means the creator of the docker-registry package missed listing it as a dependency. dependency (worth reporting). You can find it here in EPEL for CentOS:RHEL/CentOS 6:

  • http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/python-backports-lzma.html

To install it directly from this location:

# yum localinstall http://dl.fedoraproject.org/pub/epel/6/x86_64/python-backports-lzma-0.0.2-5.el6.x86_64.rpm

For Fedora 20 it's in the normal updates repository:

# yum install python-backports-lzma

The important part of the stack trace is this error:

  File "/usr/lib/python2.6/site-packages/docker-registry/lib/layers.py", line 4, in <module> import backports.lzma as lzma
ImportError: No module named lzma

It indicates that the python-backports-lzma package is not installed, which probably means the creator of the docker-registry package missed listing it as a dependency (worth reporting). You can find it in EPEL for RHEL/CentOS 6:

  • http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/python-backports-lzma.html

To install it directly from this location:

# yum localinstall http://dl.fedoraproject.org/pub/epel/6/x86_64/python-backports-lzma-0.0.2-5.el6.x86_64.rpm

For Fedora 20 it's in the normal updates repository:

# yum install python-backports-lzma