Q: /boot filled up  with old kernels that you'll probably never need.

    A: https://www.linuxjournal.com/content...aring-out-boot

    sudo dpkg --purge $(dpkg --list "linux-image*" | grep -v \
     $(uname -r) | grep ii | awk '{ print $2 }')
    
    Q: [Error] locale: Cannot set LC_ALL to default locale: No such file or directory

    A:

    #> locale
    locale: Cannot set LC_ALL to default locale: No such file or directory
    
    #> export LC_ALL="en_US.UTF-8"
    
    #> vi ~/.profile
    
    export LC_ALL="en_US.UTF-8"
    

    如果出現錯誤:-bash: warning: setlocale: LC_ALL: cannot change locale (zh_TW.UTF-8)

    檢查系統支援的語系 locale -a

    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core