Package Details: dnf-plugins-core 4.0.6-1

Git Clone URL: (read-only)
Package Base: dnf-plugins-core
Description: Core DNF Plugins
Upstream URL:
Licenses: GPL2
Submitter: larchunix
Maintainer: larchunix
Last Packager: larchunix
Votes: 4
Popularity: 0.000015
First Submitted: 2015-05-21 01:08
Last Updated: 2019-03-12 12:29

Dependencies (6)

Required by (1)

Sources (1)

Latest Comments

larchunix commented on 2018-11-27 19:28

@killermoehre: added LC_ALL=en_US.UTF-8 in check(). should be ok now

killermoehre commented on 2018-11-27 07:41


the tests fail if used in a non-english locale. Here is the example wih LANG=de_DE.UTF-8:

==> Beginne check()... .................F................ ====================================================================== FAIL: test_pkg_option (tests.test_repoclosure.TestRepoClosureFunctions)

Traceback (most recent call last): File "/home/knizek/packages/dnf-plugins-core/src/dnf-plugins-core-4.0.2/tests/", line 82, in test_pkg_option self.assertEqual(context.exception.value, "no package matched: bar") AssertionError: 'Kein passendes Paket: bar' != 'no package matched: bar' - Kein passendes Paket: bar + no package matched: bar

Ran 34 tests in 0.132s

FAILED (failures=1) ==> FEHLER: Ein Fehler geschah in check(). Breche ab...

»Kein passendes Paket:« is literally the translation for »no package matched:«

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()...
ERROR: Failure: ImportError (No module named 'rpm')
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/nose/", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3.5/site-packages/nose/", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3.5/site-packages/nose/", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3.5/site-packages/nose/", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib/python3.5/", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.5/", 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-", line 21, in <module>
from import mock
File "/tmp/yaourt-tmp-mosu/aur-dnf-plugins-core/src/dnf-plugins-core-", line 21, in <module>
import dnf
File "/usr/lib/python3.5/site-packages/dnf/", line 31, in <module>
import dnf.base
File "/usr/lib/python3.5/site-packages/dnf/", line 30, in <module>
from dnf.yum import history
File "/usr/lib/python3.5/site-packages/dnf/yum/", line 31, in <module>
import dnf.rpm.miscutils
File "/usr/lib/python3.5/site-packages/dnf/rpm/", line 22, in <module>
from . import transaction
File "/usr/lib/python3.5/site-packages/dnf/rpm/", 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 (

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/", line 932
def is_better_version((pkg1, pkg2)):
SyntaxError: invalid syntax