Skip to content

PG-2993 - Add checks for version dependencies without the epoch - #367

Open
mohitj1988 wants to merge 1 commit into
mainfrom
PG-2993
Open

mohitj1988 wants to merge 1 commit into
mainfrom
PG-2993

Conversation

@mohitj1988

Copy link
Copy Markdown
Collaborator

Our server packages have an epoch (RPM 1, Debian 2/3). A versioned dependency written without it counts as epoch 0, so the minimum version is never enforced: percona-postgis35_18 requires
percona-postgresql18-libs >= 18.7.1, and the 1:18.6 libs satisfy it. A customer hit this (undefined symbol after installing PostGIS on 18.6).

The new epoch check reads the repository package lists and checks every versioned dependency against the real version of the package it points to and immediately flags it if the minimum version required is missed

Our server packages have an epoch (RPM 1, Debian 2/3). A versioned
dependency written without it counts as epoch 0, so the minimum version is
never enforced: percona-postgis35_18 requires
percona-postgresql18-libs >= 18.7.1, and the 1:18.6 libs satisfy it. A
customer hit this (undefined symbol after installing PostGIS on 18.6).

The new epoch check reads the repository package lists and checks every
versioned dependency against the real version of the package it points to
and immediately flags it if the minimum version required is missed

Signed-off-by: Mohit Joshi <mohit.joshi@percona.com>
@mohitj1988
mohitj1988 requested a review from rjd15372 December 1, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant