Bug 446924

Summary: Support distribution upgrades on Fedora
Product: [Applications] Discover Reporter: cirelli94
Component: PackageKitAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: wishlist CC: aleixpol, bug, cberlinger, johnmaverick74, katyaberezyaka, Lance, nate, ngompa13, rdieter, travier, xnaxdy
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
URL: https://pagure.io/fedora-kde/SIG/issue/3
See Also: https://bugs.kde.org/show_bug.cgi?id=451849
Latest Commit: Version Fixed In: 6.0

Description cirelli94 2021-12-13 11:53:27 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
I'm using nowadays Fedora with KDE.
To upgrade from a version to another we must use a DNF plugin: https://docs.fedoraproject.org/en-US/quick-docs/upgrading/ .
It would be great to be able to update the Fedora version directly from Discover, but I don't know if Discover has the "infrastructure" to be able to do this.

STEPS TO REPRODUCE
1. Wait for a new release
2. Try to update from Discover

OBSERVED RESULT
Fail because there is no way

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.6-200.fc35.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 1 Nate Graham 2021-12-14 19:16:54 UTC
Discover already supports distro upgrades in Neon, Kubuntu, and openSUSE Leap IIRC, but Fedora is not supported yet. Gotta do that.
Comment 2 cirelli94 2021-12-15 11:30:19 UTC
(In reply to Nate Graham from comment #1)
> Discover already supports distro upgrades in Neon, Kubuntu, and openSUSE
> Leap IIRC, but Fedora is not supported yet. Gotta do that.
🥳🥳🥳
Comment 3 Neal Gompa 2022-01-01 18:37:10 UTC
For reference, there are some notes in the KDE SIG tracker about how this works with GNOME Software:

* https://pagure.io/fedora-kde/SIG/issue/3#comment-754433
* https://pagure.io/fedora-kde/SIG/issue/3#comment-769500
Comment 4 John 2022-03-23 22:29:34 UTC
(In reply to Nate Graham from comment #1)
> openSUSE Leap

Correction:
System upgrades using Discover are not available in openSUSE Leap :(

(I WISH!!! -> https://hackweek.opensuse.org/projects/easy-opensuse-upgrade )

Should I open a bug report for openSUSE as well?
(I don't think it's a good idea cause we'll end up with one bug per distro)
Comment 5 Nate Graham 2022-03-23 22:30:28 UTC
Please do. In fact every distro needs to be individually supported.
Comment 6 John 2022-03-24 10:53:21 UTC
(In reply to Nate Graham from comment #5)
> Please do. In fact every distro needs to be individually supported.

Done: https://bugs.kde.org/show_bug.cgi?id=451849
Comment 7 Lance Haverkamp 2022-10-11 22:45:10 UTC
(In reply to John from comment #4)
> (In reply to Nate Graham from comment #1)
> > openSUSE Leap
> 
> Correction:
> System upgrades using Discover are not available in openSUSE Leap :(
> 
> (I WISH!!! -> https://hackweek.opensuse.org/projects/easy-opensuse-upgrade )
> 
> Should I open a bug report for openSUSE as well?
> (I don't think it's a good idea cause we'll end up with one bug per distro)

SUSE has their own way to do almost everything. They are often incompatible with what is standard everywhere else. For example, one of the best ways to update SUSE is to boot from the new installation flash drive, and click "upgrade." Yes, you can also do it from the command line, but the results may not be as predictable.
Comment 8 John 2023-03-23 16:25:38 UTC
Fedora update:

https://pagure.io/fedora-kde/SIG/issue/3#comment-848145

(let's hope this gets backported to 5.27...)
Comment 9 Kevin Kofler 2023-03-26 11:11:05 UTC
(In reply to Nate Graham from comment #5)
> Please do. In fact every distro needs to be individually supported.

As far as I can tell, the code that was added to Discover is not distribution-specific. The distribution needs to support distribution upgrades in its PackageKit backend and in its AppStream metadata. Then it should just work in Discover, but also, e.g., in GNOME Software.