Re: CentOS 5 and DRPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx> wrote:
On Fri, Nov 27, 2009 at 10:14 AM, Janez Kosmrlj
<postnalista@xxxxxxxxxxxxxx> 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@xxxxxxxxx
Skype : ribalba
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux