Hide Forgot
Description of problem: Yum on el5 is unable to open .sqlite files compressed with gz. This bz requests that the default compression type of .sqlite files reverts to .bz2 to allow older clients to function. Version-Release number of selected component (if applicable): createrepo-0.9.9-9.fc16.noarch How reproducible: Always Steps to Reproduce: 1. On f16: run "createrepo ." 2. Expose repo to a el5 client 3. Configure yum on el5 and attempt to access metadata Actual results: File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1399, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1391, in _getRepoXML self._loadRepoXML(text=self) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1381, in _loadRepoXML return self._groupLoadRepoXML(text, ["primary"]) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1366, in _groupLoadRepoXML self._commonRetrieveDataMD(mdtypes) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1343, in _commonRetrieveDataMD misc.bunzipFile(dl_local, local) File "/usr/lib/python2.4/site-packages/yum/misc.py", line 615, in bunzipFile data = s_fn.read(1024000) EOFError: compressed file ended before the logical end-of-stream was detected Expected results: no error Additional info:
These 2 commits address the issue noted http://createrepo.baseurl.org/gitweb?p=createrepo.git;a=commitdiff;h=25a2dea093a3d449ab1a031e42226a7a5af0c6ec http://createrepo.baseurl.org/gitweb?p=createrepo.git;a=commitdiff;h=998e73a3268975f220fd4287988895f95dd43734
createrepo-0.9.9-10.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/createrepo-0.9.9-10.fc16
Tested package referenced in comment #2 with a el-5 client, issue has been addressed.
Package createrepo-0.9.9-10.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing createrepo-0.9.9-10.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0230/createrepo-0.9.9-10.fc16 then log in and leave karma (feedback).
createrepo-0.9.9-10.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.