![]() ![]() Is there some trick to fix it or is EPEL7 unsupported in SUSE Manager 2.1? I only found this thread getting EPEL 7 working on Spacewalk 2.1, but I couldn’t find a matching pyliblzma package. _decompress_chunked(filename, out, ztype)įile "/usr/lib64/python2.6/site-packages/yum/misc.py", line 742, in _decompress_chunked solution: so, through the following three steps, delete the 7 version of EPEL, and then install the appropriate version of epel6: 1. Return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())įile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1418, in _groupLoadRepoXMLįile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1402, in _commonRetrieveDataMDįile "/usr/lib64/python2.6/site-packages/yum/misc.py", line 1096, in decompress RepoXML = property(fget=lambda self: self._getRepoXML(),įile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1452, in _getRepoXMLįile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1442, in _loadRepoXML If 'primary' in :įile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1461, in Self.updateChannelChecksumType(plugin.get_md_checksum_type())įile "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py", line 189, ![]() var/log/rhn/reposync/epel7-x86_64.log hasįile "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/reposync.py", line 173, in sync I added the channel and repository as usual, but syncing fails because of xz compression. around the problem Found 41 pre-existing rpmdb problem(s), yum check. ![]() Clear the Yum cache Remove all cached epel files from Yum rm -rf /var/cache/yum/XXX/XXX/epel Replace the XXX with your architecture and CentOS version. We have Suse Manager Expanded Support for Red Hat / CentOS support. I did this on a CentOS 6 server, but it looks like the procedure is the same. Remove EPEL packages First the incompatible package needs to be removed by: yum remove epel-release 2. # build the SRPM from the spec and sources # we're just building a SRPM so we can ignore dependencies echo "Rebuilding SRPM." NEW_SRPM = `rpmbuild -bs -nodeps -macros = $ TEMPDIR/.rpmmacros $ TEMPDIR/rpm/ SOURCES/*.I’m trying to add an EPEL7 channel in SUSE Manager 2.1 for CentOS 7 hosts that I’ll maintain. ![]() dpkg-deb: work around bogus error message when working with XZ compressed. Mkdir -p rpm rpm/ BUILD rpm/ RPMS rpm/ SOURCES rpm/ SPECS rpm/ SRPMS rpm/ RPMS/athlon rpm/ RPMS/i \ 86 rpm/ RPMS/i386 rpm/ RPMS/noarch rpm/ RPMS/x86_64Įcho "%_topdir $ TEMPDIR /rpm" > ~/.rpmmacrosĮcho "Extracting SRPM." pushd $ TEMPDIR/rpm/ SOURCES/ &>/dev/null the machine tls: server cert is not RSA is a fatal error tls: replace. " # copy srpm into tempdirĬp $ SRPM $ TEMPDIR pushd $ TEMPDIR &>/dev/null (sudo yum install rpm)" exit 1 fi SRPM = `dirname " $1 " ` "/" `basename " $1 " ` TEMPDIR = `mktemp -d ` STARTPWD = ` pwd ` echo "Rebuilding $ SRPM. (sudo yum install rpm-build)" exit 1 fi if ! which rpm2cpio &> /dev/null #!/bin/bash # Script to rebuild a SRPM 1:1, useful when you want to build a RHEL/CentOS 6 # SRPM on a RHEL/CentOS 5 system that doesn't support newer compression (cpio: MD5 sum mismatch) # by Jason Antman # The latest version of this script will always live at: # if ] then echo " USAGE: rebuild_srpm.sh " exit 1 fi if ] then OUTDIR = ` pwd ` else OUTDIR = " $2 " fi if ] then echo " ERROR: SRPM file not found: $1 " exit 1 fi if ! which rpmbuild &> /dev/null ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |