Package: postfix-policyd-spf-python Version: 2.9.2-0+deb10u1 Severity: important
postfix-policyd-spf-python has a dependency on python3-spf-engine, but does not specify a version. If the policyd package is upgraded but the engine package is not, then mail delivery halts on the system due to the policyd exiting prematurely. There are no logs emitted showing what the problem is, but running the program manually from the command line results in: > /usr/bin/policyd-spf Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (spf-engine 2.9.1 (/usr/lib/python3/dist-packages), Requirement.parse('spf-engine==2.9.2')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/policyd-spf", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3191, in <module> @_call_aside File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3175, in _call_aside f(*args, **kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 585, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'spf-engine==2.9.2' distribution was not found and is required by the application Upgrading the engine restores proper operation. -- System Information: Debian Release: 10.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages postfix-policyd-spf-python depends on: ii adduser 3.118 ii postfix 3.4.7-0+deb10u1 ii python3 3.7.3-1 ii python3-authres 1.1.1-1 ii python3-pkg-resources 40.8.0-1 ii python3-spf 2.0.12t-3 ii python3-spf-engine 2.9.1-0+deb10u1 postfix-policyd-spf-python recommends no packages. postfix-policyd-spf-python suggests no packages.