Upgrade von Debian 8 (Jessie) auf 9 (Stretch)

Upgrade von Debian 8 (Jessie) auf 9 (Stretch)

Ich bin gerade dabei, meine Debian 8 (Jessie)-Maschine auf Debian 9 (Stretch) zu aktualisieren.

Die aktuelle Kernelversion ist:

# 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

Im Moment habe ich sichergestellt, dass alle meine Pakete unter Debian 8 auf dem neuesten Stand sind.

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

Mein /etc/apt/sources.list.d/Ordner enthält folgendes:

# 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

Die Betriebssystemdetails sind:

# 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/"

Als Teil meines eigentlichen Upgrades auf Debian 9 habe ich nun die folgende Datei hinzugefügt /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

Nachdem ich diese Datei hinzugefügt habe, habe ich einen ausgeführt apt updateund kann sehen, dass die Stretch-Quellen tatsächlich gelesen werden.

Und wenn ich ein mache, apt upgradepassiert nichts und sagtAll packages are up to date.

Die folgenden 2 Befehle geben zurück0 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.

Es scheint kein Upgrade auf Debian 9 zu geben. Irgendeine Idee, was ich hier übersehe?

Antwort1

Haben Sie die Jessie-Repos deaktiviert? Wenn nicht, versuchen Sie es bitte. Führen Sie es aus. apt update && apt upgradeWenn es erfolgreich war, versuchen Sie es erneut apt dist-upgradeund starten Sie neu, um das Upgrade abzuschließen und zu bestätigen.

verwandte Informationen