우분투 23에서 24로 업그레이드 하기

2025. 1. 22. 23:18·Homeserver
728x90
반응형

개요

제 홈서버의 리버스 프록시용으로 혹사당하고 있는 PC는 우분투 23입니다.

24.04로 업그레이드 하는 과정을 간단히 적기 위해 글을 작성합니다.

 

우분투 24.04 업그레이드 하기

가장 최신으로 업데이트 한 뒤, update-manager-core를 설치합니다.

이후 do-release-upgrade로 업그레이드를 진행하면 됩니다.

23.04 설치 이후 23.10으로 판올림을 수행한 적이 없다면, 이 과정을 두 번 진행하셔야 합니다.

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install update-manager-core
sudo do-release-upgrade

이후 패키지 업데이트까지 완료되면, GRUB수정 및 비활성 패키지를 제거하는 작업이 계속됩니다.

Progress: [ 94%]
Processing triggers for man-db (2.11.2-1) ...
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료

바뀐 내용을 계산하는 중

바뀐 내용을 계산하는 중

.
.
.

새 버전의 설정 파일 /etc/grub.d/20_memtest86+ 설치하는 중입니다 ...
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-28-generic
Found linux image: /boot/vmlinuz-6.2.0-39-generic
Found initrd image: /boot/initrd.img-6.2.0-39-generic
Found linux image: /boot/vmlinuz-6.2.0-36-generic
Found initrd image: /boot/initrd.img-6.2.0-36-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
libglib-object-introspection-perl (0.050-2) 설정하는 중입니다 ...
python3-more-itertools (10.1.0-1) 설정하는 중입니다 ...
snapd (2.61.3+23.10) 설정하는 중입니다 ...
새 버전의 설정 파일 /etc/apparmor.d/usr.lib.snapd.snap-confine.real 설치하는 중입니다 ...

.
.
.

Processing triggers for linux-image-6.5.0-28-generic (6.5.0-28.29) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.5.0-28-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-28-generic
Found initrd image: /boot/initrd.img-6.5.0-28-generic
Found linux image: /boot/vmlinuz-6.2.0-39-generic
Found initrd image: /boot/initrd.img-6.2.0-39-generic
Found linux image: /boot/vmlinuz-6.2.0-36-generic
Found initrd image: /boot/initrd.img-6.2.0-36-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for ca-certificates (20230311ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.142ubuntu15.1) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-28-generic
Processing triggers for libc-bin (2.38-1ubuntu6.2) ...
Processing triggers for rygel (0.42.4-1ubuntu1) ...
Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.10+dfsg-1build1) ...
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료
snap 덮어쓰기 처리 중

installing snap firmware-updater

refreshing snap snapd-desktop-integration

refreshing snap firefox

refreshing snap gnome-42-2204

refreshing snap gtk-common-themes

refreshing snap snap-store

못 쓰게 된 소프트웨어를 검색하는 중
상태 정보를 읽는 중입니다... 완료

사용하지 못하게 된 패키지를 제거하시겠습니까?


패키지 87개를 제거할 것입니다.

 계속 [yN]  자세한 내용 [d]y

재부팅으로 업그레이드가 완료됩니다.

Progress: [ 94%]
Processing triggers for man-db (2.11.2-1) ...
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료

바뀐 내용을 계산하는 중

바뀐 내용을 계산하는 중

.
.
.

새 버전의 설정 파일 /etc/grub.d/20_memtest86+ 설치하는 중입니다 ...
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-28-generic
Found linux image: /boot/vmlinuz-6.2.0-39-generic
Found initrd image: /boot/initrd.img-6.2.0-39-generic
Found linux image: /boot/vmlinuz-6.2.0-36-generic
Found initrd image: /boot/initrd.img-6.2.0-36-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
libglib-object-introspection-perl (0.050-2) 설정하는 중입니다 ...
python3-more-itertools (10.1.0-1) 설정하는 중입니다 ...
snapd (2.61.3+23.10) 설정하는 중입니다 ...
새 버전의 설정 파일 /etc/apparmor.d/usr.lib.snapd.snap-confine.real 설치하는 중입니다 ...

.
.
.

Processing triggers for linux-image-6.5.0-28-generic (6.5.0-28.29) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.5.0-28-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-28-generic
Found initrd image: /boot/initrd.img-6.5.0-28-generic
Found linux image: /boot/vmlinuz-6.2.0-39-generic
Found initrd image: /boot/initrd.img-6.2.0-39-generic
Found linux image: /boot/vmlinuz-6.2.0-36-generic
Found initrd image: /boot/initrd.img-6.2.0-36-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for ca-certificates (20230311ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.142ubuntu15.1) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-28-generic
Processing triggers for libc-bin (2.38-1ubuntu6.2) ...
Processing triggers for rygel (0.42.4-1ubuntu1) ...
Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.10+dfsg-1build1) ...
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료
snap 덮어쓰기 처리 중

installing snap firmware-updater

refreshing snap snapd-desktop-integration

refreshing snap firefox

refreshing snap gnome-42-2204

refreshing snap gtk-common-themes

refreshing snap snap-store

못 쓰게 된 소프트웨어를 검색하는 중
상태 정보를 읽는 중입니다... 완료

사용하지 못하게 된 패키지를 제거하시겠습니까?


패키지 87개를 제거할 것입니다.

 계속 [yN]  자세한 내용 [d]y

 

업그레이드 확인 및 원격제어 설정

업그레이드 도중 슬그머니 배경화면이 바뀝니다 ㅎ_ㅎ

터미널에서 lsb_release -a 명령어를 통해 우분투 버전을 확인하실 수 있습니다.

lsb_release -a

 

이번 배포판의 가장 큰 특징인 RDP는 설정 – 시스템 – 원격 데스크톱 에서 설정할 수 있습니다.

이후 원격 로그인 탭에서 ID와 PW를 설정하여 로그인하실 수 있습니다.

 


 

관련 글

 

2025.01.22 - [Homeserver] - 라즈베리파이4에 우분투 24.04 Desktop 설치해보기

 

라즈베리파이4에 우분투 24.04 Desktop 설치해보기

개요이번에 정식 릴리즈 된 Ubuntu 24.04의 큰 특징 중 하나는 별도의 XRDP설치 없이 윈도우의 RDP를 지원하는 것입니다.VM으로 돌아가던 서비스 중 하나를 간단하게 라즈베리파이4로 옮겨볼 겸, 우분

worklazy.net

728x90
반응형
'Homeserver' 카테고리의 다른 글
  • Rocky Linux 9에 Docker 설치하기
  • Rocky Linux 루트파티션 크기 조절하기
  • Rocky Linux 9.4에 TigerVNC Server 설치하기
  • 라즈베리파이4에 우분투 24.04 Desktop 설치해보기
펜타네스트
펜타네스트
하라는 일은 안하고 월급루팡하고 싶은 직장인의 취미 기록장
    반응형
    250x250
  • 펜타네스트
    월급루팡의 꿈
    펜타네스트
  • 전체
    오늘
    어제
    • 분류 전체보기 (65)
      • Apps (17)
      • Homeserver (8)
      • Kubernetes (5)
      • Nextcloud (7)
      • Proxmox (4)
      • TrueNAS (12)
      • Torrent (7)
      • ETC (5)
  • 블로그 메뉴

    • 홈
  • 링크

    • 월급루팡의 꿈
    • 월급루팡의 일상
  • 공지사항

  • 인기 글

  • 태그

  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
펜타네스트
우분투 23에서 24로 업그레이드 하기
상단으로

티스토리툴바