[CentOS] CentOS 5 and DRPM

Mon Nov 30 08:06:16 UTC 2009
Janez Kosmrlj <postnalista at googlemail.com>

OK this is the error I get.

createrepo --database  --deltas -s sha --oldpackagedirs . .

Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 222, in ?
    main(sys.argv[1:])
  File "/usr/share/createrepo/genpkgmetadata.py", line 196, in main
    mdgen.doPkgMetadata()
  File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 358,
in doPkgMetadata
    self.writeMetadataDocs(packages)
  File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 503,
in writeMetadataDocs
    self._do_delta_rpm_package(po)
  File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 598,
in _do_delta_rpm_package
    opd = self._get_old_package_dict() # yes I could make this a property
but <shrug>
  File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 642,
in _get_old_package_dict
    self.callback.log("Skipping %s package " \
NameError: global name 'pkg' is not defined


Br

On Mon, Nov 30, 2009 at 7:53 AM, Geerd-Dietger Hoffmann
<ribalba at gmail.com>wrote:

> On Fri, Nov 27, 2009 at 10:14 AM, Janez Kosmrlj
> <postnalista at googlemail.com> wrote:
> > OK I figgured out the client part. But unfortunately this was the easy
> part.
> > I still can't figure out, what i'm doing wrong on the server.
> > I tried installing deltarpm package from epel and the newest createrepo
> > package from atrpms (deltarpm from here won't install because it is build
> > against a newer rpm package and I don't like to change the rpm package on
> my
> > system).
> > But when i run: createrepo --database  --deltas  -s sha --oldpackagedirs
> > /dir /dir i get some obscure python errors, that I can't figure out.
>
> Maybe pastebin it so people can help :)
>
> Cheers Didi
>
> --
>
> My www page: www.ribalba.de
> Email / Jabber: ribalba at gmail.com
> Skype : ribalba
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091130/a5f30a79/attachment-0005.html>