#1 Le 02/07/2023, à 21:15
- Mojitelo
E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/googl
Bonjour,
Ayant ressorti mon vieil ordi sur lequel un ami avait installé linux, j'ai voulu faire les mises à jour mais j'obtiens ceci :
eloise@eloise-N550LF:~$ sudo apt update
[sudo] Mot de passe de eloise :
E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/google-chrome.list ([option] not assignment)
E: La liste des sources ne peut être lue.
eloise@eloise-N550LF:~$
J'ai navigué un peu sur le forum et si certains ont réglé un problème similaire, cela ne venait pas de google chrome et étant plus que débutante, je ne sais pas comment modifier les lignes de commande pour corriger le problème.
J'ai vu qu'il était souvent demandé le résultat de cat /etc/apt/sources.list donc le voici si ça peut aider.
eloise@eloise-N550LF:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
eloise@eloise-N550LF:~$
Merci d'avance pour vos réponses
Hors ligne
#2 Le 02/07/2023, à 21:25
- xubu1957
Re : E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/googl
Bonjour,
Montre le sources.list avec la numérotation :
find /etc/apt -type f \( -name '*.list*' -o -name '*.sources' \) -exec bash -c 'echo -e "\n\t$1\n"; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
La version 16.04 xenial, est obsolète, et tu n'as pas utilisé l'esm.
Depuis avril 2021, Ubuntu 16.04 est en fin de vie (end of life, EOL). Elle ne profite plus de nouvelle mise à jour de sécurité, exceptés aux adhérents du programme Ubuntu ESM, et les paquets logiciels pour cette version sont déplacés dans des serveurs d'archive. Pour continuer à recevoir des mises à jour de sécurité, veuillez mettre à niveau votre version d'Ubuntu vers une version activement soutenue.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [ Résolu ] 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 03/07/2023, à 22:40
- Mojitelo
Re : E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/googl
Merci pour ta réponse,
voici ce que ça donne :
eloise@eloise-N550LF:~$ find /etc/apt -type f \( -name '*.list*' -o -name '*.sources' \) -exec bash -c 'echo -e "\n\t$1\n"; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial main restricted
6 # deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-updates main restricted
11 # deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial universe
17 # deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
18 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-updates universe
19 # deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial multiverse
27 # deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
28 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-updates multiverse
29 # deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-backports main restricted universe multiverse
37 # deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
38
39 ## Uncomment the following two lines to add software from Canonical's
40 ## 'partner' repository.
41 ## This software is not part of Ubuntu, but is offered by Canonical and the
42 ## respective vendors as a service to Ubuntu users.
43 deb http://archive.canonical.com/ubuntu xenial partner
44 # deb-src http://archive.canonical.com/ubuntu xenial partner
45
46 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-security main restricted
47 # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
48 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-security universe
49 # deb-src http://security.ubuntu.com/ubuntu xenial-security universe
50 deb http://bouyguestelecom.ubuntu.lafibre.info/ubuntu/ xenial-security multiverse
51 # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list.save
/etc/apt/sources.list.d/google-chrome.list
1 deb [arch-amd64] https://dl.google.com/linux/chrome/deb/ stable main
eloise@eloise-N550LF:~$
Faut-il que je change de version d'ubuntu ?
Merci pour tes réponses (et désolée pour mon délai de réponse, je ne suis sur mon ordinateur que le soir vers cette heure là...)
Hors ligne
#4 Le 03/07/2023, à 22:50
- xubu1957
Re : E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/googl
Présence d'un tiret :
deb [arch-amd64] https://dl.google.com/linux/chrome/deb/ stable main
au lieu du signe égal :
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
La Doc google_chrome
La version xenial est périmée :
Fin de vie depuis avril 2021
Depuis avril 2021, Ubuntu 16.04 est en fin de vie (end of life, EOL). Elle ne profite plus de nouvelle mise à jour de sécurité, exceptés aux adhérents du programme Ubuntu ESM, et les paquets logiciels pour cette version sont déplacés dans des serveurs d'archive. Pour continuer à recevoir des mises à jour de sécurité, veuillez mettre à niveau votre version d'Ubuntu vers une version activement soutenue.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [ Résolu ] 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
#5 Le 04/07/2023, à 07:04
- iznobe
Re : E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/googl
Bonjour ,
Faut-il que je change de version d'ubuntu ?
en verifiant prealablement que ta machine supporte le 64 bit et qu ' elle a suffisamment de RAM : soit tu installes une version encore activement soutenue , soit tu fais une migration vers une version activement soutenue ( mais cette option risque de ne pas etre disponible car ta version est trop ancienne ) .
si les prerequis materiel ne sont pas bons , il faudra alors s ' orienter vers un autre type de distro linux en rapport avec ton materiel .
En gros , tout depend des retours de commandes suivant :
lscpu | grep bit
et
free -h
tu as le lien cidessous ( message 1 ) qui explique comment donner un retour de commande si besoin .
tu peux modifier le fichier fautif de ton erreur de cette discussion en copiant tout le bloc de code suivant et en le collant dans ton terminal :
cat << EOF | sudo tee /etc/apt/sources.list.d/google-chrome.list
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
EOF
Pour verifier que tout va bien , donne le retour de :
sudo apt update
Dernière modification par iznobe (Le 04/07/2023, à 07:09)
retour COMPLET et utilisable de commande | script montage partitions | script install auto BROTHER]
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#6 Le 08/07/2023, à 20:40
- Mojitelo
Re : E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/googl
Bonjour,
Merci beaucoup pour ta réponse.
Voici les différents retours :
eloise@eloise-N550LF:~$ cat << EOF | sudo tee /etc/apt/sources.list.d/google-chrome.list
> deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
> EOF
[sudo] Mot de passe de eloise :
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
eloise@eloise-N550LF:~$
eloise@eloise-N550LF:~$ lscpu | grep bit
Mode(s) opératoire(s) des processeurs :32-bit, 64-bit
eloise@eloise-N550LF:~$ free -h
total utilisé libre partagé tamp/cache disponible
Mem: 3,7G 2,2G 199M 522M 1,4G 778M
Partition d'échange: 3,9G 9,5M 3,9G
eloise@eloise-N550LF:~$
Et en faisant la modification du fichier fautif cela semble avoir fonctionné :
eloise@eloise-N550LF:~$ sudo apt update
Atteint :1 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial InRelease
Réception de :2 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates InRelease [99,8 kB]
Réception de :3 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-backports InRelease [97,4 kB]
Réception de :4 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security InRelease [99,8 kB]
Réception de :5 https://dl.google.com/linux/chrome/deb stable InRelease [1 825 B]
Réception de :6 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/main amd64 Packages [2 049 kB]
Réception de :7 http://archive.canonical.com/ubuntu xenial InRelease [11,5 kB]
Réception de :8 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1 079 B]
Réception de :9 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/main i386 Packages [1 525 kB]
Réception de :10 http://archive.canonical.com/ubuntu xenial/partner amd64 Packages [2 696 B]
Réception de :11 http://archive.canonical.com/ubuntu xenial/partner i386 Packages [2 696 B]
Réception de :12 http://archive.canonical.com/ubuntu xenial/partner Translation-en [1 556 B]
Réception de :13 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/main Translation-en [461 kB]
Réception de :14 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/main amd64 DEP-11 Metadata [327 kB]
Réception de :15 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/main DEP-11 64x64 Icons [258 kB]
Réception de :16 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/universe amd64 Packages [1 221 kB]
Réception de :17 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/universe i386 Packages [1 087 kB]
Réception de :18 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/universe Translation-en [359 kB]
Réception de :19 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [280 kB]
Réception de :20 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/universe DEP-11 64x64 Icons [442 kB]
Réception de :21 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/multiverse amd64 Packages [21,6 kB]
Réception de :22 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/multiverse i386 Packages [20,4 kB]
Réception de :23 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/multiverse Translation-en [8 440 B]
Réception de :24 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5 960 B]
Réception de :25 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [18,3 kB]
Réception de :26 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3 328 B]
Réception de :27 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [6 604 B]
Réception de :28 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/main amd64 Packages [1 648 kB]
Réception de :29 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/main i386 Packages [1 160 kB]
Réception de :30 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/main amd64 DEP-11 Metadata [93,6 kB]
Réception de :31 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/main DEP-11 64x64 Icons [116 kB]
Réception de :32 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/universe amd64 Packages [786 kB]
Réception de :33 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/universe i386 Packages [666 kB]
Réception de :34 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/universe Translation-en [226 kB]
Réception de :35 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/universe amd64 DEP-11 Metadata [130 kB]
Réception de :36 http://bouyguestelecom.ubuntu.lafibre.info/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [2 468 B]
13,2 Mo réceptionnés en 4s (3 084 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
7 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
Merci encore
Hors ligne
#7 Le 08/07/2023, à 22:49
- iznobe
Re : E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/googl
Bonsoir , effectivement , l' erreur n' est plus .
reste a realiser la mise a niveau ( ou a passer en ESM ) , mais il vaudrait mieux faire la mise a niveau . c ' est un peu complexe a realiser pour les versions ancienne , mais ya une doc qui explique ce qu ' il faut faire , si je la retrouve ...
De plus je ne suis pas certain que ce soit encore possible a partir d ' ubuntu xenial .
EDIT , c ' est ici : https://doc.ubuntu-fr.org/old-releases
Dernière modification par iznobe (Le 08/07/2023, à 22:55)
retour COMPLET et utilisable de commande | script montage partitions | script install auto BROTHER]
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#8 Le 11/07/2023, à 23:40
- Mojitelo
Re : E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/googl
Merci à vous deux xubu1957 et iznobe !
Hors ligne