#1 Le 14/05/2024, à 16:40
- brice_dev
La liste des sources ne peut être lue[Résolu]
bonjour j'ai se même problème : E: Des valeurs entrant en conflit ont été renseignées pour l'option Signed-By à propos de la source https://apt.postgresql.org/pub/repos/apt/ mantic-pgdg: /etc/apt/trusted.gpg.d/postgresql-archive-keyring.gpg != /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg
E: La liste des sources ne peut être lue.
comment je pourrais le résoudre?
merci aux personnes qui voudront bien m'aider.
Dernière modification par brice_dev (Le 15/05/2024, à 11:30)
Hors ligne
#2 Le 14/05/2024, à 16:47
- xubu1957
Re : La liste des sources ne peut être lue[Résolu]
Bonjour,
Montre le sources.list avec la numérotation, en te servant du Retour utilisable de commande :
find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
Astuce pour copier / coller sans erreur :
triple clic gauche pour sélectionner et copier une ligne entière
clic molette pour coller dans le terminal
Demande de scission du fil adressée à notre Modération, au moment de cette réponse.
Nota : notre Modération a scindé le fil > [Résolu] sudo apt-get update (erreur)
Dernière modification par xubu1957 (Le 14/05/2024, à 18:41)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Le 14/05/2024, à 17:00
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
merci de me repondre. voila le retour de la commande:
brice-dev@brice-dev-B5400:/etc/apt/sources.list.d$ find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
/etc/apt/sources.list
1 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
2 # newer versions of the distribution.
3 deb http://archive.ubuntu.com/ubuntu/ mantic main restricted
4 # deb-src http://archive.ubuntu.com/ubuntu/ mantic main restricted
5
6 ## Major bug fix updates produced after the final release of the
7 ## distribution.
8 deb http://archive.ubuntu.com/ubuntu/ mantic-updates main restricted
9 # deb-src http://archive.ubuntu.com/ubuntu/ mantic-updates main restricted
10
11 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
12 ## team. Also, please note that software in universe WILL NOT receive any
13 ## review or updates from the Ubuntu security team.
14 deb http://archive.ubuntu.com/ubuntu/ mantic universe
15 # deb-src http://archive.ubuntu.com/ubuntu/ mantic universe
16 deb http://archive.ubuntu.com/ubuntu/ mantic-updates universe
17 # deb-src http://archive.ubuntu.com/ubuntu/ mantic-updates universe
18
19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
20 ## team, and may not be under a free licence. Please satisfy yourself as to
21 ## your rights to use the software. Also, please note that software in
22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
23 ## security team.
24 deb http://archive.ubuntu.com/ubuntu/ mantic multiverse
25 # deb-src http://archive.ubuntu.com/ubuntu/ mantic multiverse
26 deb http://archive.ubuntu.com/ubuntu/ mantic-updates multiverse
27 # deb-src http://archive.ubuntu.com/ubuntu/ mantic-updates multiverse
28
29 ## N.B. software from this repository may not have been tested as
30 ## extensively as that contained in the main release, although it includes
31 ## newer versions of some applications which may provide useful features.
32 ## Also, please note that software in backports WILL NOT receive any review
33 ## or updates from the Ubuntu security team.
34 deb http://archive.ubuntu.com/ubuntu/ mantic-backports main restricted universe multiverse
35 # deb-src http://archive.ubuntu.com/ubuntu/ mantic-backports main restricted universe multiverse
36
37 deb http://security.ubuntu.com/ubuntu/ mantic-security main restricted
38 # deb-src http://security.ubuntu.com/ubuntu/ mantic-security main restricted
39 deb http://security.ubuntu.com/ubuntu/ mantic-security universe
40 # deb-src http://security.ubuntu.com/ubuntu/ mantic-security universe
41 deb http://security.ubuntu.com/ubuntu/ mantic-security multiverse
42 # deb-src http://security.ubuntu.com/ubuntu/ mantic-security multiverse
/etc/apt/sources.list.curtin.old
/etc/apt/sources.list.d/pgdg.list
1 deb [signed-by=/etc/apt/trusted.gpg.d/postgresql-archive-keyring.gpg] https://apt.postgresql.org/pub/repos/apt mantic-pgdg main
/etc/apt/sources.list.d/vscode.list
1 deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main
/etc/apt/sources.list.d/slack.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
/etc/apt/sources.list.d/pgdg.sources
1 Types: deb
2 URIs: https://apt.postgresql.org/pub/repos/apt
3 Suites: mantic-pgdg
4 Components: main
5 Signed-By: /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg
/etc/apt/sources.list.d/google-chrome.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/pgadmin4.list
1 deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4 main
Hors ligne
#4 Le 14/05/2024, à 17:14
- ylag
Re : La liste des sources ne peut être lue[Résolu]
Bonjour,
Les fichiers de sources pgdg.sources et pgdg.list font doublon, faudrait en désactiver un ?
Faire voir le résultat complet de :
sudo apt update
A+
Dernière modification par ylag (Le 14/05/2024, à 17:16)
Hors ligne
#5 Le 14/05/2024, à 17:21
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
voilà
brice-dev@brice-dev-B5400:~$ sudo apt update
[sudo] Mot de passe de brice-dev :
E: Des valeurs entrant en conflit ont été renseignées pour l'option Signed-By à propos de la source https://apt.postgresql.org/pub/repos/apt/ mantic-pgdg: /etc/apt/trusted.gpg.d/postgresql-archive-keyring.gpg != /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg
E: La liste des sources ne peut être lue.
Hors ligne
#6 Le 14/05/2024, à 17:28
- xubu1957
Re : La liste des sources ne peut être lue[Résolu]
Montre aussi d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#7 Le 14/05/2024, à 17:31
- nany
Re : La liste des sources ne peut être lue[Résolu]
Bonjour,
merci de me repondre.
Oui, xubu1957 est bien gentil.
J’ai signalé ton premier message car tu as posté dans un fil marqué résolu et je ne comptais répondre qu’après scission par la modération.
Mais comme il y a déjà des réponses, je vais donc intervenir.
Donne les retours de :
cd /etc/apt/sources.list.d && sudo rm -v pgdg.list ; cd
sudo apt clean && sudo apt update
Source : je suppose que tu as exécuté le script /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh.
Dernière modification par nany (Le 14/05/2024, à 17:53)
Hors ligne
#8 Le 14/05/2024, à 17:32
- ylag
Re : La liste des sources ne peut être lue[Résolu]
Bonjour,
Surprenant que tu n'aies obtenu que ce résultat au #66, mais bon ...
Pour tester, faudrait que tu édites le fichier /etc/apt/sources.list.d/pgdg.list et que tu ajoutes un caractëre # au début de la ligne, ce qui désactive cette source, puis refaire la commande sudo apt update ?
Je vois que @nany est sur la passerelle !
Ne pas tenir compte de ce message, plutôt appliquer les recommendations du #68.
A+
Dernière modification par ylag (Le 14/05/2024, à 17:40)
Hors ligne
#9 Le 14/05/2024, à 17:33
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
brice-dev@brice-dev-B5400:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-=============================================-=======================================-============-===============================================================================================================================================================================================================================================
Hors ligne
#10 Le 14/05/2024, à 17:45
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
voila les differents retoures demandés par nany deja merci beaucoup pour vos reponses
en fait les soucis sont multiples et me pertubent parcequ'à la base je n'arrivais pas à acceder à postgre sql puis y'a eu vs code et postgre qui indiquaient clé publique manquante j'ai resolu tant bien que mal pour vs code mais depuis celui de postgre pose probleme. et voila ou j'en suis.
cd /etc/apt/sources.list.d && sudo rm -v pgdg.list ; cd
brice-dev@brice-dev-B5400:~$ sudo apt clean && sudo apt update
Réception de :1 http://archive.ubuntu.com/ubuntu mantic InRelease [256 kB]
Réception de :2 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB]
Réception de :3 https://dl.google.com/linux/chrome/deb stable InRelease [1825 B]
Réception de :4 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1082 B]
Réception de :5 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
Réception de :6 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages [369 kB]
Réception de :7 https://packages.microsoft.com/repos/code stable InRelease [3590 B]
Réception de :9 https://packages.microsoft.com/repos/code stable/main arm64 Packages [17,5 kB]
Réception de :10 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4 InRelease [4217 B]
Réception de :11 https://packages.microsoft.com/repos/code stable/main armhf Packages [17,5 kB]
Réception de :12 https://apt.postgresql.org/pub/repos/apt mantic-pgdg InRelease [21,1 kB]
Err :12 https://apt.postgresql.org/pub/repos/apt mantic-pgdg InRelease
Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 7FCC7D46ACCC4CF8
Réception de :13 https://packages.microsoft.com/repos/code stable/main amd64 Packages [17,0 kB]
Réception de :14 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4/main amd64 Packages [4449 B]
Réception de :15 http://archive.ubuntu.com/ubuntu mantic-backports InRelease [90,8 kB]
Réception de :16 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4/main all Packages [3094 B]
Réception de :17 http://security.ubuntu.com/ubuntu mantic-security/main Translation-en [93,9 kB]
Réception de :18 http://security.ubuntu.com/ubuntu mantic-security/main amd64 DEP-11 Metadata [7232 B]
Réception de :19 http://security.ubuntu.com/ubuntu mantic-security/main DEP-11 48x48 Icons [4111 B]
Réception de :20 http://security.ubuntu.com/ubuntu mantic-security/main DEP-11 64x64 Icons [8578 B]
Réception de :21 http://security.ubuntu.com/ubuntu mantic-security/main DEP-11 64x64@2 Icons [29 B]
Réception de :22 http://security.ubuntu.com/ubuntu mantic-security/main amd64 c-n-f Metadata [1560 B]
Réception de :23 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 Packages [360 kB]
Réception de :24 http://security.ubuntu.com/ubuntu mantic-security/restricted Translation-en [64,6 kB]
Réception de :25 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 c-n-f Metadata [420 B]
Réception de :26 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 Packages [274 kB]
Réception de :27 http://security.ubuntu.com/ubuntu mantic-security/universe Translation-en [115 kB]
Réception de :28 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 DEP-11 Metadata [3860 B]
Réception de :29 http://security.ubuntu.com/ubuntu mantic-security/universe DEP-11 48x48 Icons [4111 B]
Réception de :30 http://security.ubuntu.com/ubuntu mantic-security/universe DEP-11 64x64 Icons [8636 B]
Réception de :31 http://security.ubuntu.com/ubuntu mantic-security/universe DEP-11 64x64@2 Icons [29 B]
Réception de :32 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 c-n-f Metadata [788 B]
Réception de :33 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 Packages [5588 B]
Réception de :34 http://security.ubuntu.com/ubuntu mantic-security/multiverse Translation-en [1732 B]
Réception de :35 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 c-n-f Metadata [232 B]
Réception de :36 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages [1405 kB]
Réception de :37 http://archive.ubuntu.com/ubuntu mantic/main Translation-en [517 kB]
Réception de :8 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease [28,0 kB]
Réception de :38 https://packagecloud.io/slacktechnologies/slack/debian jessie/main amd64 Packages [2059 B]
Ign :37 http://archive.ubuntu.com/ubuntu mantic/main Translation-en
Réception de :39 http://archive.ubuntu.com/ubuntu mantic/main Translation-fr [494 kB]
Ign :39 http://archive.ubuntu.com/ubuntu mantic/main Translation-fr
Réception de :40 http://archive.ubuntu.com/ubuntu mantic/main amd64 DEP-11 Metadata [465 kB]
Réception de :41 http://archive.ubuntu.com/ubuntu mantic/main DEP-11 48x48 Icons [106 kB]
Réception de :42 http://archive.ubuntu.com/ubuntu mantic/main DEP-11 64x64 Icons [156 kB]
Réception de :43 http://archive.ubuntu.com/ubuntu mantic/main DEP-11 64x64@2 Icons [21,1 kB]
Réception de :44 http://archive.ubuntu.com/ubuntu mantic/main amd64 c-n-f Metadata [30,3 kB]
Réception de :45 http://archive.ubuntu.com/ubuntu mantic/restricted amd64 Packages [144 kB]
Réception de :46 http://archive.ubuntu.com/ubuntu mantic/restricted Translation-en [22,6 kB]
Réception de :47 http://archive.ubuntu.com/ubuntu mantic/restricted Translation-fr [4076 B]
Réception de :48 http://archive.ubuntu.com/ubuntu mantic/restricted amd64 c-n-f Metadata [432 B]
Réception de :49 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages [15,2 MB]
Réception de :50 http://archive.ubuntu.com/ubuntu mantic/universe Translation-fr [3829 kB]
Ign :50 http://archive.ubuntu.com/ubuntu mantic/universe Translation-fr
Réception de :51 http://archive.ubuntu.com/ubuntu mantic/universe Translation-en [5951 kB]
Réception de :52 http://archive.ubuntu.com/ubuntu mantic/universe amd64 DEP-11 Metadata [3793 kB]
Ign :52 http://archive.ubuntu.com/ubuntu mantic/universe amd64 DEP-11 Metadata
Réception de :53 http://archive.ubuntu.com/ubuntu mantic/universe DEP-11 48x48 Icons [3702 kB]
Réception de :54 http://archive.ubuntu.com/ubuntu mantic/universe DEP-11 64x64 Icons [7723 kB]
Réception de :55 http://archive.ubuntu.com/ubuntu mantic/universe DEP-11 64x64@2 Icons [75,0 kB]
Ign :55 http://archive.ubuntu.com/ubuntu mantic/universe DEP-11 64x64@2 Icons
Réception de :56 http://archive.ubuntu.com/ubuntu mantic/universe amd64 c-n-f Metadata [303 kB]
Réception de :57 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 Packages [239 kB]
Réception de :58 http://archive.ubuntu.com/ubuntu mantic/multiverse Translation-en [113 kB]
Réception de :59 http://archive.ubuntu.com/ubuntu mantic/multiverse Translation-fr [90,2 kB]
Réception de :60 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 DEP-11 Metadata [31,6 kB]
Réception de :61 http://archive.ubuntu.com/ubuntu mantic/multiverse DEP-11 48x48 Icons [55,1 kB]
Réception de :62 http://archive.ubuntu.com/ubuntu mantic/multiverse DEP-11 64x64 Icons [185 kB]
Réception de :63 http://archive.ubuntu.com/ubuntu mantic/multiverse DEP-11 64x64@2 Icons [904 B]
Réception de :64 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 c-n-f Metadata [8356 B]
Réception de :65 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [429 kB]
Réception de :66 http://archive.ubuntu.com/ubuntu mantic-updates/main Translation-en [113 kB]
Réception de :67 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 DEP-11 Metadata [7240 B]
Réception de :68 http://archive.ubuntu.com/ubuntu mantic-updates/main DEP-11 48x48 Icons [4111 B]
Réception de :69 http://archive.ubuntu.com/ubuntu mantic-updates/main DEP-11 64x64 Icons [8578 B]
Réception de :70 http://archive.ubuntu.com/ubuntu mantic-updates/main DEP-11 64x64@2 Icons [29 B]
Réception de :71 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 c-n-f Metadata [1676 B]
Réception de :72 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 Packages [376 kB]
Réception de :73 http://archive.ubuntu.com/ubuntu mantic-updates/restricted Translation-en [66,9 kB]
Réception de :74 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 c-n-f Metadata [420 B]
Réception de :75 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages [360 kB]
Réception de :76 http://archive.ubuntu.com/ubuntu mantic-updates/universe Translation-en [139 kB]
Réception de :77 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 DEP-11 Metadata [3864 B]
Réception de :78 http://archive.ubuntu.com/ubuntu mantic-updates/universe DEP-11 48x48 Icons [4111 B]
Réception de :79 http://archive.ubuntu.com/ubuntu mantic-updates/universe DEP-11 64x64 Icons [8636 B]
Réception de :80 http://archive.ubuntu.com/ubuntu mantic-updates/universe DEP-11 64x64@2 Icons [29 B]
Réception de :81 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 c-n-f Metadata [820 B]
Réception de :82 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 Packages [8568 B]
Réception de :83 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse Translation-en [2824 B]
Réception de :84 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 c-n-f Metadata [232 B]
Réception de :85 http://archive.ubuntu.com/ubuntu mantic-backports/main amd64 c-n-f Metadata [112 B]
Réception de :86 http://archive.ubuntu.com/ubuntu mantic-backports/restricted amd64 c-n-f Metadata [116 B]
Réception de :87 http://archive.ubuntu.com/ubuntu mantic-backports/universe amd64 Packages [3940 B]
Réception de :88 http://archive.ubuntu.com/ubuntu mantic-backports/universe Translation-en [1392 B]
Réception de :89 http://archive.ubuntu.com/ubuntu mantic-backports/universe amd64 c-n-f Metadata [116 B]
Réception de :90 http://archive.ubuntu.com/ubuntu mantic-backports/multiverse amd64 c-n-f Metadata [116 B]
Réception de :37 http://archive.ubuntu.com/ubuntu mantic/main Translation-en [517 kB]
Réception de :39 http://archive.ubuntu.com/ubuntu mantic/main Translation-fr [494 kB]
Réception de :50 http://archive.ubuntu.com/ubuntu mantic/universe Translation-fr [3829 kB]
Réception de :52 http://archive.ubuntu.com/ubuntu mantic/universe amd64 DEP-11 Metadata [3793 kB]
Réception de :55 http://archive.ubuntu.com/ubuntu mantic/universe DEP-11 64x64@2 Icons [75,0 kB]
Lecture des listes de paquets... Fait
W: Erreur de GPG : https://apt.postgresql.org/pub/repos/apt mantic-pgdg InRelease : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 7FCC7D46ACCC4CF8
E: Le dépôt https://apt.postgresql.org/pub/repos/apt mantic-pgdg InRelease n'est pas signé.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
Dernière modification par brice_dev (Le 14/05/2024, à 17:53)
Hors ligne
#11 Le 14/05/2024, à 17:55
- nany
Re : La liste des sources ne peut être lue[Résolu]
je suppose que tu as exécuté le script /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh.
A priori, j’ai mal supposé.
Donne les retours de :
cd /etc/apt/sources.list.d && sudo rm -v pgdg.sources ; cd
sudo apt install -y postgresql-common
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat "$1"' _ '{}' \;
sudo apt clean && sudo apt update
Dernière modification par nany (Le 14/05/2024, à 17:55)
Hors ligne
#12 Le 14/05/2024, à 18:01
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
voilà:
brice-dev@brice-dev-B5400:~$ cd /etc/apt/sources.list.d && sudo rm -v pgdg.sources ; cd
[sudo] Mot de passe de brice-dev :
'pgdg.sources' supprimé
brice-dev@brice-dev-B5400:~$ sudo apt install -y postgresql-common
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
postgresql-common est déjà la version la plus récente (253).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 40 non mis à jour.
brice-dev@brice-dev-B5400:~$ sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
sudo: /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh : commande introuvable
brice-dev@brice-dev-B5400:~$ find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat "$1"' _ '{}' \;
/etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ mantic main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ mantic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ mantic-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ mantic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ mantic universe
# deb-src http://archive.ubuntu.com/ubuntu/ mantic universe
deb http://archive.ubuntu.com/ubuntu/ mantic-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ mantic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ mantic multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ mantic multiverse
deb http://archive.ubuntu.com/ubuntu/ mantic-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ mantic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ mantic-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ mantic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ mantic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ mantic-security main restricted
deb http://security.ubuntu.com/ubuntu/ mantic-security universe
# deb-src http://security.ubuntu.com/ubuntu/ mantic-security universe
deb http://security.ubuntu.com/ubuntu/ mantic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ mantic-security multiverse
/etc/apt/sources.list.curtin.old
/etc/apt/sources.list.d/vscode.list
deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main
/etc/apt/sources.list.d/slack.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
/etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/pgadmin4.list
deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4 main
brice-dev@brice-dev-B5400:~$ sudo apt clean && sudo apt update
Atteint :1 https://dl.google.com/linux/chrome/deb stable InRelease
Atteint :3 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4 InRelease
Atteint :4 http://security.ubuntu.com/ubuntu mantic-security InRelease
Atteint :5 https://packages.microsoft.com/repos/code stable InRelease
Atteint :6 http://archive.ubuntu.com/ubuntu mantic InRelease
Atteint :2 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Atteint :7 http://archive.ubuntu.com/ubuntu mantic-updates InRelease
Atteint :8 http://archive.ubuntu.com/ubuntu mantic-backports InRelease
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
40 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
Hors ligne
#13 Le 14/05/2024, à 18:06
- nany
Re : La liste des sources ne peut être lue[Résolu]
brice-dev@brice-dev-B5400:~$ sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh sudo: /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh : commande introuvable
Ce n’est pas normal.
Donne les retours de :
sudo apt install --reinstall -y postgresql-common
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
Hors ligne
#14 Le 14/05/2024, à 18:11
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
brice_dev a écrit :brice-dev@brice-dev-B5400:~$ sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh sudo: /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh : commande introuvable
Ce n’est pas normal.
Donne les retours de :
sudo apt install --reinstall -y postgresql-common
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
voilà:
brice-dev@brice-dev-B5400:~$ sudo apt install --reinstall -y postgresql-common
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 40 non mis à jour.
Il est nécessaire de prendre 176 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Réception de :1 http://archive.ubuntu.com/ubuntu mantic/main amd64 postgresql-common all 253 [176 kB]
176 ko réceptionnés en 2s (96,8 ko/s)
Préconfiguration des paquets...
(Lecture de la base de données... 212879 fichiers et répertoires déjà installés.
)
Préparation du dépaquetage de .../postgresql-common_253_all.deb ...
Conservation de « détournement de /usr/bin/pg_config en /usr/bin/pg_config.libpq
-dev par postgresql-common »
Dépaquetage de postgresql-common (253) sur (253) ...
Paramétrage de postgresql-common (253) ...
Traitement des actions différées (« triggers ») pour man-db (2.11.2-3) ...
brice-dev@brice-dev-B5400:~$ sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
This script will enable the PostgreSQL APT repository on apt.postgresql.org on
your system. The distribution codename used will be mantic-pgdg.
Press Enter to continue, or Ctrl-C to abort.
Using keyring /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg
Writing /etc/apt/sources.list.d/pgdg.sources ...
Running apt-get update ...
Atteint :1 http://archive.ubuntu.com/ubuntu mantic InRelease
Atteint :2 http://security.ubuntu.com/ubuntu mantic-security InRelease
Atteint :3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease
Atteint :4 https://dl.google.com/linux/chrome/deb stable InRelease
Atteint :5 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4 InRelease
Atteint :6 http://archive.ubuntu.com/ubuntu mantic-backports InRelease
Réception de :7 https://apt.postgresql.org/pub/repos/apt mantic-pgdg InRelease [21,1 kB]
Atteint :8 https://packages.microsoft.com/repos/code stable InRelease
Réception de :9 https://apt.postgresql.org/pub/repos/apt mantic-pgdg/main amd64 Packages [244 kB]
Atteint :10 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
266 ko réceptionnés en 5s (50,9 ko/s)
Lecture des listes de paquets... Fait
You can now start installing packages from apt.postgresql.org.
Have a look at https://wiki.postgresql.org/wiki/Apt for more information;
most notably the FAQ at https://wiki.postgresql.org/wiki/Apt/FAQ
Hors ligne
#15 Le 14/05/2024, à 18:30
- nany
Re : La liste des sources ne peut être lue[Résolu]
Bon eh bien c’est maintenant bon pour postgresql.
En revanche je m’étonne que le dépôt de pgAdmin 4 ne renvoie pas d’erreur.
/etc/apt/sources.list.d/pgadmin4.list deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4 main
Ça ne correspond pas aux instructions de https://www.pgadmin.org/download/pgadmin-4-apt/.
Dernière modification par nany (Le 14/05/2024, à 18:38)
Hors ligne
#16 Le 14/05/2024, à 18:39
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
donc la maintenant qu'est ce que je suis censé faire @nany?
Dernière modification par brice_dev (Le 14/05/2024, à 18:46)
Hors ligne
#17 Le 14/05/2024, à 18:49
- nany
Re : La liste des sources ne peut être lue[Résolu]
Bah, vu que ça fonctionne en l’état, tu ne touches plus à rien et tu édites ton premier message pour ajouter [Résolu] au début du titre.
Sinon, tu peux effectuer les mises à jour.
Hors ligne
#18 Le 14/05/2024, à 19:05
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
d'accord j'ai fait le sudo apt update. tout est normal mais deja desolé de vous déranger une fois de plus mais lorsque j'essaie de me connécté à postgre sql ca fonctionne pas. je recois sa comme retour:
(env) brice-dev@brice-dev-B5400:~/Bureau/nolimithosting$ sudo -u postgres psql
could not change directory to "/home/brice-dev/Bureau/nolimithosting": Permission non accordée
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: Aucun fichier ou dossier de ce type
Is the server running locally and accepting connections on that socket?
Hors ligne
#19 Le 14/05/2024, à 19:25
- nany
Re : La liste des sources ne peut être lue[Résolu]
Je ne connais pas postgresql. ¯\_(ツ)_/¯
Je te renvoie à la page de doc postgresql (en particulier les § 4.1 et 4.4).
Si tu n’y arrives pas, ouvre une nouvelle discussion dans la section « Autres logiciels et problèmes généraux ».
Hors ligne
#20 Le 15/05/2024, à 03:06
- nany
Re : La liste des sources ne peut être lue[Résolu]
Bonjour,
Je constate que le fil n’est toujours pas marqué résolu.
et tu édites ton premier message pour ajouter [Résolu] au début du titre.
Hors ligne
#21 Le 15/05/2024, à 11:31
- brice_dev
Re : La liste des sources ne peut être lue[Résolu]
ok c'est fait et merci beaucoup pour votre suivi @nany
Hors ligne