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 29/11/2020, à 20:32

strubby

[RESOLU]Entrée 53 mal formée dans list fichier /etc/apt/sources.list

Bonjour,

une mise à jour des paquets a mal tourné et j'ai ce message  Entrée 53 mal formée dans list fichier /etc/apt/sources.list (Component). N'étant pas calée du tout, je me permets de vous solliciter...
Je vous remercie beaucoup par avance.

Si cela peu faire avancer, voici la réponse en mettant la commande :

find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && nl -ba "$1"' _ '{}' \;
elise@Albert2:~$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty 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/ bionic main restricted
     6	deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic 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/ bionic-updates main restricted
    11	deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic universe
    17	deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
    19	deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic multiverse
    27	deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    29	deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic-backports main restricted universe multiverse
    37	deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    38	
    39	deb http://security.ubuntu.com/ubuntu bionic-security main restricted
    40	deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
    41	deb http://security.ubuntu.com/ubuntu bionic-security universe
    42	deb-src http://security.ubuntu.com/ubuntu bionic-security universe
    43	deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    44	deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
    45	
    46	## Uncomment the following two lines to add software from Canonical's
    47	## 'partner' repository.
    48	## This software is not part of Ubuntu, but is offered by Canonical and the
    49	## respective vendors as a service to Ubuntu users.
    50	# deb http://archive.canonical.com/ubuntu trusty partner
    51	# deb-src http://archive.canonical.com/ubuntu trusty partner
    52	
    53	deb http://archive.canonical.com/ partner
    54	# deb-src http://archive.canonical.com/ partner

/etc/apt/sources.list.d/indicator-brightness-ubuntu-ppa-xenial.list

     1	# deb http://ppa.launchpad.net/indicator-brightness/ppa/ubuntu bionic main # désactivé pour la mise à niveau vers bionic
     2	# deb-src http://ppa.launchpad.net/indicator-brightness/ppa/ubuntu xenial main

/etc/apt/sources.list.d/indicator-brightness-ubuntu-ppa-xenial.list.distUpgrade


/etc/apt/sources.list.d/indicator-brightness-ubuntu-ppa-xenial.list.save


/etc/apt/sources.list.distUpgrade


/etc/apt/sources.list.save

Dernière modification par strubby (Le 29/11/2020, à 22:00)

Hors ligne

#2 Le 29/11/2020, à 20:49

Qid

Re : [RESOLU]Entrée 53 mal formée dans list fichier /etc/apt/sources.list

A vu de nez tu as ça :

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

Et en comparant avec une autre ancienne ligne

50	# deb http://archive.canonical.com/ubuntu trusty partner

Bref... Base toi là-dessus en adaptant évidemment le nom de ta version actuelle...


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne