手邊一台ubuntu server升級,
login都會出現提示升級的訊息.看久了就只好升級看看會不會出事.
升級前驗明正身
orion@orion-B33E:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
依提示執行sudo do-release-upgrade
一會兒就報錯....
The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed.
------------------------------------------
搜尋一下才找到要先跑這兩個升級....
sudo apt update
sudo apt dist-upgrade
BUT, 這裡有個小插曲....
其中apt update跑到一半還會出現找不到public key的錯誤
There is no public key available for the following key IDs: 1397BC53640DB551
解方如下
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1397BC53640DB551
------------------------------------------
等到apt update/dist-upgrade都正常跑完後,
再跑sudo do-release-upgrade
就可以泡咖啡吃個販再來看結果了!!!!!
留言列表