#1 Le 04/05/2021, à 13:51
- Lumbre
E:Malformed entry 58 in list file /etc/apt/source.list [Résolu]
Bonjour à tous !
J'ai un souci qui paralyse mes MaJ et installations... L'entrée 58 de mon fichier source.list est apparemment incorrecte, mais débutant sur Ubuntu, je ne sais pas par où prendre le problème.
Voici le code du fichier :
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1)]/ 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.
56 # For information about how to configure apt package sources,
57 # see the sources.list(5) manual.
58 deb https://dl.winehq.org/wine.builds/ubuntu/hirsute main
59 # deb-src https://dl.winehq.org/wine.builds/ubuntu/hirsute main
60 deb https://dl.winehq.org/wine.builds/ubuntu/focal main
61 # deb-src https://dl.winehq.org/wine.builds/ubuntu/focal main
62 deb https://dl.winehq.org/wine.builds/ubuntu/ focal main
63 # deb-src https://dl.winehq.org/wine.builds/ubuntu/ focal mainMerci d'avance pour votre aide !
Dernière modification par Lumbre (Le 04/05/2021, à 15:11)
Hors ligne
#2 Le 04/05/2021, à 13:56
- Nasman

Re : E:Malformed entry 58 in list file /etc/apt/source.list [Résolu]
Peut être le mélange des deux versions focal (20.04) et hirsute (21.04) ?
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#3 Le 04/05/2021, à 14:00
- Lumbre
Re : E:Malformed entry 58 in list file /etc/apt/source.list [Résolu]
Merci Nasman pour ta réponse !
Comment virer l'une des deux ? Et laquelle virer ?
Je suis sous ubuntu 20.04.2, Je garde la version correspondante ?
Hors ligne
#4 Le 04/05/2021, à 14:03
- Nasman

Re : E:Malformed entry 58 in list file /etc/apt/source.list [Résolu]
Comment as tu procédé pour installer wine ?
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#5 Le 04/05/2021, à 14:10
- Lumbre
Re : E:Malformed entry 58 in list file /etc/apt/source.list [Résolu]
J'ai entré les commandes que j'ai trouvé sur le site wineHQ.org
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' Il est possible que j'ai aussi entré la commande suivante en me plantant de version, et en voulant corriger (noob)
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main' Hors ligne
#6 Le 04/05/2021, à 15:04
- erresse

Re : E:Malformed entry 58 in list file /etc/apt/source.list [Résolu]
Bonjour,
De toute manière, tu as deux fois la description de winehq pour focal en plus de celle pour hirsute.
Si tu es sous focal, il te faut supprimer la description pour hirsute et aussi une des deux pour focal.
Et si tu es sous hirsute (je ne pense pas que ce soit le cas) tu vires les deux descriptions pour focal, bien sûr !
Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.
Hors ligne
#7 Le 04/05/2021, à 15:07
- Lumbre
Re : E:Malformed entry 58 in list file /etc/apt/source.list [Résolu]
J'ai réglé mon problème !
J'ai effacé les lignes 58 à 63, et repris l'installation de wine depuis le début. ![]()
Hors ligne
#8 Le 04/05/2021, à 15:11
- erresse

Re : E:Malformed entry 58 in list file /etc/apt/source.list [Résolu]
C'était la bonne chose à faire, il te reste à passer ton message en [Résolu] pour clore la conversation.![]()
Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.
Hors ligne