NEWS
[Gelöst] Ubuntu updaten
-
Ja.
-
@thomas-braun schau...was muss ich hier denn machen??
sudo do-release-upgrade Checking for a new Ubuntu release Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife Please install all available updates for your release before upgrading.
-
sudo apt update sudo apt full-upgrade sudo reboot
-
@thomas-braun sagte in Ubuntu updaten:
sudo apt full-upgrade
nee thomas.....das klappt so nicht...das wäre zu einfach
sudo apt update Hit:1 http://ppa.launchpad.net/ondrej/php/ubuntu impish InRelease Ign:2 http://archive.ubuntu.com/ubuntu impish InRelease Ign:3 http://archive.ubuntu.com/ubuntu impish-updates InRelease Ign:4 http://archive.ubuntu.com/ubuntu impish-security InRelease Err:5 http://archive.ubuntu.com/ubuntu impish Release 404 Not Found [IP: 91.189.91.39 80] Err:6 http://archive.ubuntu.com/ubuntu impish-updates Release 404 Not Found [IP: 91.189.91.39 80] Err:7 http://archive.ubuntu.com/ubuntu impish-security Release 404 Not Found [IP: 91.189.91.39 80] Reading package lists... Done E: The repository 'http://archive.ubuntu.com/ubuntu impish Release' no longer has a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'http://archive.ubuntu.com/ubuntu impish-updates Release' no longer has a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'http://archive.ubuntu.com/ubuntu impish-security Release' no longer has a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. root@Nextcloud-live:~# sudo apt full-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apt apt-utils isc-dhcp-client isc-dhcp-common libapt-pkg6.0 libkeyutils1 libnss-systemd libpam-systemd libsystemd0 libudev1 python3-distupgrade systemd systemd-sysv systemd-timesyncd ubuntu-advantage-tools ubuntu-release-upgrader-core udev 17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 10.4 MB of archives. After this operation, 32.8 kB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 libnss-systemd amd64 248.3-1ubuntu8.6 404 Not Found [IP: 185.125.190.39 80] Err:2 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 libsystemd0 amd64 248.3-1ubuntu8.6 404 Not Found [IP: 185.125.190.39 80] Err:3 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 systemd-timesyncd amd64 248.3-1ubuntu8.6 404 Not Found [IP: 185.125.190.39 80] Err:4 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 systemd-sysv amd64 248.3-1ubuntu8.6 404 Not Found [IP: 185.125.190.39 80] Err:5 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 libpam-systemd amd64 248.3-1ubuntu8.6 404 Not Found [IP: 185.125.190.39 80] Err:6 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 systemd amd64 248.3-1ubuntu8.6 404 Not Found [IP: 185.125.190.39 80] Err:7 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 udev amd64 248.3-1ubuntu8.6 404 Not Found [IP: 185.125.190.39 80] Err:8 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 libudev1 amd64 248.3-1ubuntu8.6 404 Not Found [IP: 185.125.190.39 80] Err:9 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 libapt-pkg6.0 amd64 2.3.9ubuntu0.1 404 Not Found [IP: 185.125.190.39 80] Err:10 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 apt amd64 2.3.9ubuntu0.1 404 Not Found [IP: 185.125.190.39 80] Err:11 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 apt-utils amd64 2.3.9ubuntu0.1 404 Not Found [IP: 185.125.190.39 80] Err:12 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 libkeyutils1 amd64 1.6.1-2ubuntu2.1 404 Not Found [IP: 185.125.190.39 80] Err:13 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 isc-dhcp-client amd64 4.4.1-2.3ubuntu1.1 404 Not Found [IP: 185.125.190.39 80] Err:14 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 isc-dhcp-common amd64 4.4.1-2.3ubuntu1.1 404 Not Found [IP: 185.125.190.39 80] Err:15 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 ubuntu-advantage-tools amd64 27.9~21.10.1 404 Not Found [IP: 185.125.190.39 80] Err:16 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 ubuntu-release-upgrader-core all 1:21.10.10 404 Not Found [IP: 185.125.190.39 80] Err:17 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 python3-distupgrade all 1:21.10.10 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libnss-systemd_248.3-1ubuntu8.6_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libsystemd0_248.3-1ubuntu8.6_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd-timesyncd_248.3-1ubuntu8.6_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd-sysv_248.3-1ubuntu8.6_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libpam-systemd_248.3-1ubuntu8.6_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd_248.3-1ubuntu8.6_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_248.3-1ubuntu8.6_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev1_248.3-1ubuntu8.6_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg6.0_2.3.9ubuntu0.1_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_2.3.9ubuntu0.1_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_2.3.9ubuntu0.1_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/k/keyutils/libkeyutils1_1.6.1-2ubuntu2.1_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/isc-dhcp/isc-dhcp-client_4.4.1-2.3ubuntu1.1_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/isc-dhcp/isc-dhcp-common_4.4.1-2.3ubuntu1.1_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-advantage-tools/ubuntu-advantage-tools_27.9%7e21.10.1_amd64.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-release-upgrader/ubuntu-release-upgrader-core_21.10.10_all.deb 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-release-upgrader/python3-distupgrade_21.10.10_all.deb 404 Not Found [IP: 185.125.190.39 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
-
Installier es neu und halte da dann das EndOfLife im Auge und spring vorher auf den Nachfolger.
-
-
@thomas-braun sagte in Ubuntu updaten:
Installier es neu und halte da dann das EndOfLife im Auge und spring vorher auf den Nachfolger.
andree Möglichkeit wie neuinstallation gibts nicht?
-
Steht im dem Link drin:
https://help.ubuntu.com/community/EOLUpgrades
Aber auch dort wird geschrieben:
Reinstalling is usually easier and faster, especially if you would have to upgrade through several releases.
-
@kusselin hatte das kürzlich auch bei einer VM gemacht, sourceslist anpassen aufs aktuelle Ubuntu und danach das full update, geht ohne Probleme
-
@crunchip sagte in Ubuntu updaten:
hatte das kürzlich auch bei einer VM gemacht
war da das alte Repo auch nicht mehr erreichbar?
-
@crunchip sagte in Ubuntu updaten:
@kusselin hatte das kürzlich auch bei einer VM gemacht, sourceslist anpassen aufs aktuelle Ubuntu und danach das full update, geht ohne Probleme
das hier:
## EOL upgrade sources.list # Required deb http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse
muss in die source list.....
Bitte an euch...wo bzw. welche pfad ist das /etc/......?
und muss ich das alte dann komplett rausnehmen aus der source list udn das hier neu rein? -
@kusselin
Das ist die /etc/apt/sources.listIn deinem Fall muss die so aussehen:
deb http://old-releases.ubuntu.com/ubuntu/ impish main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ impish-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ impish-security main restricted universe multiverse
Weitere .list-Dateien (finden sich in /etc/apt/sources.list.d/ ) dann ggf. auch anpassen. Mindestens nach dem Upgrade auf den dann gültigen CODENAME (weiß gerade nicht bei welchem Viech die Ubuntus sind)
-
@homoran ja
-
o.k.die source list habe ich gefunden während du das hier geschrieben hast..
meine sieht jetzt so aus:
deb http://archive.ubuntu.com/ubuntu impish main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu impish-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu impish-security main restricted universe multiverse
und die aändere ich komplett in:
deb http://old-releases.ubuntu.com/ubuntu/ impish main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ impish-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ impish-security main restricted universe multiverse
dann speichern und udn apt-get update udn danach apt-get upgrade....richtig?
was ich jetzt aber noch nicht gerafft habe ist das mit dem Codename??
Wo und wie muss ich den verwednen?
-
Ja, geht auch. Unter Umständen.
'do-release-upgrade' macht aber u. U. noch anderes als 'nur' die Quellen umstellen. Daher würde ich immer versuchen über diesen Weg zu gehen. -
@kusselin sagte in Ubuntu updaten:
was ich jetzt aber noch nicht gerafft habe ist das mit dem Codename??
Wo und wie muss ich den verwednen?Hast du denn in
ls -lA /etc/apt/sources.list.d
weitere Dateien drin? Vermultich die nodesource.list.
-
Wenn die sources.list geändert ist:
sudo apt-get update sudo apt-get dist-upgrade sudo do-release-upgrade
-
@kusselin sagte in Ubuntu updaten:
richtig
nicht wirklich.
du sollst statt impish den aktuellen CODENAMEN eingeben.
prüf mal. das könnte CANONICAL sein. ich kenne mich bei UBUNTU nicht aus
-
Nein, das ist schon richtig mit 'impish'.
Der vorgesehene Upgrade-Vorgang über das 'do-release-upgrade'-Skript setzt die alte Versionsbezeichnung voraus.
Die wird im Zuge des Upgrades durch das Skript auf den jetzt aktuellen angepasst. -
@thomas-braun dann hab ich nix gesagt und auch nix editiert