hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.15k stars 90 forks source link

dnf fast path is sometime wrong on opensuse #306

Open Un1q32 opened 3 weeks ago

Un1q32 commented 3 weeks ago

Describe the bug

The dnf fast package count in get_packages() using sqlite3 to read the dnf package cache shows a different result then the normal rpm -qa | wc -l on my OpenSUSE machine.

Expected behavior

A package count of 2030 for dnf instead of 2022.

Config file

(It's the default)

Verbose log

neofetch.log (with sqlite3 installed, fast path is used) neofetch.log (without sqlite3 installed, slow rpm -qa | wc -l is used)