Bug 1607093 - "dnf system-update --releasever=28" failing
Summary: "dnf system-update --releasever=28" failing
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-21 20:54 UTC by waya208
Modified: 2019-04-04 21:39 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-04-04 21:39:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf.log output file (16.07 KB, text/plain)
2018-07-21 20:54 UTC, waya208
no flags Details

Description waya208 2018-07-21 20:54:55 UTC
Created attachment 1469691 [details]
dnf.log output file

Description of problem:
When attempting to do a package manager upgrade from F27 to F28, an unexpected bug occurs.


Version-Release number of selected component (if applicable):
dnf-2.7.5-2.fc27.noarch
dnf-conf-2.7.5-2.fc27.noarch
dnf-plugins-core-2.1.5-4.fc27.noarch
dnf-yum-2.7.5-2.fc27.noarch
libdnf-0.11.1-1.fc27.x86_64
python2-dnf-2.7.5-2.fc27.noarch
python3-dnf-2.7.5-2.fc27.noarch
python3-dnf-plugins-core-2.1.5-4.fc27.noarch
python3-dnf-plugins-extras-common-2.0.5-1.fc27.noarch
python3-dnf-plugin-system-upgrade-2.0.5-1.fc27.noarch


How reproducible:
Every attempt on two different computers has failed.  One desktop, one laptop.  Desktop is BIOS, laptop is UEFI.  Both running F27.


Steps to Reproduce (On system with F27 installed):
1. dnf --refresh update  (successful)
2. reboot  (successful)
3. dnf install dnf-plugin-system-upgrade  (successful)
4. dnf system-upgrade download --releasever=28  (fails)


Actual results:
(root)~-> dnf system-upgrade download --releasever=28 --allowerasing -v
Failed loading plugin: system_upgrade
Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repograph, repomanage, reposync
DNF version: 2.7.5
cachedir: /var/cache/dnf
No such command: system-upgrade. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(system-upgrade)'"


Expected results:
F28 packages downloaded, system prepared for upgrade reboot.

Additional info:
dnf.log file also attached

Comment 1 waya208 2018-08-13 18:13:16 UTC
Workaround found.

Manually running "pip3 install systemd --upgrade" fixed the issue.

Comment 2 Jaroslav Mracek 2019-04-04 21:39:25 UTC
It looks lite that the problem was in import of systemd. I believe that we cannot do much here. Thank you very much for an investigation and provided solution.


Note You need to log in before you can comment on or make changes to this bug.