Dnf vs software app

dnf and the software (gnome?) app disagree on whether or not the cheese app is installed.

dnf history shows that it was removed:

[moi@platita ~]$ dnf history
ID | Command line | Date and time | Action(s) | Altered

205 | remove cheese | 2020-04-14 19:13 | Removed | 5
204 | install cheese | 2020-04-14 19:12 | Install | 5

and i can’t run it like you would expect:

[moi@platita ~] cheese bash: cheese: command not found... Install package 'cheese' to provide command 'cheese'? [N/y] n> [moi@platita ~] which cheese
/usr/bin/which: no cheese in (/home/moi/.local/bin:/home/moi/bin:/home/moi/.local/bin:/home/moi/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin)

But the software app says that it’s installed

Also; if i install cheese via gnome-terminal & dnf; cheese does not work saying that there’s no video device. But the installation using the software app works fine. i suspect i can find the answer once i understand how this software gets installed.

thanks guys

Gnome Software use packagekit to install programs from repositories and use plugin to install program from flatpak repositories like flathub and It may also use plugin to install programs from snap .

Packagekit use dnf/apt/… as backend .
The actual nuts-and-bolts distro tool (dnf, apt, etc) is used by PackageKit using compiled and scripted helpers.

Gnome Software also use AppStream to provide info/screanshoot…
AppStream is a cross-distro effort for enhancing the metadata available about software components in the Linux and free-software ecosystem.

Gnome Software =====> Install programs /flatpak/snap/on fedora rpm on ubuntu deb …

DNf ==============> Install programs/library/(every rpm package)…

In the photo you attached وnotice the word (Source F) at the top of the image it may have been installed from flathub (The image is incomplete).

(google translate)

2 Likes