Hi there
Iam trying to respin FC6 with pungi 2.7-1 and i keep getting the following error:
Traceback (most recent call last): File "/usr/bin/pungi", line 186, in ? main() File "/usr/bin/pungi", line 103, in main mygather.downloadPackages() File "/usr/lib/python2.4/site-packages/pypungi/gather.py", line 212, in downloadPackages remote = pkg.relativepath AttributeError: 'YumAvailablePackageSqlite' object has no attribute 'relativepath'
The only thing i have done is to change the yum.conf.i386 to point to a local file store, instead of a default yum repo, i have run the createrepo on the directory where the files are located.
Iam posting to this list since i cant seem to figure this problem out on my own, and i cant find anything about this on the pungi website.
Cheers Tom Stage
Hi!
dvos wrote:
Hi there
Iam trying to respin FC6 with pungi 2.7-1 and i keep getting the following error:
Traceback (most recent call last): File "/usr/bin/pungi", line 186, in ? main() File "/usr/bin/pungi", line 103, in main mygather.downloadPackages() File "/usr/lib/python2.4/site-packages/pypungi/gather.py", line 212, in downloadPackages remote = pkg.relativepath AttributeError: 'YumAvailablePackageSqlite' object has no attribute 'relativepath' The only thing i have done is to change the yum.conf.i386 to point to a local file store, instead of a default yum repo, i have run the createrepo on the directory where the files are located.
Iam posting to this list since i cant seem to figure this problem out on my own, and i cant find anything about this on the pungi website.
Cheers Tom Stage
-- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
It's easy go to 212th line of file /usr/lib/python2.4/site-packages/pypungi/gather.py and change line from:
remote = pkg.relativepath
to:
remote = yum.relativepath
Guys are you going to fix this issue?
On Monday 12 March 2007 13:03:20 Konukhov, Anatoly wrote:
remote = pkg.relativepath
to:
remote = yum.relativepath
Guys are you going to fix this issue?
I don't even think this would work. You're going from an attribute of a specific package object to an attribute of the yum class, which doesn't seem to exist here with 'import yum, yum.relativepath'.
This code is not meant to run on Fedora Core 6. The api calls are designed for the yum that is available in Fedora development.
On Monday 12 March 2007 12:52:32 dvos wrote:
Iam trying to respin FC6 with pungi 2.7-1 and i keep getting the following error:
Pungi 0.2.7 will not work to spin Fedora 6. There is a reason I didn't release it to Fedora Extras 6. 0.2.7, as well as anything newer than 0.1.2 is not designed to work with the Fedora 6 userland (python) and compose tools (anaconda, yum, createrepo). To compose Fedora 6, please use the pungi that is available in Fedora Extras 6.
buildsys@lists.fedoraproject.org