Package Details: dnf-plugins-core 2.1.3.1-1

Git Clone URL: https://aur.archlinux.org/dnf-plugins-core.git (read-only)
Package Base: dnf-plugins-core
Description: Core DNF Plugins
Upstream URL: https://github.com/rpm-software-management/dnf-plugins-core
Licenses: GPL2
Submitter: larchunix
Maintainer: larchunix
Last Packager: larchunix
Votes: 3
Popularity: 0.261092
First Submitted: 2015-05-21 01:08
Last Updated: 2017-07-24 17:00

Dependencies (6)

Required by (1)

Sources (1)

Latest Comments

larchunix commented on 2016-06-25 09:22

I can't reproduce. rpm python module is provided by the rpm-org package.

Do you have an ImportError with this command ?

$ python3 -c 'import rpm'

mbunkus commented on 2016-06-25 08:53

I get the following error when I try to install this package v0.1.21.1-1 (dnf v1.1.9.1-1, rpm-org v4.12.0.1-3 are installed):

==> Starting check()...
EEEEEEEE
======================================================================
ERROR: Failure: ImportError (No module named 'rpm')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3.5/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3.5/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3.5/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib/python3.5/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 693, in _load
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 662, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/tmp/yaourt-tmp-mosu/aur-dnf-plugins-core/src/dnf-plugins-core-0.1.21.1/tests/dnfpluginscore/test_lib.py", line 21, in <module>
from tests.support import mock
File "/tmp/yaourt-tmp-mosu/aur-dnf-plugins-core/src/dnf-plugins-core-0.1.21.1/tests/support.py", line 21, in <module>
import dnf
File "/usr/lib/python3.5/site-packages/dnf/__init__.py", line 31, in <module>
import dnf.base
File "/usr/lib/python3.5/site-packages/dnf/base.py", line 30, in <module>
from dnf.yum import history
File "/usr/lib/python3.5/site-packages/dnf/yum/history.py", line 31, in <module>
import dnf.rpm.miscutils
File "/usr/lib/python3.5/site-packages/dnf/rpm/__init__.py", line 22, in <module>
from . import transaction
File "/usr/lib/python3.5/site-packages/dnf/rpm/transaction.py", line 14, in <module>
import rpm
ImportError: No module named 'rpm'

larchunix commented on 2015-07-30 01:37

It was probably due to dnf (https://github.com/rpm-software-management/dnf/commit/c515826716b69ed603c9175bcc937b95e5fe315d).

I have updated dnf to the latest release, this problem should be fixed.

pnorcks commented on 2015-07-29 18:25

larchunix: Are you seeing test failures for this package? I'm running into 6 failed tests, all with backtraces ending with:

File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 932
def is_better_version((pkg1, pkg2)):
^
SyntaxError: invalid syntax