Debian Trixie Dependancy Errors
-
Hello,
I’ve ran into a problem. When upgrading from Debian 12 to Debian 13 I no longer can get to the webpage for fog. I get a 503 service unavailable. After seeing that I decided to re-run the installer to see if that would help but then I get the following dependency conflicts and was wondering if anyone has ran into this yet with Debian 13 Trixie.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
systemd-sysv : Conflicts: initscripts but 3.14-4 is to be installed
Conflicts: insserv but 1.26.0-1 is to be installed
Conflicts: startpar but 0.66-1 is to be installed
Conflicts: sysv-rc but 3.14-4 is to be installed
Conflicts: sysvinit-core but 3.14-4 is to be installed
sysvinit-core : Conflicts: systemd-sysv but 257.9-1~deb13u1 is to be installed
Recommends: orphan-sysvinit-scripts but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:- sysvinit-core:amd64 is not selected for install because:
- systemd-sysv:amd64 is selected for install
- systemd-sysv:amd64 is available in versions 257.9-1~deb13u1, 257.8-1~deb13u2
[selected systemd-sysv:amd64=257.9-1~deb13u1 for install] - sysvinit-core:amd64 Conflicts systemd-sysv
[selected systemd-sysv:amd64=257.9-1~deb13u1]
For context, additional choices that could not be installed:
- In systemd-sysv:amd64 is available in versions 257.9-1~deb13u1, 257.8-1~deb13u2:
- systemd-sysv:amd64=257.8-1~deb13u2 is not selected for install
- sysvinit-core:amd64 is selected for install because:
- sysv-rc-conf:amd64=0.99-10 is selected for install
- sysv-rc-conf:amd64 Depends sysvinit-core
- sysvinit-core:amd64 is not selected for install because:
-
This is what I had to do, was in the same boat.
Go to /opt/fog/.fogsettings
Remove the sysv-rc-conf entry from the packages line from there. (Reference: https://github.com/FOGProject/fogproject/issues/797)
Lower down in the same file, set “php_ver=‘8.2’” to “php_ver=‘8.4’”
Exit and save.
Then I had to remove symlinks in Apache that were using the old php modules:
sudo unlink /etc/apache2/mods-enabled/php8.2.conf
sudo unlink /etc/apache2/mods-enabled/php8.2.loadThen add the new links:
sudo ln -s /etc/apache2/mods-available/php8.4.conf /etc/apache2/mods-enabled/php8.4.conf
sudo ln -s /etc/apache2/mods-available/php8.4.load /etc/apache2/mods-enabled/php8.4.load