Upgrade Ubuntu

깊이있는 삽질 Ubuntu Korea Community Wiki
이동: 둘러보기, 검색

우분투 업그레이드 하기[편집]

사용중인 우분투를 상위 버전으로 업그레이드 하는 법을 몇가지 알아봅시다.

내장된 업그레이드 기능 이용[편집]

  • 소프트웨어&업데이트 프로그램을 켜세요
  • 업데이트 탭으로 이동합니다
  • 새 우분투 버전 알려주기를 원하는 것으로 바꾸세요.
    • 장기 지원 버전 : 2년마다 나오는 버전(5년 지원)만
    • 모든 새 버전 : 6개월마다 나오는 일반 버전(9개월 지원) 포함한 모든 새 버전


소프트웨어 업데이트 도구 또는 터미널을 켜세요.

  • 소프트웨어 업데이트 도구를 켠 경우

업그레이드가 사용 가능한경우 자동으로 업그레이드를 시작할지 알려줍니다. 업데이트 도구를 따라 업그레이드를 진행하세요.


  • 터미널을 켠 경우

아래 명령어를 실행하면, 사용 가능한 업그레이드가 있는 경우, 업그레이드가 진행됩니다.

sudo do-release-upgrade

만약, 개발자 버전으로 업그레이드 하고 싶으시면, "-d" 옵션을 사용하세요.

sudo do-release-upgrade -d

패키지 저장소를 상위버전의 것으로 변경 후 패키지 업데이트 하기[편집]

저장소 정보 변경하기[편집]

다음과 같은 명령어를 실행하여, 저장소 정보 파일을 텍스트 에디터로 엽니다.

sudo (편집 에사용 할 텍스 트에디 터이름) /etc/apt/sources.list

예시

sudo gedit /etc/apt/sources.list

아래와 같이 저장소 정보가 나타날 것입니다, 사용중인 우분투 버전에 해당되는 릴리즈네임을 상위버전의 릴리즈네임으로 바꾸세요.(#으로 주석처리된 줄 제외)

 예시:13.10(Saucy Salamander) → 14.04(Trusty Thar)
 저장소 정보 텍스트에서  saucy  를 trusty 로 변경
 

수정전 우분투 13.10 의 저장소 정보파일.

#deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release i386]/ Saucy main restricted
 
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ftp.daum.net/ubuntu/ saucy main restricted
deb-src http://ftp.daum.net/ubuntu/ saucy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ftp.daum.net/ubuntu/ saucy-updates main restricted
deb-src http://ftp.daum.net/ubuntu/ saucy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ftp.daum.net/ubuntu/ saucy universe
deb-src http://ftp.daum.net/ubuntu/ saucy universe
deb http://ftp.daum.net/ubuntu/ saucy-updates universe
deb-src http://ftp.daum.net/ubuntu/ saucy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ftp.daum.net/ubuntu/ saucy multiverse
deb-src http://ftp.daum.net/ubuntu/ saucy multiverse
deb http://ftp.daum.net/ubuntu/ saucy-updates multiverse
deb-src http://ftp.daum.net/ubuntu/ saucy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ftp.daum.net/ubuntu/ saucy-backports main restricted universe multiverse
deb-src http://ftp.daum.net/ubuntu/ saucy-backports main restricted universe multiverse

deb http://ftp.daum.net/ubuntu/ saucy-security main restricted
deb-src http://ftp.daum.net/ubuntu/ saucy-security main restricted
deb http://ftp.daum.net/ubuntu/ saucy-security universe
deb-src http://ftp.daum.net/ubuntu/ saucy-security universe
deb http://ftp.daum.net/ubuntu/ saucy-security multiverse
deb-src http://ftp.daum.net/ubuntu/ saucy-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu saucy partner
# deb-src http://archive.canonical.com/ubuntu saucy partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu saucy main
deb-src http://extras.ubuntu.com/ubuntu saucy main

우분투 14.04 의 저장소 정보로 수정한 우분투 13.10 의 저장소 정보파일.

#deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release i386]/ Saucy main restricted
 
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ftp.daum.net/ubuntu/ trusty main restricted
deb-src http://ftp.daum.net/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ftp.daum.net/ubuntu/ trusty-updates main restricted
deb-src http://ftp.daum.net/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ftp.daum.net/ubuntu/ trusty universe
deb-src http://ftp.daum.net/ubuntu/ trusty universe
deb http://ftp.daum.net/ubuntu/ trusty-updates universe
deb-src http://ftp.daum.net/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ftp.daum.net/ubuntu/ trusty multiverse
deb-src http://ftp.daum.net/ubuntu/ trusty multiverse
deb http://ftp.daum.net/ubuntu/ trusty-updates multiverse
deb-src http://ftp.daum.net/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ftp.daum.net/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ftp.daum.net/ubuntu/ trusty-backports main restricted universe multiverse

deb http://ftp.daum.net/ubuntu/ trusty-security main restricted
deb-src http://ftp.daum.net/ubuntu/ trusty-security main restricted
deb http://ftp.daum.net/ubuntu/ trusty-security universe
deb-src http://ftp.daum.net/ubuntu/ trusty-security universe
deb http://ftp.daum.net/ubuntu/ trusty-security multiverse
deb-src http://ftp.daum.net/ubuntu/ trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu saucy partner
# deb-src http://archive.canonical.com/ubuntu saucy partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main

수정이 끝났으면, 파일을 저장하고 닫습니다.

저장소 정보 업데이트 및 패키지 업그레이드(=우분투 상위버전 으로 업그레이드)진행[편집]

아래 명령어를 실행하여, 저장소 정보를 업데이트 합니다.

sudo apt-get update

아래 명령어를 실행하여, 모든 주요 패키지들을 우분투 상위버전의 패키지로 업그레이드 함으로써, 사용중인 우분투를 상위버전으로 업그레이드 합니다.

sudo apt-get upgrade && sudo apt-get dist-upgrade

사용하던 버전 지우고 새로 상위버전 설치[편집]

별거 없습니다.제목 그대로, 우분투 설치에 쓸 부팅USB나, 디스크로, 우분투를 완전히 세로 설치하세요(물론 상위버전의 우분투로).