Debian OS Security Updates Package Dependency Conflicts on V20 Update 10

Univ. of North Florida

Premier Customer
Joined
Nov 6, 2020
Messages
42
Reaction score
7
Hello 3CX Support,

We are currently working on applying the Debian OS security updates to our on premises 3CX servers at the University of North Florida and have encountered some package dependency conflicts.

Our environment:

  • 3CX V20 Update 10 (20.0.10.1801)
  • Debian 12
  • On-premises VMware virtual machines
  • Separate production and test environments
When we applied the Debian OS security updates through the 3CX Admin Console on our test server, most of the updates were installed successfully. However, the following nine packages remained pending:

  • libpcre2-8-0
  • libxml2
  • libpython3.11
  • libpython3.11-dev
  • libpython3.11-minimal
  • libpython3.11-stdlib
  • python3.11
  • python3.11-dev
  • python3.11-minimal
After reviewing the unattended-upgrades logs, we found that the updates were being rejected because the dependency sanity check failed when certain packages were marked for deletion.

We also ran an APT upgrade simulation, which indicated that the following six packages would need to be removed:

  • libaugeas-dev
  • libpcre2-dev
  • libselinux1-dev
  • libxml2-dev
  • python3-venv
  • python3.11-venv
These packages were originally installed as part of our previous Certbot setup. We have since moved to the Snap version of Certbot.

On our test server, we removed these six packages and were able to successfully install all the remaining security updates through the 3CX Admin Console. After the reboot, we verified that the core 3CX services were running, the SSL certificate was unaffected, and there were no broken package dependencies.

Before making the same changes on our production server, we would like to get your guidance and confirm a few things:

  • Is it safe and supported to manually remove these six packages?
  • Are any of these packages required by 3CX or potentially needed for future updates?
  • Are there plans to make compatible versions of these packages available through the 3CX Debian repositories?
  • Would you recommend removing these packages before applying the security updates through the Admin Console to avoid multiple reboots

We would appreciate your guidance on the best way to move forward.

Thank you for your time and assistance.
 
Hello, if any software was added outside the 3CX provided ISO, and any updates done via command line and not he PBX UI (without the involvement of our support team), then we cannot know or really comment on what might happen in these cases.

Our recommendation would be do take a backup and restore to a fresh install - so you have a clean, supported system. Our documented procedure for non 3CX FQDNs is to copy the generated certificates to the machine after generating them externally.

You could as an experiment do a clean install and inspect the package manifest to see where you differ.
 
  • Like
Reactions: NatalyS_3CX
I’m seeing the same Python dependency issue on our self-hosted 3CX PBX running Debian 12. Installing OS Security Updates from the Admin Console leaves four packages pending: python3.11, python3.11-minimal, libpython3.11-minimal, and libpython3.11-stdlib.

The configured 3CX security repository offers 3.11.2-6+deb12u9 for these packages. However, apt-cache policy python3.11-venv only shows the installed version, 3.11.2-6+deb12u5, from /var/lib/dpkg/status. The unattended-upgrades log reports pkg python3-venv is marked to be deleted, and an APT simulation confirms that upgrading the four packages would remove both python3-venv and python3.11-venv. I ran the simulation only and have left both packages installed.

Can the 3CX team confirm whether a matching python3.11-venv package will be made available through the 3CX repositories? Is there a supported way to apply these security updates while keeping both venv packages installed?