I was following this tutorial to install nextcloud on my homeserver.
After installing the database software, I need to install the last component – PHP.
However, after running the commands displayed on the tutorial I run into some errors :
Package php7.0-common is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
I already tried to find solutions but they seem outdated, that’s why I raise this new topic
Thank you very much for your help.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
While browsing solutions, I have already ran some commands to fix the problem :
sudo add-apt-repository ppa:ondrej/php-7.0 sudo apt-get install software-properties-common -y sudo apt-get update sudo apt-cache search php7.0-curl
and sudo apt-get install php7.0-curl from here