Debian10升级Debian11

嗷嗷 4天前 10

  1. apt update && apt upgrade -y
  2. apt --purge autoremove
  3. cp /etc/apt/sources.list /etc/apt/sources.list.bak
  4. sed -i 's|buster/updates|bullseye-security|g' /etc/apt/sources.list
  5. sed -i 's|buster|bullseye|g' /etc/apt/sources.list
  6. apt update && apt full-upgrade -y
  7. #接下来还有几个选项,升级某些特定库,恢复默认SSH配置之类的,如果你不晓得是啥,一路回车即可

  1. reboot #重启
  2. cat /etc/os-release #查看版本
最新回复 (1)
返回