Article 5SR9C Use the dkms install command to reinstall any previous module version.

Use the dkms install command to reinstall any previous module version.

by
magster
from LinuxQuestions.org on (#5SR9C)
After I did sudo apt update, it says no original module was found and to reinstall it....

Code: Uninstall Beginning --------
Module: ndiswrapper
Version: 1.60
Kernel: 5.4.0-89-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

ndiswrapper.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-89-generic/updates/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


depmod...

DKMS: uninstall completed.
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-89-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-91-generic
Found initrd image: /boot/initrd.img-5.4.0-91-generic
Found linux image: /boot/vmlinuz-5.4.0-90-generic
Found initrd image: /boot/initrd.img-5.4.0-90-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Adding boot menu entry for UEFI Firmware Settings
done
Removing linux-modules-5.4.0-89-generic (5.4.0-89.100) ...
maggie@linux ~ $Did I post enough of the results ? I saved the entire results.

So, do I simply use the command Code:dkms installand the system will know which module to reinstall?

I do not have root priveledges so, does the command need to be changed at all to include sudo ?

Thanks in advance for help on this.

Maggielatest?d=yIl2AUoC8zA latest?i=QNUKLvl6l4c:mIoaI6dt2zw:F7zBnMy latest?i=QNUKLvl6l4c:mIoaI6dt2zw:V_sGLiP latest?d=qj6IDK7rITs latest?i=QNUKLvl6l4c:mIoaI6dt2zw:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments