I have fixed the apt update errors but still not able to install php
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get update
Hit:1 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease
Hit:3 http://ppa.launchpad.net/jgmath2000/et/ubuntu bionic InRelease
Hit:4 http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.4/ubuntu bionic InRelease
Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Get:6 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:7 http://ppa.launchpad.net/wordops/nginx-wo/ubuntu bionic InRelease
Fetched 64.4 kB in 3s (22.8 kB/s)
Reading package lists... Done
wordops.log
cat /var/log/wo/wordops.log 1 ↵
2024-01-14 17:49:48,574 (INFO) wo : Initializing WordOps Database
2024-01-14 17:49:48,577 (DEBUG) wo.core.logging : Setting apt_packages variable for PHP 8.1
2024-01-14 17:49:48,680 (DEBUG) wo.core.logging : Calling pre_pref
2024-01-14 17:49:48,681 (DEBUG) wo.core.logging : Adding ppa for PHP
2024-01-14 17:49:48,682 (INFO) wo : Adding repository for PHP, please wait...
2024-01-14 17:49:48,682 (DEBUG) wo.core.logging : ppa_author = ondrej
2024-01-14 17:49:48,682 (DEBUG) wo.core.logging : ppa_package = php
2024-01-14 17:49:48,682 (DEBUG) wo.core.logging : ppa already added
2024-01-14 17:49:48,683 (INFO) wo : Updating apt-cache
2024-01-14 17:49:52,509 (INFO) wo : Updating apt-cache
2024-01-14 17:49:52,511 (INFO) wo : Installing APT packages
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php8.1-bcmath
E: Couldn't find any package by glob 'php8.1-bcmath'
E: Couldn't find any package by regex 'php8.1-bcmath'
E: Unable to locate package php8.1-cli
E: Couldn't find any package by glob 'php8.1-cli'
E: Couldn't find any package by regex 'php8.1-cli'
E: Unable to locate package php8.1-common
E: Couldn't find any package by glob 'php8.1-common'
E: Couldn't find any package by regex 'php8.1-common'
E: Unable to locate package php8.1-curl
E: Couldn't find any package by glob 'php8.1-curl'
E: Couldn't find any package by regex 'php8.1-curl'
E: Unable to locate package php8.1-fpm
E: Couldn't find any package by glob 'php8.1-fpm'
E: Couldn't find any package by regex 'php8.1-fpm'
E: Unable to locate package php8.1-gd
E: Couldn't find any package by glob 'php8.1-gd'
E: Couldn't find any package by regex 'php8.1-gd'
E: Unable to locate package php8.1-igbinary
E: Couldn't find any package by glob 'php8.1-igbinary'
E: Couldn't find any package by regex 'php8.1-igbinary'
E: Unable to locate package php8.1-imagick
E: Couldn't find any package by glob 'php8.1-imagick'
E: Couldn't find any package by regex 'php8.1-imagick'
E: Unable to locate package php8.1-imap
E: Couldn't find any package by glob 'php8.1-imap'
E: Couldn't find any package by regex 'php8.1-imap'
E: Unable to locate package php8.1-intl
E: Couldn't find any package by glob 'php8.1-intl'
E: Couldn't find any package by regex 'php8.1-intl'
E: Unable to locate package php8.1-mbstring
E: Couldn't find any package by glob 'php8.1-mbstring'
E: Couldn't find any package by regex 'php8.1-mbstring'
E: Unable to locate package php8.1-memcached
E: Couldn't find any package by glob 'php8.1-memcached'
E: Couldn't find any package by regex 'php8.1-memcached'
E: Unable to locate package php8.1-msgpack
E: Couldn't find any package by glob 'php8.1-msgpack'
E: Couldn't find any package by regex 'php8.1-msgpack'
E: Unable to locate package php8.1-mysql
E: Couldn't find any package by glob 'php8.1-mysql'
E: Couldn't find any package by regex 'php8.1-mysql'
E: Unable to locate package php8.1-opcache
E: Couldn't find any package by glob 'php8.1-opcache'
E: Couldn't find any package by regex 'php8.1-opcache'
E: Unable to locate package php8.1-readline
E: Couldn't find any package by glob 'php8.1-readline'
E: Couldn't find any package by regex 'php8.1-readline'
E: Unable to locate package php8.1-redis
E: Couldn't find any package by glob 'php8.1-redis'
E: Couldn't find any package by regex 'php8.1-redis'
E: Unable to locate package php8.1-soap
E: Couldn't find any package by glob 'php8.1-soap'
E: Couldn't find any package by regex 'php8.1-soap'
E: Unable to locate package php8.1-xdebug
E: Couldn't find any package by glob 'php8.1-xdebug'
E: Couldn't find any package by regex 'php8.1-xdebug'
E: Unable to locate package php8.1-xml
E: Couldn't find any package by glob 'php8.1-xml'
E: Couldn't find any package by regex 'php8.1-xml'
E: Unable to locate package php8.1-zip
E: Couldn't find any package by glob 'php8.1-zip'
E: Couldn't find any package by regex 'php8.1-zip'
2024-01-14 17:49:52,786 (INFO) wo : Oops Something went wrong!!
2024-01-14 17:49:52,792 (ERROR) wo : Check the WordOps log for more details `tail /var/log/wo/wordops.log` and please try again...