tried this link and several other from all over but I can’t get it to work.

I need php 7.3 on a already running droplet. Since trying to install it did not work I tried to upgrade from 19.04 and bricked the dropled.

Trying to runsudo add-apt-repository ppa:ondrej/php returns the messages bellow. Anyone have a solution or a way out? My whole sunday is gone trying to fix this, no progress.

Also, why is ubuntu 19.04 in a limbo? Cant even tag this post with it.

Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

IMPORTANT: The <foo>-backports is now required on older Ubuntu releases.

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advised to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
 More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Ign:2 http://mirrors.digitalocean.com/ubuntu disco-updates InRelease
Err:3 http://mirrors.digitalocean.com/ubuntu disco-updates Release
  404  Not Found [IP: 172.67.168.253 80]
Hit:4 http://old-releases.ubuntu.com/ubuntu disco InRelease
Hit:5 http://old-releases.ubuntu.com/ubuntu disco-updates InRelease
Hit:6 http://old-releases.ubuntu.com/ubuntu disco-backports InRelease
Hit:7 http://old-releases.ubuntu.com/ubuntu disco-security InRelease
Ign:8 http://archive.ubuntu.com/ubuntu disco-backports InRelease
Ign:9 http://archive.ubuntu.com/ubuntu disco-updates InRelease
Ign:10 http://archive.ubuntu.com/ubuntu disco-security InRelease
Err:11 http://archive.ubuntu.com/ubuntu disco-backports Release
  404  Not Found [IP: 91.189.88.142 80]
Err:12 http://archive.ubuntu.com/ubuntu disco-updates Release
  404  Not Found [IP: 91.189.88.142 80]
Hit:13 http://ppa.launchpad.net/ondrej/php/ubuntu disco InRelease
Err:14 http://archive.ubuntu.com/ubuntu disco-security Release
  404  Not Found [IP: 91.189.88.142 80]
Hit:15 http://ppa.launchpad.net/certbot/certbot/ubuntu disco InRelease
Reading package lists... Done
E: The repository 'http://mirrors.digitalocean.com/ubuntu disco-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 disco-backports 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://archive.ubuntu.com/ubuntu disco-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://archive.ubuntu.com/ubuntu disco-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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi there @Fenweldryn,

There is no direct upgrade from Ubuntu 19.04 to Ubuntu 20.04. First, you need to upgrade to Ubuntu 19.10 and then to Ubuntu 20.04.

I recently did this for one of my servers. Even though it went through pretty smoothly, I would recommend taking a backup of your Droplet and also prepare for some downtime as you would need to reboot the server a couple of times during the process.

Regards,
Bobby

Submit an Answer