Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/01/2022, à 14:25

Flo6971

entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Bonjour,
Je viens vers vous car je rencontre un problème en essayant d'installer le logiciel Wine.
Hors je rencontre ce message dans mon terminal :

[entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Et voici ce que j'ai lorsque je suis un tuto disponible sur ce forum ( https://forum.ubuntu-fr.org/viewtopic.php?id=2040272 )
Comme vous pourrez le voir je n'ai pas de ligne 58.
Que faire SVP ?
Merci

$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/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

     1	# deb cdrom:[Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819)]/ focal 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://fr.archive.ubuntu.com/ubuntu/ focal main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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://fr.archive.ubuntu.com/ubuntu/ focal universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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://fr.archive.ubuntu.com/ubuntu/ focal multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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 focal partner
    44	# deb-src http://archive.canonical.com/ubuntu focal partner
    45	
    46	deb http://security.ubuntu.com/ubuntu focal-security main restricted
    47	# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    48	deb http://security.ubuntu.com/ubuntu focal-security universe
    49	# deb-src http://security.ubuntu.com/ubuntu focal-security universe
    50	deb http://security.ubuntu.com/ubuntu focal-security multiverse
    51	# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    52	
    53	# This system was installed using small removable media
    54	# (e.g. netinst, live or single CD). The matching "deb cdrom"
    55	# entries were disabled at the end of the installation process.

Hors ligne

#2 Le 14/01/2022, à 14:30

xubu1957

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Bonjour,

Donne le retour de :

sudo apt update

Dernière modification par xubu1957 (Le 14/01/2022, à 14:30)


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

En ligne

#3 Le 14/01/2022, à 14:30

iznobe

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Bonjour , 55 + 3 = 58 .
si on ajoute les 3 lignes de ton fichier google-chrome.list a celle precedente , sources.list la derniere ligne est la 58 et c ' est celle-ci :

3	deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

qui effectivement n ' a pas la meme structure que les autres .

elle correspond plutot a quelquechose pour debian .une ligne standard :
" deb adresse " et fini par : " focal main restricted "

Dernière modification par iznobe (Le 14/01/2022, à 14:32)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#4 Le 14/01/2022, à 14:35

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Merci xubu, voici donc le retour de ce que tu m'as demandé :

tteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://security.ubuntu.com/ubuntu focal-security InRelease          
Atteint :3 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease         
Atteint :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease       
Atteint :5 https://dl.google.com/linux/chrome/deb stable InRelease
Réception de :6 http://fr.archive.ubuntu.com/ubuntu focal/main Translation-en_GB [485 kB]
Réception de :7 http://fr.archive.ubuntu.com/ubuntu focal/restricted Translation-en_GB [3860 B]
Réception de :8 http://fr.archive.ubuntu.com/ubuntu focal/universe Translation-en_GB [319 kB]
Réception de :9 http://fr.archive.ubuntu.com/ubuntu focal/multiverse Translation-en_GB [105 kB]
913 ko réceptionnés en 1s (1408 ko/s)                                      
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
1 paquet peut être mis à jour. Exécutez « apt list --upgradable » pour le voir.

Que dois-je faire ?

iznobe, je dois faire quoi exactement aussi ?

Merci à vous

Hors ligne

#5 Le 14/01/2022, à 14:36

gl38

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

C'est effectivement bizarre !
Peux-tu donner le résultat de

cat /etc/apt/sources.list

en incluant la ligne qui vient juste après (avec un $)
Cordialement,
Guy

Hors ligne

#6 Le 14/01/2022, à 14:38

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

gl38 : La voici :

# deb cdrom:[Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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://fr.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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://fr.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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 focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
flo@flo-G751JM:~$ 

Merci

Hors ligne

#7 Le 14/01/2022, à 14:46

iznobe

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

personellement je suprimerai purement et simplement le ppa responsable avec ppa purge .

de plus l' adresse : https://dl.google.com/linux/chrome/deb/ renvoie une erreur 404 !

Dernière modification par iznobe (Le 14/01/2022, à 14:47)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#8 Le 14/01/2022, à 14:51

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

D'accord je vais essayer. Et comment je procède pour ça ?
Merci

Hors ligne

#9 Le 14/01/2022, à 14:56

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Dés que je veux installer "ppa-purge" j'ai un message d'erreur avec écrit :
Impossible d'installer ppa-purge: E: dpkg a été interrompu. Il est nécéssaire d'utiliser "dpkg -- configure -a" pour corriger le problème.

Décidément c'est galère lol

Hors ligne

#10 Le 14/01/2022, à 14:56

xubu1957

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

C'est google_chrome que tu voulais installer ?

Pourquoi ne pas utiliser alors chromium-browser !


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

En ligne

#11 Le 14/01/2022, à 14:58

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Oui c'était chrome car j'avais toujours lui. Dois je le supprimer pour celui que tu me donnes ?

Hors ligne

#12 Le 14/01/2022, à 14:59

iznobe

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

cette page te dis quelquechose ? https://www.ubuntuupdates.org/ppa/google_chrome


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#13 Le 14/01/2022, à 15:02

iznobe

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

il faut donc passer cette commande :

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key del -

je ne suis pas tres sur de la façon de proceder pour supprimer la clé , si quelqu ' un a mieux a proposer .

puis :

cd /etc/apt/sources.list.d ; sudo rm google-chrome.list; cd ;

Dernière modification par iznobe (Le 14/01/2022, à 15:14)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#14 Le 14/01/2022, à 15:04

xubu1957

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Pour wine, je n'assurerai pas l'aide, comme je ne l'ai pas installé.


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

En ligne

#15 Le 14/01/2022, à 15:10

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Chrome est supprimé c'est ok.
iznobe pour ta commande, je l'ai mise et ça m'a demandé mon mot de passe et après j'ai juste eu un "OK". Normal ?

Hors ligne

#16 Le 14/01/2022, à 15:13

iznobe

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

oui , normal .

As tu passer cette commande pour supprimer le PPA ?

cd /etc/apt/sources.list.d ; sudo rm google-chrome.list; cd ;

Dernière modification par iznobe (Le 14/01/2022, à 15:14)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#17 Le 14/01/2022, à 15:18

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Oui, je l'ai refait et ça m'a mis qu'aucun fichier de chrome n'était présent. Je ne le trouve plus nul part donc je pense que c'est bon. Je cherche juste comment installer Chromium. Ca n'a pas l'air simple quand on démarre sur Unbuntu.

Hors ligne

#18 Le 14/01/2022, à 15:20

iznobe

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

sudo apt install chromium-browser

devrait faire l' affaire , tu n' as pas trop du bien chercher , ce n' est vraiment pas difficile wink


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#19 Le 14/01/2022, à 15:26

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Yes c'est bon merci à toi. Par contre aucune possibilité de se connecter à son compte google dessus ?

Hors ligne

#20 Le 14/01/2022, à 15:33

iznobe

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

ba tu peux te connecter a ton compte google avec n ' importe quel navigateur  ( heureusement d' ailleurs ) .
tu tapes dans la barre d ' adresse gogole.com puis tu te connectes . tu l' ajoute aux favoris si besoin afin de ne pas retaper l' adresse .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#21 Le 14/01/2022, à 15:33

Flo6971

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

Et aussi quand j'essai de suivre le tutoriel pour installer wine ( https://wiki.winehq.org/Ubuntu ), mon terminal m'indique :

wget -nc https://dl.winehq.org/wine-builds/winehq.key
Fichier «winehq.key» déjà présent; pas de récupération.

A priori déjà présent, mais puis-je le trouver ?

Merci

Hors ligne

#22 Le 14/01/2022, à 15:35

iznobe

Re : entrée 58 mal formée dans liste fichier /etc/apt/sources.list

inutile de le trouver , ce fichier sert a verifier la validité du serveur en question .
il est " interrogé " chaque fois que tu feras appel au PPA correspondant .

Dernière modification par iznobe (Le 14/01/2022, à 15:36)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne