#3204 [HOTFIX]: packagedb pkgdb-sync-yum rhel6 fix
Closed: Fixed None Opened 12 years ago by kevin.

pkgdb-sync-yum on bapp02 (rhel6) needs a fix to work.

Diff is:

--- /usr/bin/pkgdb-sync-yum 2010-09-10 00:39:00.000000000 +0000
+++ /tmp/pkgdb-sync-yum 2012-03-16 20:39:17.211846953 +0000
@@ -286,7 +286,9 @@
for repo in repos:
log.info("Repo: %s" % repo.name)
# prepare importer
-
+ repo.mirror = str(repo.mirror)
+ repo.url = str(repo.url)
+
try:
importer = PackageBuildImporter(repo, force=args.force,
cachedir=cachedir)
@@ -299,7 +301,7 @@
except Exception, e:
log.error('Failed to read repo %s! (%s)' % (repo.name, e))
continue
-
+
total = len(pkgbuilds)
counter = 1


This has not been commited upstream that I can find.

Committed to 0.5.x rev 633 and stable rev 601.

This fix was deployed in fedora-packagedb-0.5.5-1.el6 and the hotfix dropped.

Login to comment on this ticket.

Metadata