J’ai bidouillé un truc qui m’a désactivé l’update il me semble… Sauriez-vous m’indiquer la manipe à faire pour mettre à jour ma stretch svp ?
Voici le retour d’un apt update :
apt update
Ign:1 http://debian.mirrors.ovh.net/debian stretch InRelease
Réception de:2 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91,0 kB]
Ign:3 https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian stretch InRelease
Ign:4 https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian stretch InRelease
Err:5 https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian stretch Release
Err:6 https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian stretch Release
Atteint:7 http://deb.debian.org/debian stretch-backports InRelease
Atteint:8 http://security.debian.org/debian-security stretch/updates InRelease
Réception de:9 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
Lecture des listes de paquets... Fait
E: The repository 'https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
mon /etc/apt/source.list :
deb http://debian.mirrors.ovh.net/debian stretch main contrib non-free
deb-src http://debian.mirrors.ovh.net/debian stretch main contrib non-free
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb http://debian.mirrors.ovh.net/debian stretch-updates main contrib non-free
deb-src http://debian.mirrors.ovh.net/debian stretch-updates main contrib non-free
# Backports
deb http://deb.debian.org/debian stretch-backports main contrib non-free
Visiblement ce sont les dépôts spécifiques aux « machins » OVH qui bloquent. Soit apt-transport-https n’est pas installé, soit tu as une erreur dans tes sources, voir le retour de :
après vérification apt-transport-https est bien installé.
voici le retour de ta demande :
cat /etc/apt/sources.list.d/*
# This file is managed by Puppet. DO NOT EDIT.
# mirror containing ovh metrics deb packages
deb https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian/ stretch main
# This file is managed by Puppet. DO NOT EDIT.
# mirror containing ovh rtm deb packages
deb https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian/ stretch main
vu que c’est marqué do not édit, je n’ai pas mis contrib et non-free derrière ces 2 machins, alors que je l’ai glissé dans le sources.list… Mais par après je l’ai viré mais ça n’a plus fonctionné…
Viré d’où ?
Les dépôts copiés en #1 sont correct et les seuls qui provoquent une erreur sont ceux spécifiques à OVH (postés en #3). Pour ces derniers je ne vois pas non plus d’erreurs, il sont accessibles en HTTPS et les fichiers Release et InRelease sont bien présents :
curl -I https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian/dists/stretch/Release
HTTP/1.1 200 OK
Il ne reste plus qu’à savoir quel truc exactement tu as bidouillé
Note bien que l’erreur n’est pas bloquante, les mises à jour des dépôts Debian sont toujours disponibles.
As-tu toujours ce même message d’erreur ? Que ce passe-t-il si tu remplaces https par http dans les deux dépôts OVH (fichiers /etc/apt/sources.list.d/ovh****) ?
Je ne sais pas quoi répondre à cela… Si tu vois d’autres trucs à tester, je suis preneur, ça m’apprend en même temps en tout cas merci d’avoir pris le temps de me dépatouiller, c’est hyper sympa