Στις 3/12/20 12:35 π.μ., ο/η Ed Greshko έγραψε:
On 03/12/2020 05:29, Kostas Sfakiotakis wrote:
> Greetings ,
>
> As am browsing the internet category ( for example ) looking if there
> is anything interesting ( usually there are a lot ) i find that
> programs like Viber,Skype, Anydesk are offered to be installed
> although there are alread installed on my computer . Well up
> to a point at least Discover seems to know which programs are already
> installed on my computer and just offer the option to remove
> them , BUT in some cases it would seem that it makes mistakes . Have
> i forgotten to configure / update something ( possibly a
> database Discover is looking ) ??? Is simpy Discover making a few
> mistakes every now and then as to which programs are already
> installed or am Discover is unaware of the software installed and am
> simply supposed to do the thing myself ??
>
>
> If i may ask , who tells Discover what is already installed and what
> not ?? Am i correct to assume that Discover offers a wast
> range of programs in various categories regardless of the way they
> are packaged ( rpm or otherwise ) ??
>
>
> Am using Fedora 33 upgraded from Fedora 32 ( which was upgraded from
> Fedora 31 ) .
>
If you look in "settings" of Discover you'll see where it looks
(sources/repos) for what is available.
You may see multiple copies of applications (firefox being one) which
are available in the standard
Fedora repos as well as from Flatpak.
Yes found the corresponding settings where you said they will be . Well
indeed there was
a
dl.flathub.org entry and the other were my repositories . That would
also account for the
duplicate entries for Firefox and other apps as you mentioned .
Discover uses the rpmdb to determine what is installed as well as
whatever Flatpak uses to keep
track of what has been installed from there. Note, I'm not very
familiar with Flatpak.
Well can't pretend that am a Flatpak expert myself either . The only
question that remains is .
Since i was using rpms , is there a way to check the integrity of the
RPM Database ( theoretically
it should be done automatically but ok ) . Also i think updatedb ( as
root ) would update the
rpm database. Am i correct ??