On 24/10/24 20:43, Barry wrote:
dnf repolist
On 23 Oct 2024, at 22:31, Stephen Morris <steve.morris.au@xxxxxxxxx> wrote:
On 22/10/24 08:30, Barry wrote:
dnf list installed *nvidia* doesn't list the kmod-nvidia version I am trying to remove.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 *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.
repo id repo name
_dnf_local _dnf_local
copr:copr.fedorainfracloud.org:bedsteler20:gnome-shell-extensions Copr repo for gnome-shell-extensions owned by bedsteler20
copr:copr.fedorainfracloud.org:group_neurofedora:neurofedora-extra Copr repo for neurofedora-extra owned by @neurofedora
copr:copr.fedorainfracloud.org:phracek:PyCharm Copr repo for PyCharm owned by phracek
docker-ce-stable Docker CE Stable - x86_64
fedora Fedora 40 - x86_64
fedora-cisco-openh264 Fedora 40 openh264 (From Cisco) - x86_64
google-chrome google-chrome
rpmfusion-free RPM Fusion for Fedora 40 - Free
rpmfusion-free-updates RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 40 - Nonfree - Updates
rpmsphere RPM Sphere - Basearch
rpmsphere-noarch RPM Sphere - Noarch
updates Fedora 40 - x86_64 - Updates
ls /etc/yum.repos.d gives me the following:
ls -a /etc/yum.repos.d
. _copr:copr.fedorainfracloud.org:phracek:PyCharm.repo fedora-updates.repo rpmfusion-free-updates.repo rpmfusion-nonfree-steam.repo
.. docker-ce.repo fedora-updates-testing.repo rpmfusion-free-updates-testing.repo rpmfusion-nonfree-updates.repo
_copr:copr.fedorainfracloud.org:bedsteler20:gnome-shell-extensions.repo fedora-cisco-openh264.repo google-chrome.repo rpmfusion-nonfree-nvidia-driver.repo rpmfusion-nonfree-updates-testing.repo
_copr:copr.fedorainfracloud.org:group_neurofedora:neurofedora-extra.repo fedora.repo rpmfusion-free.repo rpmfusion-nonfree.repo rpmsphere.repo
When dnf decides a refresh of the repository contents is required _dnf_local gets refreshed as part of that as well.
The 3 kmod-nividia files that have been built for the 3 currently installed kernels get listed in a "dnf list installed *nvidia*" command and don't get listed under the "Available Packages" section output from command "dnf list *nvidia*". The 2 folders under /lib/modules for those two kmod-nvidia modules don't exist anymore, and the installation of kernel 6.11.4 did not remove the kmod-nivida-6.11.4-200 module from _dnf_local either, possibly because the /lib/modules sub-folder didn't exist anymore. I manually deleted those folders when I had issues with the 3 current kmod-nvidia modules at the time all losing their secure-boot/uefi signatures (I've been having kmod-nvidia signing issues in F40 ever since the upgrade from F39 to F40 disabled secure-boot within Fedora but not the bios). None of the kmod-nvidia modules for the 3 current kernels show in _dnf_local, only the modules I had signature issues with that I can't rebuild do. I did have issues with the module for kernel 6.10.12 losing it's signature, but when I rebuilt it with akmods to put the signature back the module entry in _dnf_local disappeared.
I've also used dolphin to search through all of the .repo files in /etc/yum.repos.d and none of them have a reference to _dnf_local, so it looks to me like it is something that is internal to dnf that a "dnf clean all" appears to not do anything with.
regards,
Steve
regards,
SteveBarryregards, Steve <OpenPGP_0x1EBE7C07B0F7242C.asc> -- _______________________________________________ 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
<OpenPGP_0x1EBE7C07B0F7242C.asc>--
_______________________________________________
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
Attachment:
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ 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