sudo apt-get install unattended-upgrades
/etc/apt/apt.conf.d/50unattended-upgrades
Notifications
sudo apt-get install apticron
/etc/apticron/apticron.conf
EMAIL="root@example.com"
Ubuntu 16.04 升级到 16.10 过程中SSH中断 我猜测do-release-upgrade 一定会有恢复方案,应该是screen. 经过查看果然是 screen 开始尝试恢复screen 提示 neo@netkiller:~$ screen -ls No Sockets found in /var/run/screen/S-neo. 后来想到应该是root而不是当前用户,再次查看 neo@netkiller:~$ sudo screen -ls [sudo] password for neo: There is a screen on: 1955.ubuntu-release-upgrade-screen-window (11/25/2016 07:44:50 PM) (Detached) 1 Socket in /var/run/screen/S-root. 的确如猜测一样,现在回复窗口吧。 neo@netkiller:~$ sudo screen -r 1955 继续
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。