Skip to content

OpenPGP signature verification failed (sqlsrv, trixie) #1144

@duchymor

Description

@duchymor

Version of install-php-extensions

v.2.9.0

Error description

Trixie breaks installation of extensions from Microsoft repository. Thank you in advance.

11.11 ### INSTALLING REMOTE MODULE pdo_sqlsrv ###
11.12 Installing the Microsoft SQL Server ODBC Driver
11.12 - installing the Microsoft APT key
11.12   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
11.12                                  Dload  Upload   Total   Spent    Left  Speed
100   975  100   975    0     0   2933      0 --:--:-- --:--:-- --:--:--  2936
11.46 - adding the Microsoft APT source list
12.95 Hit:1 http://deb.debian.org/debian trixie InRelease
12.99 Hit:2 http://deb.debian.org/debian trixie-updates InRelease
13.05 Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
13.29 Get:4 https://packages.microsoft.com/debian/13/prod trixie InRelease [3952 B]
13.30 Err:4 https://packages.microsoft.com/debian/13/prod trixie InRelease
13.30   Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key EE4D7792F748182B, which is needed to verify signature.
13.30 Reading package lists...
13.74 W: OpenPGP signature verification failed: https://packages.microsoft.com/debian/13/prod trixie InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key EE4D7792F748182B, which is needed to verify signature.
13.74 E: The repository 'https://packages.microsoft.com/debian/13/prod trixie InRelease' is not signed.

Docker image

php:8.3-fpm-trixie

Minimal Dockerfile

FROM php:8.3-fpm-trixie

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions && \
    install-php-extensions \
    pdo_sqlsrv \
    sqlsrv

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions