전체적이 진행 과정은 Ubuntu 16.04LTS -> 18.04LTS 업그레이드 과정과 동일함.
- https://comengx.tistory.com/41?category=636582
Ubuntu 16.04LTS 에서 18.04LTS로 업그레이드 하기
데이터 백업 필수 업데이트 중 오류 발생 시 복원이 어려움 최신 업데이트 적용 설치 된 패키지를 최신으로 업데이트 적용 및 리부팅 # apt update && apt upgrade && apt dist-upgrad # reboot now apt update..
comengx.tistory.com
다만 do-release-upgrade 진행 시 LXD 관련 메시지가 나오면서 업그레이드 진행이 되지 않음 (무한 반복)
You have the package lxd installed but your system is unable to reach the Snap Store. lxd is now provided via a snap and the release upgrade will fail if snapd is not functional. Please make sure you're connected to the Internet and update any firewall or proxy settings as needed so that you can reach api.snapcraft.io. If you are an enterprise with a firewall setup you may want to configure a Snap Store proxy. |
대상 장비가 컨테이너 사용을 안할거라 LXD 삭제 후 do-release-upgrade 진행.;;; (이게 맞는지는 모르겠음)
# apt purge lxd lxd-client |
업그레이드 완료
리부팅 후 업그레이드 확인
# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal |