사용자 도구

사이트 도구


linux:ubuntu:upgrade

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
linux:ubuntu:upgrade [2016/01/02 23:05]
kwon37xi
linux:ubuntu:upgrade [2021/11/11 15:40] (현재)
kwon37xi [PPA 등도 함께 업그레이드]
줄 28: 줄 28:
   * 패키지 및 배포판 업그레이드 관리<code sh>   * 패키지 및 배포판 업그레이드 관리<code sh>
 sudo apt-get install update-manager sudo apt-get install update-manager
 +</code>
 +
 +===== PPA 등도 함께 업그레이드 =====
 +  * Ubuntu release 버전을 업그레이드할 때 기본적으로 third party repository는 구버전으로 그대로 남아 있으면서 disable 돼 버림.
 +
 +==== distribution 변경 작업 ====
 +  * 이를 처리하려면 수동으로는 ''/etc/apt/sources.list.d/''의 파일들에서 배포판 버전을 직접 변경하거나
 +  * "소프트웨어 & 업데이트"에서 편집해서 바꾸거나
 +  * [[https://newbedev.com/is-there-a-tool-to-update-my-ppa-sources-list-entries-after-upgrading|y-ppa-manager]]의 **Re-enable working PPAs after Ubuntu Upgrade** 기능으로 PPA들을 업그레이드해줄 수 있다.
 +
 +==== PPA/ThirdPartyRepository 비활성화 금지 ====
 +  * 배포판 업그레이드시에 PPA/ThirdParty 리포지토리는 자동으로 disable 되는데, 이를 막는 방법.
 +  * **단순히 disable만 막을 뿐, distribution 변경 작업은 해야만 한다.**
 +  * ''18.10'' -> ''19.04''부터 자동으로 가능해짐.
 +  * [[https://askubuntu.com/questions/1238908/do-release-upgrade-disables-third-party-software-sources-easy-way-to-re-enable|apt - do-release-upgrade disables third party software sources. Easy way to re-enable them? - Ask Ubuntu]]
 +  * [[https://www.linuxuprising.com/2019/01/ubuntu-users-can-now-keep-ppas-and.html|Ubuntu Users Can Now Keep PPAs And Third Party Repositories Enabled When Upgrading To A Newer Ubuntu Version - Linux Uprising Blog]]
 +  * ''RELEASE_UPGRADER_ALLOW_THIRD_PARTY'' 환경 변수 혹은 설정을 통해 할 수 있다.
 +
 +<code sh>
 +# 일시적으로만 필요하므로 환경 변수를 통해 처리
 +# GUI
 +RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 update-manager -d
 +
 +# CLI
 +RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgrade -d
 +</code>
 +  * 설정으로 처리 : ''/etc/update-manager/release-upgrades.d/원하는파일명.cfg'' 생성
 +<code>
 +[Sources]
 +AllowThirdParty = yes
 +
 +# 특정 ThirdParty 를 지정해서 disable 금지
 +[ThirdPartyMirrors]
 +{unique_name} = {url}
 +
 +# example
 +[ThirdPartyMirrors]
 +opera/opera-stable=http://deb.opera.com/opera-stable/
 </code> </code>
  
linux/ubuntu/upgrade.1451745354.txt.gz · 마지막으로 수정됨: 2016/01/02 23:05 저자 kwon37xi