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.

Debian 9 にアップグレードしていないようです。何が足りないのか分かりますか?

答え1

Jessie リポジトリを無効にしましたか? そうでない場合は、それを試して、apt update && apt upgrade成功した場合は実行しapt dist-upgrade、再起動してアップグレードを完了して確認してください。

関連情報