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 07/05/2019, à 19:04

FoxTrotte

Erreurs dans mon fichier source.list...

Bonjour à toutes et à tous !

J'ai essayé de désinstaller Wine il y a de cela quelques mois, et en le faisant j'ai l'impression que j'ai corrompu mon fichier source.list sad

A chaque tentative d'installation, de mise à jour etc, le terminal me lance un petit messages tout mignon:

E: Entrée 58 mal formée dans list fichier /etc/apt/sources.list (URI parse)
E: La liste des sources ne peut être lue.

Voici le contenu de mon source.list:

# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic 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/ bionic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted

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

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb http://mcpelauncher.mrarm.io/apt/ubuntu/ bionic main
# deb-src http://mcpelauncher.mrarm.io/apt/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main
deb bionic main
# deb-src bionic main
# deb-src bionic main

Voili voilou... Je suis un peu perdu dans tout ça et je n'arrive pas bien à comprendre mon problème.

Pourriez vous m'aider  ?

Merci bien !


Pc pour les études...

Ubuntu 18.04 - i3 3120M - 8Go

Hors ligne

#2 Le 07/05/2019, à 19:18

nany

Re : Erreurs dans mon fichier source.list...

Bonjour,

Il faut supprimer les dernières lignes qui sont incorrectes :

sudo sed -i '56,$d;52,53d;s/^# deb http/deb http/' /etc/apt/sources.list && nl -ba /etc/apt/sources.list

Par la même occasion, la commande supprime le dépôt winehq et active le dépôt partner.

En ligne

#3 Le 07/05/2019, à 19:20

FoxTrotte

Re : Erreurs dans mon fichier source.list...

nany a écrit :

Bonjour,

Il faut supprimer les dernières lignes qui sont incorrectes :

sudo sed -i '56,$d;52,53d;s/^# deb http/deb http/' /etc/apt/sources.list && nl -ba /etc/apt/sources.list

Par la même occasion, la commande supprime le dépôt winehq et active le dépôt partner.


Tu es parfait(e) merci beaucoup ! Par curiosité, à quoi sert le dépôt partner ?


Pc pour les études...

Ubuntu 18.04 - i3 3120M - 8Go

Hors ligne

#4 Le 07/05/2019, à 19:34

nany

Re : Erreurs dans mon fichier source.list...

FoxTrotte a écrit :

Par curiosité, à quoi sert le dépôt partner ?

Tu trouveras une explication succincte au §3 de la page de doc depots. wink

En ligne

#5 Le 07/05/2019, à 19:52

FoxTrotte

Re : Erreurs dans mon fichier source.list...

nany a écrit :
FoxTrotte a écrit :

Par curiosité, à quoi sert le dépôt partner ?

Tu trouveras une explication succincte au §3 de la page de doc depots. wink


Merci beaucoup c'est très gentil de ta part !


Pc pour les études...

Ubuntu 18.04 - i3 3120M - 8Go

Hors ligne