NEWS
[Gelöst] Ubuntu updaten
-
Hallo Zusammen, ich bekomme wenn ich mich über die Console anmlede udn ein apt-get udate && apt-get upgrade mache folgende Meldung:
Welcome to Ubuntu 21.10 (GNU/Linux 5.15.35-1-pve x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife New release '22.04.1 LTS' available. Run 'do-release-upgrade' to upgrade to it. Nach der Anmeldung das:
Updaten das hier dann:
apt-get 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.38 80] Err:6 http://archive.ubuntu.com/ubuntu impish-updates Release 404 Not Found [IP: 91.189.91.38 80] Err:7 http://archive.ubuntu.com/ubuntu impish-security Release 404 Not Found [IP: 91.189.91.38 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.
und das beim upgraden:
apt-get 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?
Was macht man denn in solch einem Fall?
Gibts da ein How to?Danke und Gruss
-
-
@tmartin O.K. aber was heisst das?
gibts da nicht einfacheres ?
-
@kusselin
Dein Ubuntu ist wohl zu alt und Du solltet ein aktuelles verwenden. -
sudo do-release-upgrade
Und künftig keine Zwischenversionen einsetzen sondern nur LTS-Releases.
-
@kusselin sagte in Ubuntu updaten:
Run 'do-release-upgrade' to upgrade
Steht ja auch da, wie Thomas schon schrieb
-
@jan1 ja genau...das sehe ich ja auch...das es alt ist....
und da muss es doch eine möglichkeit über console geben ubzugraden auf die nächst höhere version
-
-
@thomas-braun sagte in Ubuntu updaten:
sudo do-release-upgrade
Und künftig keine Zwischenversionen einsetzen sondern nur LTS-Releases.
O.K. danke Dir ..mit dem befehl solls gehen?
-
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?