I get an error when i try apt-get update?

Knocklive

I'm trying to update my server with apt-get update and this error shows up...

My Server runs on Ubuntu 18.04

Ign:1 https://packages.sury.org/php bionic InRelease
Err:2 https://packages.sury.org/php bionic Release                                             
  404  Not Found [IP: 138.199.37.227 443]
Ign:3 http://old-releases.ubuntu.com/ubuntu bionic InRelease                                   
Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease                              
Ign:5 http://old-releases.ubuntu.com/ubuntu bionic-updates InRelease                                
Ign:6 http://old-releases.ubuntu.com/ubuntu bionic-security InRelease                               
Err:7 http://old-releases.ubuntu.com/ubuntu bionic Release                                          
  404  Not Found [IP: 185.125.190.40 80]
Err:8 http://old-releases.ubuntu.com/ubuntu bionic-updates Release                                  
  404  Not Found [IP: 185.125.190.40 80]
Err:9 http://old-releases.ubuntu.com/ubuntu bionic-security Release      
  404  Not Found [IP: 185.125.190.40 80]
Hit:10 https://packagecloud.io/pufferpanel/pufferpanel/ubuntu bionic InRelease
Reading package lists... Done 
E: The repository 'https://packages.sury.org/php bionic Release' does not 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://old-releases.ubuntu.com/ubuntu bionic Release' does not 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://old-releases.ubuntu.com/ubuntu bionic-updates Release' does not 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://old-releases.ubuntu.com/ubuntu bionic-security Release' does not 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.

Does anybody know how i can fix that?

Daniel Placencia

It looks like you are using repositories that do not contain this version of ubuntu (http://old-releases.ubuntu.com/ubuntu) and others designed for Debian (https://packages.sury.org/php).

I recommend you edit your /etc/apt/sources.list file, replace the content with the one you can find in this repository and then try with:

apt update

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

I get 404 error when I try endpoint on localhost

Why do I get an error for "__CrtGetFileInformationByHandleEx " when I try to compile

I get stray '#' in program error when I try to compile this program

Why I get error when I try to create stored procedure?

When i try to create react project i get error

I get error when i try to add value to defaultdict(str)

I get and error when I try to do pip install

I get an Error when I try to use Firebase Auth

A "failed to fetch" error occurs when apt-get update is run. How do I fix this?

How do I solve "Unable to fetch some archives, maybe run apt-get update or try with --fix-missing" error?

When and why should I use apt-get update?

When I try to use scanf with 2 arrays I get an error

I get an error when I try to finish an arguement in Android Studio

Error I get when I try install IDE Anjuta

I get an error when I try to initiate the front camera (Swift)

Error when I run sudo apt-get update

When I try to CURL a website I get SSL error

404 Not found error when I type sudo apt-get update

When running apt-get update I receive checksum errors

apt-get update error in Kali Linux that i dont understand

I get this error when I try to install

I get an error when I try to show the comments for each post

I get the error when i try get 50% of the image with cropperJS

Why I get error when I try to install pyaudio?

When I try to sync my Gradle files I get an error

Lua: I get error when I try to run a script in Windows

Why I get error when I try to declare local variable?

When i try to update my json file i get a error

I get an error when I try to execute an XQuery statement