I am trying to update a different server from Debian 11 to Debian 12. I had no problem updating this server from Debian 10 to Debian 11 a few years ago. But now there appears to be a big problem. I created a full admin backup with Hestia and downloaded it and I made sure I was using the latest version of Hestia. Which is 1.9.6. Then I opened a terminal in root and used: apt update && apt upgrade -y
I then changed the sources from bullseye to bookworm with: nano /etc/apt/sources.list
I then updated with this: apt update
The system provided the following message: 584 packages can be upgraded.
But then listed these errors:
Failed to fetch https://packages.sury.org/apache2/dists/bullseye/InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]>
W: Failed to fetch https://packages.sury.org/php/dists/bullseye/InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
I then did the first step in the two part process with this:
apt upgrade --without-new-pkgs
This ended with the following error message:
E: Failed to fetch https://packages.sury.org/php/pool/main/m/mpdecimal/libmpdec3_2.5.1-2%2b0%7e20240210.5%2bdebian11%7e1.gbp216c03_amd64.deb 404 Not Found [IP: 151.101.131.52 443]
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
So I ran: apt-get update But it ended with:
W: Failed to fetch https://packages.sury.org/apache2/dists/bullseye/InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]>
W: Failed to fetch https://packages.sury.org/php/dists/bullseye/InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Hoping this problem might resolve itself, I did:
apt full-upgrade -y
But it ended with this error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Error!
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:
mariadb-client-core-10.6 : Conflicts: mariadb-client-10.6 (< 1:10.6.27+maria~deb11) but 1:10.6.16+maria~deb11 is to be installed
mariadb-server-core-10.6 : Breaks: mariadb-client-10.6 (< 1:10.6.27+maria~deb11) but 1:10.6.16+maria~deb11 is to be installed
Breaks: mariadb-server-10.6 (< 1:10.6.27+maria~deb11) but 1:10.6.16+maria~deb11 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
At this point I do not know what to do. Any suggestions would be appreciated.