-
Notifications
You must be signed in to change notification settings - Fork 1
Description
On Bazzite (an immutable, rpm-ostree–based distribution), FetchIt reports Packages: 0 even though the system clearly has installed packages. This appears to be a package detection issue on Atomic / ostree systems rather than a true absence of packages.
Environment
OS: Bazzite (immutable / rpm-ostree)
Kernel: 6.17.7-ba25.fc43.x86_64
Architecture: x86_64
(Full context shown in the attached screenshots)
Steps to reproduce
Run FetchIt on Bazzite.
Observe the output line: Packages: 0.
Actual behavior
FetchIt shows: Packages: 0.
Expected behavior
A correct, non-zero package count on Bazzite / rpm-ostree systems.
Notes / Evidence
The attached screenshot from FetchIt shows Packages: 0.
A comparison screenshot from neofetch on the same system shows a normal (non-zero) package count, suggesting detection is failing specifically in FetchIt’s package-count logic on rpm-ostree-based distros.
Suggestion (implementation hint)
Consider detecting rpm-ostree / Atomic systems (e.g., /run/ostree-booted exists or rpm-ostree is available) and using an ostree-compatible method to determine package count (or falling back to a reliable query for these environments).