Skip to content

pgvector install 404s: pinned deb version 0.8.1-2 no longer exists in pgdg pool #145

Description

@vasconceloscezar

autopg downloads pgvector from a hardcoded version:

https://apt.postgresql.org/pub/repos/apt/pool/main/p/pgvector/postgresql-${pgMajor}-pgvector_0.8.1-2.pgdg+1_${arch}.deb

pgdg removed 0.8.1-2 from the pool (current: 0.8.5/0.8.6), so every install with runtime.enablePgvector=true logs Failed to install pgvector extension files (non-fatal) — Download failed: 404 and downstream consumers (khal/brain personal deploy) die at CREATE EXTENSION vector.

Repro: fresh autopg v3.0.7, autopg config set runtime.enablePgvector true, start postmaster → 404 warn, pg_available_extensions has no vector.

Suggestion: resolve the latest available version from the pool index (or at least try a list of known versions) instead of pinning one, since pgdg garbage-collects old debs.

Workaround we applied: manual download of 0.8.6-1, copied vector.so + extension SQLs into the runtime dirs and wrote a matching vector.meta.json so auto-heal doesn't remove them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions