Bug 468875 - [System Settings] Crash when opening Flatpak Permissions KCM
Summary: [System Settings] Crash when opening Flatpak Permissions KCM
Status: REOPENED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-23 19:09 UTC by popov895
Modified: 2024-09-08 20:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description popov895 2023-04-23 19:09:07 UTC
SUMMARY

After removing the flatpak package using the `apt purge flatpak` command, System Preferences crashes when trying to open the Flatpak Permissons KCM page. I assume this happens when trying to access something in the /var/lib/flatpak/, which is removed by the`apt purge`.

STEPS TO REPRODUCE

1. remove the flatpak package using the `apt purge flatpak`
2. Open System Settings
3. Open Flatpak Permissons KCM page

SOFTWARE/OS VERSIONS

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-60-generic (64-bit)
Graphics Platform: X11
Comment 1 ratijas 2023-04-24 12:49:40 UTC
Did you expect an application to keep working after you removed a library that it relied on?  FWIW if you were able to "purge" flatpak AND keep flatpak-kcm package in place, then it suggests a packaging issue, like missing dependency requirement in package meta-data.
Comment 2 popov895 2023-04-24 13:49:27 UTC
It makes sense to make the `flatpak-kcm` package dependent on the `flattpak` package. Is it possible?