Dev/Linux

Fedora 27 에서 28 로 업그레이드

Itips 2020. 1. 21. 21:00
반응형

간단한 몇가지 명령어만으로 페도라 27에서 28 로 업그레이드가 가능하다. 

$ sudo dnf upgrade --refresh

$ sudo dnf install dnf-plugin-system-upgrade

$ sudo dnf system-upgrade download --releasever=28

$  sudo dnf system-upgrade reboot

 

만약 업그레이드 도중 아래와 같은 에러를 만난다면:

Error:
 Problem: nss-pem-1.0.3-6.fc27.i686 has inferior architecture
  - nss-pem-1.0.3-6.fc27.x86_64 does not belong to a distupgrade repository
  - problem with installed package nss-pem-1.0.3-6.fc27.i686

아래처럼 nss-pem-1.0.3-9.fc28 을 설치한 후 다시 위의 업그레이드 과정을 계속한다. 

$ sudo dnf install nss-pem-1.0.3-9.fc28 --releasever=28

또는 아래와 같은 에러를 만난다면

Error: Failed to synchronize cache for repo 'updates'

아래와 같이 정리후 업그레이드를 재 실행한다.

dnf clean all
반응형