Applying updates failed: unmet dependencies systemd-resolved <> resolvconf

Hi All,

I encountered the following on my system, when doing an update via the Cockpit console > Software updates. It shows a nummer of available bugfixes:

Available updates

Name Version Severity Details
freedombox, freedombox-doc-en, freedombox-doc-es 24.20.1~bpo12+1 Rebuild for bookworm-backports.
libnss-resolve, systemd-resolved 252.30-1~deb12u2
resolvconf 1.91+nmu1

After clicking “Install all updates”, the update process is aborted with the following message:

Applying updates failed

The following packages have unmet dependencies: systemd-resolved: Conflicts: resolvconf

Please reload the page after resolving the issue.

I have no idea how to resolve this issue. I already rebooted the system, but to no avail. Any ideas, anyone?

Information

  • FreedomBox version: running Debian GNU/Linux 12 (bookworm) and FreedomBox version 24.18.
  • Hardware: Raspberry Pi 3 Model B Plus Rev 1.3
  • How did you install FreedomBox?: downloaded stable image from https://freedombox.org

Hello all
I just wanted to report the same issue. I’ve noticed, that my FreedomBoxes did not automatically update since 24.18 anymore, so I wanted to do it manually in the cockpit and now face the same problem.

Hey DonQuishot,

this is what worked for me:

$ sudo su -
Password: <enter user password here>
# dpkg --configure -a
# apt update
# apt -f install
# unattended-upgrade --debug
# apt install freedombox
# apt update

Hope, that helps. Cheers!

4 Likes

Hi Shoxy,

Did it also resolve the dependencies issue, or was it just meant to install/upgrade the freedombox package?

In my case, when trying to manually update in Plinth → System → Upgrades the freedombox package was held back because of your mentioned dependency issue and it was resolved by applying the commands mentioned above. Imho just try them out, worst that can happen is that you’re still stuck at version 24.18.

1 Like

Hey folks,

We have worked on features like DNSSEC and DNS-over-TLS that can improve security and privacy. For this we added systemd-resolved as a dependency. This dependency has caused a conflict with resolvconf package. Unattended-upgrades is refusing to remove this resolveconf package.

Earlier, versions 24.19 and 24.20 did not become available in Debian bookworm-backports because of a minor issue with automatic tests. We fixed that in version 24.20.1 and this version became available in bookworm-backports and so, became available to all our stable distribution users.

We are tracking this issue here Can't upgrade to version 24.20.1 (#2453) · Issues · FreedomBox / FreedomBox · GitLab and hope to fix it soon one way or the other. Meanwhile, the workaround suggested by @Shoxy in this thread is safe to perform and will fix the issue for you. It is also perfectly fine to ignore the upgrade failure (this is just a regular feature release and there are no urgent security that need be fixed). Your machine will directly upgrade to the next version which will be available in a week or two.

Sorry for the mess and thanks for your patience.

Edit: add advice that the issues could be ignored for now.

6 Likes

Thank you @Shoxy and @sunil! It did work with various settings on my FreedomBoxes, both, with static IP config and automatic IP config (DHCP).

A fix has been posted for this issue and will likely be available in the next release. Without any intervention, FreedomBox will upgrade to the next version (skipping the versions in between, which is okay).

3 Likes