On 11/15/2016 10:25 PM, Jeffrey Johnson wrote:
The first step is still to get DNF “working” with RPM5 using python2: there are
multiple ports involved.
If you expose you git repositories, I can try to help.
Alright. This is the error I'm getting:
Traceback (most recent call last):
File
"/home/ak/development/poky/build/tmp/sysroots/x86_64-linux/usr/bin/dnf-2",
line 57, in <module>
from dnf.cli import main
File
"/home/ak/development/poky/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/dnf/__init__.py",
line 31, in <module>
import dnf.base
File
"/home/ak/development/poky/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/dnf/base.py",
line 72, in <module>
class Base(object):
File
"/home/ak/development/poky/build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/dnf/base.py",
line 361, in Base
'nocontexts': rpm.RPMTRANS_FLAG_NOCONTEXTS,
AttributeError: 'module' object has no attribute 'RPMTRANS_FLAG_NOCONTEXTS'
Looking at rpm5's python module source code, the
RPMTRANS_FLAG_NOCONTEXTS attribute is excluded by a NOYET define (which
is a typo and should be NOTYET).
Any guidance as to how it should be enabled? Is it better to disable the
feature in dnf for now?
Alex
______________________________________________________________________
RPM Package Manager http://rpm5.org
User Communication List rpm-users@rpm5.org