Here you also had a fix:
Before the apt-get install
you should execute apt update
Uff, you messed it up.
Before continue, if your hosting provider allows to make a snapshot to your server, do it.
You must uninstall that package php8.2-common_8.2.7-1~deb12u1_amd64.deb
dpkg --remove php8.2-common
I don’t know if you can do it cleanly but if the package can be removed, try to update and reinstall the packages.
apt update
apt install php8.2-common php8.2-gmp
Good luck.
1 Like