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 25/04/2016, à 19:08

jbmuffat

pb de lecture dans la souce list

Bonjour,
que fait-on quand, lors d'une mise à jour, on a ce message: E:Malformed entry 78 in list file /etc/apt/sources.list (Component), E:The list of sources could not be read. ?

Dernière modification par jbmuffat (Le 25/04/2016, à 19:09)

Hors ligne

#2 Le 25/04/2016, à 19:11

michel_04

Re : pb de lecture dans la souce list

Bonjour,

jbmuffat a écrit :

que fait-on quand, lors d'une mise à jour, on a ce message: E:Malformed entry 78 in list file /etc/apt/sources.list (Component), E:The list of sources could not be read. ?

Donne le retour de :

cat /etc/apt/sources.list

A+

Hors ligne

#3 Le 25/04/2016, à 21:03

jbmuffat

Re : pb de lecture dans la souce list

ça me renvoie

cat: /etc/apt/sources.list.: Aucun fichier ou dossier de ce type

Par contre, j'ai un fichier  sources.list.d  et la même commande en rajoutant le "d" me dit que c'est un dossier.

Hors ligne

#4 Le 25/04/2016, à 21:10

pingouinux

Re : pb de lecture dans la souce list

Bonsoir,
Tu as ajouté un point à la fin de la commande de michel_04 en #2.

Hors ligne

#5 Le 25/04/2016, à 21:12

michel_04

Re : pb de lecture dans la souce list

Re,

jbmuffat a écrit :
cat: /etc/apt/sources.list.: Aucun fichier ou dossier de ce type

Il y a un point après list ?
Fait un copié/collé de la commande dans le terminal

cat /etc/apt/sources.list

A+

Hors ligne

#6 Le 25/04/2016, à 21:17

jbmuffat

Re : pb de lecture dans la souce list

Effectivement ça change:

jb@jb-HP-Pavilion-Notebook:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ gnom/dists/utopic/main/binary-i386/

# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ gnom/dists/utopic/multiverse/binary-amd64/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ gnom/dists/utopic/multiverse/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ gnom/dists/utopic/restricted/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ gnom/dists/utopic/universe/binary-amd64/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ gnom/dists/utopic/universe/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ kubu/dists/utopic/main/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ kubu/dists/utopic/multiverse/binary-amd64/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ kubu/dists/utopic/multiverse/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ kubu/dists/utopic/restricted/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ kubu/dists/utopic/universe/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ lubu/dists/utopic/main/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ lubu/dists/utopic/multiverse/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ lubu/dists/utopic/restricted/binary-amd64/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ lubu/dists/utopic/restricted/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ lubu/dists/utopic/universe/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ xubu/dists/utopic/main/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ xubu/dists/utopic/multiverse/binary-amd64/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ xubu/dists/utopic/multiverse/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ xubu/dists/utopic/restricted/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ xubu/dists/utopic/universe/binary-amd64/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ xubu/dists/utopic/universe/binary-i386/
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/gnom/ utopic main restricted
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/kubu/ utopic main restricted universe
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/lubu/ utopic main multiverse universe
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/xubu/ utopic 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/ 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://fr.archive.ubuntu.com/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://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/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://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/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://fr.archive.ubuntu.com/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 utopic partner

# deb http://download.virtualbox.org/virtualbox/debian vivid contrib # désactivé pour la mise à niveau vers xenial
# deb-src http://download.virtualbox.org/virtualbox/debian vivid contrib
deb http://archive.canonical.com/ xenial partner
# deb-src http://archive.canonical.com/ wily partner
deb http://security.ubuntu.com/ubuntu/ xenial-security restricted universe main multiverse

Hors ligne

#7 Le 26/04/2016, à 07:34

pingouinux

Re : pb de lecture dans la souce list

jbmuffat #1 a écrit :

E:Malformed entry 78 in list file /etc/apt/sources.list

Le fichier que tu montres en #6 n'a que 77 lignes. Donne le retour de

hd /etc/apt/sources.list | tail -10

Hors ligne

#8 Le 26/04/2016, à 07:55

moko138

Re : pb de lecture dans la souce list

pingouinux, est-ce qu'il existe des dépôts partner pour xenial ?


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#9 Le 26/04/2016, à 08:17

pingouinux

Re : pb de lecture dans la souce list

moko138 #8 a écrit :

pingouinux, est-ce qu'il existe des dépôts partner pour xenial ?

Je ne sais pas. Je suspectais un caractère bizarre en fin de fichier, ou peut-être une absence de fin de ligne.

Hors ligne

#10 Le 26/04/2016, à 08:41

moko138

Re : pb de lecture dans la souce list

Sur security.ubuntu.com/ubuntu/dists/ je ne vois pas de "partner".
Mais archive.canonical.com/dists/xenial/partner/ existe.

Et de ces deux lignes

deb http://archive.canonical.com/ubuntu xenial partner
deb http://archive.canonical.com/ xenial partner

au moins la seconde est à effacer.

AJOUT :
Est-il normal de ne pas avoir cette ligne

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

après la 78ème qui est la même moins "-src" ?

Dernière modification par moko138 (Le 26/04/2016, à 08:55)


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#11 Le 01/05/2016, à 13:42

jbmuffat

Re : pb de lecture dans la souce list

Bonjour et merci à tous:
hd /etc/apt/sources.list | tail -10 donne

jb@jb-HP-Pavilion-Notebook:~$ hd /etc/apt/sources.list | tail -10
000015c0  65 62 2d 73 72 63 20 68  74 74 70 3a 2f 2f 61 72  |eb-src http://ar|
000015d0  63 68 69 76 65 2e 63 61  6e 6f 6e 69 63 61 6c 2e  |chive.canonical.|
000015e0  63 6f 6d 2f 20 77 69 6c  79 20 70 61 72 74 6e 65  |com/ wily partne|
000015f0  72 0a 64 65 62 20 68 74  74 70 3a 2f 2f 73 65 63  |r.deb http://sec|
00001600  75 72 69 74 79 2e 75 62  75 6e 74 75 2e 63 6f 6d  |urity.ubuntu.com|
00001610  2f 75 62 75 6e 74 75 2f  20 78 65 6e 69 61 6c 2d  |/ubuntu/ xenial-|
00001620  73 65 63 75 72 69 74 79  20 72 65 73 74 72 69 63  |security restric|
00001630  74 65 64 20 75 6e 69 76  65 72 73 65 20 6d 61 69  |ted universe mai|
00001640  6e 20 6d 75 6c 74 69 76  65 72 73 65 0a           |n multiverse.|
0000164d

Hors ligne

#12 Le 01/05/2016, à 13:44

jbmuffat

Re : pb de lecture dans la souce list

Pour moko 138, c'est bien 

deb http://archive.canonical.com/ xenial partner

que je dois déocher?

Hors ligne

#13 Le 01/05/2016, à 18:03

moko138

Re : pb de lecture dans la souce list

Oui.

Voir plus bas.

Dernière modification par moko138 (Le 01/05/2016, à 22:14)


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#14 Le 01/05/2016, à 20:37

pingouinux

Re : pb de lecture dans la souce list

Suite à ta réponse en #11, je ne vois rien d'anormal à la fin du fichier. Je reste perplexe sur une erreur à la ligne 78 d'un fichier qui n'en contient que 77 (voir ma remarque en #7).

Hors ligne

#15 Le 01/05/2016, à 22:38

moko138

Re : pb de lecture dans la souce list

Plus haut je t'ai mal répondu, parce que je me suis focalisé sur le choix de la ligne.

Mais ta question était

Pour moko 138, c'est bien

deb http://archive.canonical.com/ xenial partner

que je dois déocher (sic) ?

Or il ne s'agit pas de décocher quoi que ce soit.
Comprends que tu as une ligne bien formée et une ligne mal formée dans ton sources.list.
Exactement comme si tu avais sur ta liste de courses

Aller à l'épicerie prendre du sel.
Aller à l'  prendre du sel.

Décocher enlèverait la bonne ligne sans supprimer la mauvaise.

Tu dois éditer le fichier.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne