![]() RuntimeError: Compression requires the (missing) zlib moduleĪlso when i try to use setuptools 2.7. "Compression requires the (missing) zlib module" Z = zipfile.ZipFile(zip_filename, mode, compression=compression)įile "/usr/local/lib/python2.7/zipfile.py", line 651, in _init_ There are coupe of issues we see when using docker run -rm -nethost -it. redirects standard error, not input and overwrites target file. We use opensciencegrid/osg-wn:3.4-el6 to build cmssw/cms:rhel6 docker containers. This is the exact error: Traceback (most recent call last):įile "/usr/local/lib/python2.7/distutils/core.py", line 152, in setupįile "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commandsįile "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_commandįile "/home/rohan/setuptools-0.6c11/setuptools/command/install.py", line 76, in runįile "/home/rohan/setuptools-0.6c11/setuptools/command/install.py", line 96, in do_egg_installįile "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_commandįile "/home/rohan/setuptools-0.6c11/setuptools/command/bdist_egg.py", line 236, in runĭry_run=self.dry_run, mode=self.gen_header())įile "/home/rohan/setuptools-0.6c11/setuptools/command/bdist_egg.py", line 527, in make_zipfile The qualifier to tar causes it to use xz compression when creating an archive. You can also read, more server guides and resources.I have compiled and installed python 2.7 on my ubuntu lucid.īut I am unable to install setuptools for python 2.7 because the data decompression module zlib is not present. Now, you can install correct repo if you want using command, yum install epel-release Refresh and rebuild the repo information update yum ![]() It displays the error if the given file is not a valid. You might also need to clear and refresh the cache, rm -rf /var/cache/yum/x86_64/6/epelĦ. There are several tools that you can use to compress files in Linux such as gzip, 7zip. Remove the cached files for epel under /var/cache/yum/epel 3. cd /var/cache/yum/epel/Īnd then delete the exact repo with filename using ‘rm’ rm filename.repoĤ. So, you can navigate to repo directory by. With typical files, XZ Utils create 30 smaller output. There is a good chance that you will need to be specific many times. The primary compression algorithm is currently LZMA2, which is used inside the. When I try and install the i686 dependencies I now get the following: rootMYSERVER / yum install alsa-lib.i686 fontconfig.i686 freetype.i686 \glib2.i686 libSM.i686. In the process of trying to fix the dependency issue I managed to create another issue for myself. Remove wrong epel-release by using following command, yum remove epel-releaseģ. I'm running redhat enterprise v6.6 64bit and am tyring to install 32bit Skype. ![]() Login to your server using root or sudo.Ģ. Steps to fix xz compression not availableġ. See below commands for step by step guidance. You will need to remove the wrongly installed epel-release-7 and then reinstall the correct one for CentOS 6. How to fix xz compression not available issue? If you are on CentOS 6.x and mistakenly installed epel-release-7 package which is supposed to be for CentOS 7.1 then you will see this error with every YUM command including YUM Update. However, the most common is to due to installation of wrong epel-release package. Xz compression not available is a typical error which means that you have a broken YUM. Centos, server and domain What is xz compression not available?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |