转载自 Debian 的 release-notes,原文见 5. Issues to be aware of for trixie — release-notes documentation
挑选其中几个适合大多数人注意的地方,我引用:
-
重要 Interrupted remote upgrades 远程升级中断
由于Debian12 自带的 openssh 版本问题,通过ssh远程更新Debian13时中断,有可能会导致系统无法访问。解决办法是更新openssh版本到1:9.2p1-2+deb12u7以上,可以尝试我该的openssh更新脚本更新到最新wget -O upgrade_openssh.sh https://gist.github.com/Seameee/2061e673132b05e5ed8dd6eb125f1fd1/raw/upgrade_openssh.sh && sudo chmod +x ./upgrade_openssh.sh && sudo ./upgrade_openssh.sh -
重要 Ensure /boot has enough free space 确保 /boot分区有足够的空间
如果你的系统是从Debian10或更早版本安装的,很可能会受到影响。
需保证/boot分区至少分配有768MB空间,至少300MB的空闲空间,如果没有/boot分区可以无视。使用df -h命令查看分区情况 -
The temporary-files directory /tmp is now stored in a tmpfs 临时文件目录
/tmp现在存储在 tmpfs 中
Debian13中,/tmp/目录默认会存储在内存中,默认会分配最多50%的内存最大值,所以小内存Linux机器要注意了
你可以使用systemctl edit tmp.mount命令来修改其中的设置另外
/tmp和/var/tmp会定期删除其中的旧文件,前者是10天,后者是30天 -
The last, lastb and lastlog commands have been replaced
last、lastb、lastlog命令已被替换
util-linux包不再提供last和lastb命令,login包不再提供lastlog命令
目前可用的命令如下:原命令 替换命令 描述 lastlast需先运行安装 sudo apt install libpam-wtmpdblastblslogins --failedlastloglastlog2需先运行安装 sudo apt install lastlog2 libpam-lastlog2 -
RabbitMQ cannot be directly upgraded from bookworm RabbitMQ 无法直接从 bookworm 升级
推荐的升级方式是彻底清除 rabbitmq 数据库并重新启动服务(在 trixie 升级之后) -
重要 Network interface names may change 网卡名称可能会发生改变 -
重要 Skip-upgrades are not supported 不支持版本跳跃升级建议从更早系统更新时,逐级升级,如
Debian11→Debian12→Debian13 -
sysctl.conf文件可能丢失