This is strange... on mine, I get:
sudo apt install -y php-fpm ─╯
[sudo] password for mech-one:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
php-common php7.4-cli php7.4-common php7.4-fpm php7.4-json php7.4-opcache
php7.4-readline
Suggested packages:
php-pear
The following NEW packages will be installed:
php-common php-fpm php7.4-cli php7.4-common php7.4-fpm php7.4-json
php7.4-opcache php7.4-readline
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
And it installed. (Now, I need to remove it...
)
In terminal, run
sudo -i
Now, launch the elevated File Manager:
nautilus
Click on Other Locations in the left pane. Then, "Computer".
Now, navigate to /etc/apt
Right click on sources.list
and select to Open With Text Editor
Scroll down to //ir.archive.ubuntu.com/ubuntu focal-updates
and remove the ir
to make it look exactly like //archive.ubuntu.com/ubuntu
Repeat this for //ir.archive.ubuntu.com/ubuntu focal-backports
Once done, save the file and close it.
You can exit the sudo -i
in terminal
exit
Now, run
sudo apt update && sudo apt upgrade