美文网首页
ubuntu 18.04 update 20.04

ubuntu 18.04 update 20.04

作者: HaoDongZ | 来源:发表于2023-08-27 12:09 被阅读0次

    参考文档:https://www.hostwinds.cn/tutorials/how-to-upgrade-from-ubuntu-18-04-lts-bionic-beaver-to-ubuntu-20-04-lts-focal-fossa

    #18.04 update 20.04 ,bionic 改成 focal 代号名称
    sed -i 's/bionic/focal/g' /etc/apt/sources.list   
    sed -i 's/bionic/focal/g' /etc/apt/sources.list.d/*.lis
    
    sudo apt clean && sudo apt update  && apt --purge autoremove && sudo rm -r /etc/apparmor.d/cache
    
    sudo apt install apparmor && apt upgrade -y   &&  sudo do-release-upgrade &&sudo apt dist-upgrade
    
    lsb_release -a 
    cat /proc/version
    reboot
    

    相关文章

      网友评论

          本文标题:ubuntu 18.04 update 20.04

          本文链接:https://www.haomeiwen.com/subject/omhwmdtx.html