vps交流

[疑问] 各位18cm,为啥我升级debian10为11只升级了个内核,显示还是10.


本帖最后由 devilink 于 2022-6-17 08:44 编辑

各位18cm,为啥我升级debian10为11只升级了个内核,显示还是10,升级了个寂寞。请问这是啥原因啊。

升级后:

  1. SMP Debian 5.10.120-1 (2022-06-09) x86_64 GNU/Linux
  2. No LSB modules are available.
  3. Distributor ID:        Debian
  4. Description:        Debian GNU/Linux 10 (buster)
  5. Release:        10
  6. Codename:        buster

复制代码

步骤:

  1. apt update
  2. apt upgrade
  3. apt dist-upgrade
  4. apt autoremove
  5. 修改源
  6. apt update
  7. apt upgrade –without-new-pkgs
  8. apt full-upgrade
  9. apt dist-upgrade
  10. reboot now
  11. apt autoremove

复制代码

源:

  1. deb https://mirrors.huaweicloud.com/debian/ bullseye main
  2. deb-src https://mirrors.huaweicloud.com/debian/ bullseye main
  3. deb https://mirrors.huaweicloud.com/debian-security bullseye-security main
  4. deb-src https://mirrors.huaweicloud.com/debian-security/ bullseye-security main
  5. deb https://mirrors.huaweicloud.com/debian/ bullseye-updates main
  6. deb-src https://mirrors.huaweicloud.com/debian/ bullseye-updates main

复制代码

没重启?字数补丁

gajiodgaj 发表于 2022-6-17 08:23
没重启?字数补丁

重起了N次,也清理了,只变了内核。

有vnc的话,重启时看一眼启动菜单
apt dist-upgrade

加了,无效。

apt install full-upgrade

面包狗 发表于 2022-6-17 08:41
有vnc的话,重启时看一眼启动菜单

引导菜单就两行

  1. Debian GNU/Linux
  2. Advanced options for Debian GNU/Linux

复制代码

为 Debian linux系统更换Cloud内核降低内存使用

https://262235.xyz/index.php/archives/820/

试试笔记中的命令

update-grub

uname -r

t9913085 发表于 2022-6-17 08:55
apt install full-upgrade

  1. pt install full-upgrade
  2. Reading package lists… Done
  3. Building dependency tree… Done
  4. Reading state information… Done
  5. E: Unable to locate package full-upgrade

复制代码