Shaun Raven's picture
Hi all, I'm seeing the following error in I try and run dpkg manually - any suggestions? dpkg --configure -a dpkg: dependency problems prevent configuration of apache2: apache2 depends on apache2-bin (= 2.4.38-3+deb10u5); however: Version of apache2-bin on system is 2.4.38-3+deb10u4. apache2 depends on apache2-data (= 2.4.38-3+deb10u5); however: Version of apache2-data on system is 2.4.38-3+deb10u4. apache2 depends on apache2-utils (= 2.4.38-3+deb10u5); however: Version of apache2-utils on system is 2.4.38-3+deb10u4. dpkg: error processing package apache2 (--configure): dependency problems - leaving unconfigured Processing triggers for man-db (2.8.5-2) ... Processing triggers for systemd (241-7~deb10u6) ... Errors were encountered while processing: apache2
Forum: 
Jeremy Davis's picture

It looks like you have some Apache packages which are v2.4.38-3+deb10u4 and some that are v2.4.38-3+deb10u5 (the latter are one update ahead).

I'd recommend updating the package list and reinstalling Apache2, like this:

apt update
apt install --reinstall -y apache2

Hopefully that should fix it. If not, please give the output.

Shaun Raven's picture

Will re-installing apache lose any website settings / data?
Jeremy Davis's picture

No it shouldn't, but you have a backup regime in place already right? If so, it's a perfect time to test your backups! :)

Add new comment