1. 關(guān)閉自動(dòng)更新
要在 Ubuntu 中關(guān)閉系統(tǒng)的自動(dòng)更新,可以按照以下步驟進(jìn)行操作:
把1都改成0
查看
cat /etc/apt/apt.conf.d/20auto-upgrades
sudo sed -i "s/1/0/g" /etc/apt/apt.conf.d/20auto-upgrades
2. 查看當(dāng)前內(nèi)核版本
uname -r
3. 內(nèi)核恢復(fù)
sudo apt-get install linux-image-5.19.0
# sudo apt-get install linux-image-6.2.0
sudo dpkg --configure -a
4. 查看本地已安裝的內(nèi)核版本
apt list --installed | grep linux-image
5. 更新引導(dǎo)
更新引導(dǎo)配置:安裝完畢后,運(yùn)行以下命令更新引導(dǎo)配置:
sudo update-grub
6. 重啟系統(tǒng)
重啟系統(tǒng):完成以上步驟后,重新啟動(dòng)系統(tǒng)以應(yīng)用新的內(nèi)核版本:文章來源:http://www.zghlxwxcb.cn/news/detail-786047.html
sudo reboot
7. 卸載內(nèi)核
卸載內(nèi)核linux-image-6.5.0文章來源地址http://www.zghlxwxcb.cn/news/detail-786047.html
sudo apt-get purge linux-image-6.5.0
到了這里,關(guān)于ubuntu篇---降低內(nèi)核版本的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!