Bug 1481032 - dnf system-upgrade marks all installed packages repo as @@commandline
Summary: dnf system-upgrade marks all installed packages repo as @@commandline
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 26
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-13 17:55 UTC by John Griffiths
Modified: 2017-08-15 07:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-15 07:44:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description John Griffiths 2017-08-13 17:55:46 UTC
Description of problem:
Upgraded from Fedora 24 to Fedors 26 using DNF system upgrade. The commands used were as in the instructions.
dnf system-upgrade download --refresh -releaseserver=26
dnf system-upgrade reboot

Version-Release number of selected component (if applicable):
2.6.3

How reproducible:
I upgraded two systems and it happened on both.

Steps to Reproduce:
1. Use dnf to do a system upgrade.
2. run dnf list installed

Actual results:
All the packages upgraded are marked as being installed from the  commandline which is technically true, but not quite what I expect.

Expected results:
I expect the repo of the packages to be the repo from which it was downloaded.

Additional info:
When dnf upgrade is run and packages are updated, the repo information is updated.

Apparently, running 
dnf repository-packages @@commandline remove-or-reinstall
will reinstall all the packages so then they will have the correct repo name. Seems excessive since all the packages have to be downloaded again.

Comment 1 Jaroslav Mracek 2017-08-15 07:44:37 UTC
The problem was recently fixed in pythonX-dnf-plugin-system-upgrade-2.0.2-1, that is available for Fedora 26.


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