Migration to YunoHost 11 fails / APT cache update problem?

This ain’t your issue

The issue is :

2022-08-21 15:18:34,538: WARNING - E: The repository 'https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian bullseye Release' does not have a Release file.
2022-08-21 15:18:34,540: WARNING - E: The repository 'https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian bullseye Release' does not have a Release file.
2022-08-21 15:18:34,543: WARNING - W: GPG error: https://packages.sury.org/php bullseye InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
2022-08-21 15:18:34,546: WARNING - E: The repository 'https://packages.sury.org/php bullseye InRelease' is not signed.

So for some reason the OVH folks have some Debian repositories which do not provide bullseye packages … Or maybe that’s just for “snap” packages ? idk … Somebody found a similar issue and just removed the corresponding line from the apt config. You may find where they are located with:

sudo grep -nr 'ovh.net' /etc/apt/sources.list /etc/apt/sources.list.d

and you should use nano to edit the corresponding file and remove them (or delete / backup the file entirely)



The other issue seems to be that the sury signing key you got is expired. Running this command should fix that issue:

wget --timeout 900 --quiet "https://packages.sury.org/php/apt.gpg" --output-document=- | gpg --dearmor | sudo tee -a "/etc/apt/trusted.gpg.d/extra_php_version.gpg" >/dev/null
2 Likes