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 繼續