Review/IT

우분투 업그레이드 "Please install all available updates for your release before upgrading." 해결 18.04 to 20.04

흠지니어 2022. 1. 17. 10:42
반응형

아래 명령어를 통해 패키지 업데이트 이후

 

apt update && apt upgrade

아래 명령어로 수행 시

do-release-upgrade

 

Please install all available updates for your release before upgrading”

발생한다명 3rd party 패키지 source.list를 disable 해볼 필요가 있다.

해당 디렉토리로 이동 후 파일명 접미에 .disabled를 붙여준다.

cd /etc/apt/sources.list.d/
for i in *.list; do
  mv $i ${i}.disabled
done

불필요 패키지 정리 후

apt clean
apt autoclean

업그레이드

do-release-upgrade