it-swarm.com.de

Google Compute Engine Ubuntu 17.04 hat keine Release-Datei mehr

Ich habe gerade einen neuen Google Cloud Compute Engine-Server erstellt, der Ubuntu 17.04 als Startlaufwerk verwendet:

Ubuntu 17.04
AMD64 zesty image built on 2017-12-08

Wenn ich versuche, Sudo apt-get update auszuführen, erhalte ich die folgenden Fehlermeldungen, bevor ich etwas anderes mache:

Ign:1 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty InRelease
Ign:2 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-updates 

InRelease
Ign:3 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-backports InRelease
Ign:4 http://security.ubuntu.com/ubuntu zesty-security InRelease             
Err:5 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty Release        
  404  Not Found [IP: 35.195.241.40 80]
Err:6 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-updates Release
  404  Not Found [IP: 35.195.241.40 80]
Err:7 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-backports Release
  404  Not Found [IP: 35.195.241.40 80]
Err:8 http://security.ubuntu.com/ubuntu zesty-security Release               
  404  Not Found [IP: 91.189.88.161 80]
Hit:9 http://archive.canonical.com/ubuntu zesty InRelease                    
Reading package lists... Done                          
E: The repository 'http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty Release' does no longer have 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://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-updates Release' does no longer have 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://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-backports Release' does no longer have 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://security.ubuntu.com/ubuntu zesty-security Release' does no longer have 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.

Unter http://europe-west1.gce.archive.ubuntu.com/ubuntu/ sehe ich heute Updates von weniger als einer Stunde.

Ist dies ein Fehler von Google oder habe ich etwas falsch gemacht?

14
chapmanio

Ich bestätige, dass "E: Das Repository ' http://ru.archive.ubuntu.com/ubuntu zesty Release' keine Release-Datei mehr hat."

Gelöst wie zuvor vorgeschlagen durch Heroin im Rezept https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-error-saucyraring -quantal-oneiric-natty/

Führen Sie den folgenden Befehl auf Ihrem Server aus. Er ersetzt alle URLs des Archiv-Repositorys archive.ubuntu.com und security.ubuntu.com durch old-releases.ubuntu.com

Sudo sed -i -e/archive.ubuntu.com\| security.ubuntu.com/old-releases.ubuntu.com/de/etc/apt/sources.list

Leider funktioniert dieser sed-Befehl nicht für Sie, wenn Sie einen nationalen Spiegel ausgewählt haben (z. B. us.archive.ubuntu.com für Aktualisierungen). Dann können Sie Zeichenfolgen in der Datei /etc/apt/sources.list aktualisieren, indem Sie alle Einträge wie http://*.archive.ubuntu.com und http://*.security.ubuntu.com manuell in http://old-releases.ubuntu.com ändern ein Texteditor, 

Sudo nano /etc/apt/sources.list

oder

Sudo vi /etc/apt/sources.list

Zum Beispiel wird Ihr http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty InRelease zu http://old-releases.ubuntu.com/ubuntu zesty InRelease und so weiter.

Hier ist meine aktualisierte Datei /etc/apt/sources.list:

# deb cdrom:[Kubuntu 17.04 _Zesty Zapus_ - Release AMD64 (20170412)]/ zesty main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://old-releases.ubuntu.com/ubuntu/ zesty main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu/ zesty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://old-releases.ubuntu.com/ubuntu/ zesty-updates main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu/ zesty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://old-releases.ubuntu.com/ubuntu/ zesty universe
# deb-src http://old-releases.ubuntu.com/ubuntu/ zesty universe
deb http://old-releases.ubuntu.com/ubuntu/ zesty-updates universe
# deb-src http://old-releases.ubuntu.com/ubuntu/ zesty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://old-releases.ubuntu.com/ubuntu/ zesty multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu/ zesty multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-updates multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu/ zesty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://old-releases.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu zesty partner
# deb-src http://archive.canonical.com/ubuntu zesty partner

deb http://old-releases.ubuntu.com/ubuntu zesty-security main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu zesty-security main restricted
deb http://old-releases.ubuntu.com/ubuntu zesty-security universe
# deb-src http://old-releases.ubuntu.com/ubuntu zesty-security universe
deb http://old-releases.ubuntu.com/ubuntu zesty-security multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu zesty-security multiverse
16
Denis Trofimov

17.04. Ist seit dem 13. Januar 2018 zu Ende. Sie müssen zu einer neueren Version wechseln oder eine langfristig stabile Version verwenden: https://wiki.ubuntu.com/Releases

7
Jeremy Walters

Zesty hat keine Freigabedatei mehr, tatsächlich "END OF LIFE CYCLE"

Ich hatte das gleiche Problem, die Lösung liegt in diesem Link, es funktioniert für mich ...

https://help.ubuntu.com/community/EOLUpgrades

Hoffe meine Antwort würde helfen.

2
Sofiene Fehri

Das Problem scheint nicht bei Google zu sein, sondern bei der Tatsache, dass Sie versuchen, Updates von HTTP und nicht von HTTPS zu erhalten.

Versuchen Sie diese Option von apt-get zu verwenden:

--allow-unauthenticated
       Ignore if packages can't be authenticated and don't Prompt about it. This can be useful while working with local repositories, but is a huge security risk if data authenticity isn't ensured in another way by the
       user itself. The usage of the Trusted option for sources.list(5) entries should usually be preferred over this global override. Configuration Item: APT::Get::AllowUnauthenticated.
0
heroin