Skip to content

[BUG] Formula does not support Debian 12 (Bookworm) #333

Open
@iaingeorgeson

Description

@iaingeorgeson

Your setup

Formula commit hash / release tag

v0.45.0

Versions reports (master & minion)

Salt Version:
Salt: 3007.2

Python Version:
Python: 3.10.17 (main, Apr 14 2025, 21:37:11) [GCC 11.2.0]

Dependency Versions:
cffi: 1.16.0
cherrypy: unknown
cryptography: 42.0.5
dateutil: 2.8.2
docker-py: Not Installed
gitdb: 4.0.11
gitpython: 3.1.42
Jinja2: 3.1.6
libgit2: 1.7.1
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.7
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.19.1
pygit2: 1.14.0
python-gnupg: 0.5.2
PyYAML: 6.0.1
PyZMQ: 25.1.2
relenv: 0.19.0
smmap: 5.0.1
timelib: 0.3.0
Tornado: 6.4.2
ZMQ: 4.3.4

Salt Package Information:
Package Type: onedir

System Versions:
dist: debian 12.11 bookworm
locale: utf-8
machine: x86_64
release: 6.1.0-37-cloud-amd64
system: Linux
version: Debian GNU/Linux 12.11 bookworm

Pillar / config used

include:

  • postgres.client

...

postgres:
use_upstream_repo: true
version: '16'


Bug details

Describe the bug

highstate fails with

      ID: postgresql-repo
Function: pkgrepo.managed
  Result: False
 Comment: Failed to configure repo 'postgresql-repo': Name postgresql-repo is not valid. This must be the complete repo entry as seen in the sources file
 Started: 10:44:19.600201
Duration: 2.316 ms
 Changes:   

This is because codenamemap.yaml is missing support for Debian bookworm.

Steps to reproduce the bug

Expected behaviour

highstate should configure a postgres apt source.

Attempts to fix the bug

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions