-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with updaterepo #1
Comments
updaterepo only works on existing repos. That means, you have to create yum metadata per createrepo /srv/inst/rhel/6.4/extra and can use updaterepo for the next updates. |
Yep, that's why I also thought, check this out: installer:/tmp/repo # createrepo -d . Saving Primary metadata Saving Primary metadata Not sure if I am doing something wrong then? |
Could you please send me the result of: ls -al /tmp/repo/repodata |
And which version of createrepo are you using? |
installer:/tmp/repo # ls -lrt repodata/* version 0.9.9, but i also tried against 0.9.8 :) Thanks, |
May I should fix the code to do nothing, if no RPM was added or deleted. |
It doesn't work in any case, on delete/add. I've tested different scenarios: installer:/tmp/repo # /usr/share/createrepo/updaterepo.py . Saving Primary metadata What createrepo version did you test it against? |
@m4ce did you ever manage to fix this issue? I am running into it as well, though I think it is a bug in the createrepo utility. (createrepo version 0.10.3) |
@TheTeraByte I'm sorry, but I'm not maintaining the repository anymore. I think the |
Hi,
not sure what the problem is :(
Delete: []
Add : []
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Traceback (most recent call last):
File "/usr/share/createrepo/updaterepo.py", line 205, in
UpdateRepo(sys.argv[1]).execute()
File "/usr/share/createrepo/updaterepo.py", line 161, in execute
self.generateMetaData()
File "/usr/share/createrepo/updaterepo.py", line 184, in generateMetaData
self.generator.doRepoMetadata()
File "/usr/share/createrepo/createrepo/init.py", line 962, in doRepoMetadata
zfo = _gzipOpen(complete_path)
File "/usr/share/createrepo/createrepo/utils.py", line 47, in _gzipOpen
return GzipFile(filename, mode, compresslevel)
File "/usr/lib64/python2.7/gzip.py", line 89, in init
fileobj = self.myfileobj = builtin.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory: '/srv/inst/rhel/6.4/extra/noarch/./.repodata/other.xml.gz'
real 0m0.654s
user 0m0.568s
sys 0m0.080s
I am running yum 3.2.29 + createrepo 0.9.9
Thanks for your help.
Cheers,
Matteo
The text was updated successfully, but these errors were encountered: