cubieboard2 do-release-upgrade

cubieboard2  ubuntu do-release-upgrade

Issue:
ImportError: No module named apt

solution:
apt-get install python-apt
 
Issue:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5:
 ordinal not in range(128)
 
solution:
   主要原因是 python 引用底層 os library 時,系統看不懂python使用的編碼
。這時候只要在系統安裝所需要的語言包。重新啟動 server 後問題就解決了。
 
sudo locale-gen zh_TW.UTF-8 

 


留言

熱門文章