Software Package Unavailable
If the kernel is updated in the environment where the software package is installed, the environment will fail to be restarted. The problem persists after a new software package is installed. The cause is that the .ko driver has been packed to the rootfs of the kernel during the installation of the software package.
Solution
- Manually uninstall the .ko driver.
- Query the .ko driver list.
lsmod|grep drv
- Uninstall all the queried .ko drivers. Separate .ko drivers with spaces in the uninstallation command. For example, to uninstall .ko drivers ko1 and ko2, run the following command:
rmmodko1 ko2
- Query the .ko driver list.
- Pack the rootfs.
dracut --force
- Restart the environment.
reboot