Bug 1484055
| Summary: | DNF in mhatina copr repo. can't run commands, and can't upgrade to itself | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James Antill <james.antill> |
| Component: | dnf | Assignee: | Martin Hatina <mhatina> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dmach, mhatina, packaging-team-maint, rpm-software-management, vmukhame |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-23 07:45:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1478068 | ||
Description of problem: # dnf list dnf Traceback (most recent call last): File "/usr/bin/dnf", line 57, in <module> from dnf.cli import main File "/usr/lib/python3.6/site-packages/dnf/__init__.py", line 31, in <module> import dnf.base File "/usr/lib/python3.6/site-packages/dnf/base.py", line 28, in <module> from dnf.module.persistor import ModulePersistor ModuleNotFoundError: No module named 'dnf.module' If you try to distro-sync upgrade to it the error you get is identical to the above and if I try to use dnf to upgrade itself from the version in boltron I get: Traceback (most recent call last): File "/usr/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 179, in user_main errcode = main(args) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main return _main(base, args, cli_class, option_parser_class) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main return cli_run(cli, base) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 123, in cli_run ret = resolving(cli, base) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 154, in resolving base.do_transaction(display=displays) File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 237, in do_transaction display = [display] File "/usr/lib/python3.6/site-packages/dnf/base.py", line 739, in do_transaction self._trans_error_summary(errstring)) File "/usr/lib/python3.6/site-packages/dnf/base.py", line 879, in _run_transaction else: File "/usr/lib/python3.6/site-packages/dnf/base.py", line 931, in _verify_transaction count = 0 File "/usr/lib/python3.6/site-packages/dnf/base.py", line 905, in display_banner propagate external yumdb information. Output error messages File "/usr/lib/python3.6/site-packages/dnf/yum/rpmtrans.py", line 626, in verify_tsi_package display.verify_tsi_package(pkg, count, total) File "/usr/lib/python3.6/site-packages/dnf/yum/rpmtrans.py", line 108, in verify_tsi_package self.progress(pkg, self.PKG_VERIFY, 100, 100, count, total) File "/usr/lib/python3.6/site-packages/dnf/modules.py", line 505, in progress AttributeError: 'NoneType' object has no attribute 'enabled' The command '/bin/sh -c dnf upgrade -y dnf python3-dnf dnf-conf && dnf clean all' returned a non-zero code: 1 Version-Release number of selected component (if applicable): # rpm -q dnf dnf-2.6.4-1.git.77.70e46c8.fc26.noarch For the upgrade the old one is: # rpm -q dnf dnf-2.6.0-3.git.40.c0f7fc6.module_a7788b02.noarch