On 23 Oct 2024, at 22:31, Stephen Morris <steve.morris.au@xxxxxxxxx> wrote:
On 22/10/24 08:30, Barry wrote:
On 21 Oct 2024, at 22:14, Stephen Morris <steve.morris.au@xxxxxxxxx> wrote:
Hi,
How do I remove kmod-nvidia packages from _dnf_local when sudo dnf remove kmod-nvidia-6.10.10-200.fc40.x86_64 says the package is not found and there is nothing to do and sudo akmods --force won't rebuild it because the 6.10.10 kernel headers don't exist any more and sudo dnf clean all doesn't remove them either?
_dnf_local is just a way of saying not installed from a repo I believe.
What does dnf list installed ‘*nvidia*’ report?
Do you see the kmod-nvidia version listed that you are trying to remove?
dnf list installed *nvidia* doesn't list the kmod-nvidia version I
am trying to remove.
dnf list *nvidia* does list the kmod-nvidia version I am trying to
remove, snippet below.
kmod-nvidia-6.10.10-200.fc40.x86_64.x86_64
3:560.35.03-1.fc40
_dnf_local
kmod-nvidia-6.10.11-200.fc40.x86_64.x86_64
3:560.35.03-1.fc40
_dnf_local
I can get rid of the second listed kmod-nvidia entry as I can build
that version because that kernel still exists, but I can't build the
first listed kmod-nvidia as that kernel isn't installed and doesn't
appear to be in any repositories, only 6.10.12, 6.11.3 and 6.11.4
appear to be available.
I just checked k my f40 system with akmod nvidia. It does not have a _dnf_local repo.
What does dnf repolist show you have?
If it lists a _dnf_local then show us what its repo file has in it.
|
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue