The following packages have unmet dependencies: php8.1-fpm : Depends: php8.1-cli but it is not going to be installed Depends: libpcre2-8-0 (>= 10.38) but 10.34-7 is to be installed E: Unable to correct problems, you have held broken packages.
➜ ~ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
➜ ~ sudo apt install -y php-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php-fpm : Depends: php8.1-fpm but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
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
You need to preform the upgrade so the system is up to date... I'm thinking the dependency may require a certain version of library so that it will install. I know Aravisian's machine is up to date, which leads me to believe that a library needs updated for the dependency of php.
Yes - You guess correctly.
In order to install - and to use installed wine - those 32 bit packages are necessary.
Which explains all the wine32 trouble you were having - and that it showed wine64 as installed.
This: apt install libpcre2-8-0 is breaking it.