Hello users, I am facing this issue while using dnf5 for more than 2 weeks now. Initially, I thought that the recent outage listed here https://status.fedoraproject.org/ was causing this issue. Kindly help me resolve it
[~]$ sudo dnf update
Place your finger on the fingerprint reader
Updating and loading repositories:
terminate called after throwing an instance of ‘libdnf5::UserAssertionError’
what(): libdnf5/repo/repo.cpp:647: libdnf5::repo::SolvRepo& libdnf5::repo::Repo::get_solv_repo() const: API Assertion ‘p_impl->solv_repo’ failed: repo must be loaded to acess solv_repo
[1] 7655 IOT instruction sudo dnf update
[~]$
[~]$ sudo -i
Place your finger on the fingerprint reader
[root@fedora ~]# dnf upgrade --refresh
Updating and loading repositories:
…
{{Loaded My Repos}}
…
terminate called after throwing an instance of ‘libdnf5::UserAssertionError’
what(): libdnf5/repo/repo.cpp:647: libdnf5::repo::SolvRepo& libdnf5::repo::Repo::get_solv_repo() const: API Assertion ‘p_impl->solv_repo’ failed: repo must be loaded to acess solv_repo
Aborted (core dumped)
[root@fedora ~]#
I tried the same through the root user, and it gives the following error:
terminate called after throwing an instance of ‘libdnf5::UserAssertionError’
what(): libdnf5/repo/repo.cpp:647: libdnf5::repo::SolvRepo& libdnf5::repo::Repo::get_solv_repo() const: API Assertion ‘p_impl->solv_repo’ failed: repo must be loaded to acess solv_repo
Aborted (core dumped)
[root@fedora ~]#
But the problem is not the fingerprint authentication. If fingerprint authentication is enabled, sudo asks for it instead of the password. And as far as I see, this part is working.