Debian 8(Jessie)에서 9(Stretch)로 업그레이드

Debian 8(Jessie)에서 9(Stretch)로 업그레이드

내 Debian 8(Jessie) 컴퓨터를 Debian 9(Stretch)로 업데이트하는 중입니다.

현재 커널 버전은 다음과 같습니다.

# uname -a
Linux host 4.9.0-0.bpo.6-amd64 #1 SMP Debian 4.9.88-1+deb9u1~bpo8+1 (2018-05-13) x86_64 GNU/Linux

지금은 모든 패키지가 Debian 8에서 최신 상태인지 확인했습니다.

# apt update
.
.
.
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

/etc/apt/sources.list.d/폴더에는 다음이 포함되어 있습니다.

# ls -ltrh
total 16K
-rw-r--r-- 1 root root 575 Nov 22  2017 jessie.list
-rw-r--r-- 1 root root  72 Nov 22  2017 download_docker_com_linux_debian.list
-rw-r--r-- 1 root root  93 Jan 18  2018 jessie-backports.list

OS 세부정보는 다음과 같습니다.

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

이제 Debian 9로의 실제 업그레이드의 일부로 다음 파일을 아래에 추가했습니다 /etc/apt/sources.list.d/.

# cat  stretch.list


deb https://my-repository.com/debian/       stretch         main contrib non-free
deb https://my-repository.com/debian/       stretch-updates     main contrib non-free
deb https://my-repository.com/debian/   stretch-proposed-updates    main contrib non-free

deb https://my-repository.com/debian-security/  stretch/updates     main contrib non-free

이제 이 파일을 추가했으므로 이 apt update파일이 실제로 스트레치 소스를 읽고 있음을 확인할 수 있습니다.

그리고 내가 할 때 apt upgrade그것은 아무것도 하지 않고 이렇게 말합니다.All packages are up to date.

아래 2개의 명령이 반환됩니다.0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

데비안 9로 업그레이드하지 않는 것 같습니다. 여기서 제가 무엇을 놓치고 있는지 아시나요?

답변1

Jessie 저장소를 비활성화하셨나요? 그렇지 않은 경우 시도해 보고, apt update && apt upgrade성공했다면 실행한 후 apt dist-upgrade재부팅하여 업그레이드를 완료하고 확인하세요.

관련 정보