Description of problem: Once package –https://www.opera.com/download?os=linux_ from a third-party software has been installed on system dnf displays two different repositories.
Version-Release number of component: dnf.noarch 4.2.5-2.fc30 @updates
$ dnf -q repolist | grep opera
opera Opera packages 6
$ dnf -q list installed opera-stable | sed -n '2p'
opera-stable.x86_64 62.0.3331.99-0 @@commandline
Expected results: existence of at most one repository here "opera" instead of "@@commandline".
Please could you provide an output from command 'sudo dnf history info opera-stable | grep opera-stable'
$ LANG=C sudo dnf history info opera-stable | grep opera-stable
Install opera-stable-62.0.3331.99-0.x86_64 @@commandline
Command Line : -y remove opera-stable
Removed opera-stable-62.0.3331.99-0.x86_64 @@System
Upgrade opera-stable-62.0.3331.99-0.x86_64 @opera
Upgraded opera-stable-62.0.3331.66-0.x86_64 @@System
Install opera-stable-62.0.3331.66-0.x86_64 @@commandline
An installation relying on Gnome Software 3.32.2 was attempted first, while an installation already existed. Then the package was uninstalled using command line then reinstalled relying on Gnome Software.
Thanks a lot, it means that the problem is probably in libdnf code that is used by packagekit. I am changing the component to packagekit, because I belive that they know how PackageKit is using the library.