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 28/02/2019, à 21:11

15mai2016

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

Bonjour,

J'utilise Ubuntu18.04. Je ne peux plus accéder à la logithèque : chaque fois que je l'ouvre, une page marquée "Chargement du catalogue de logiciels en cours" apparaît et rien ne se passe. Toute tentative de mettre à jour en passant par le terminal donne le message

E: entrée 1 mal formée dans list fichier /etc/apt/sources.list
E: la liste des sources ne peut être lue

.
J'ai essayé

cat /etc/apt/sources.list.d/arc-theme.list

en suivant la page https://forum.ubuntu-fr.org/viewtopic.php?id=1948601 ms cela me réponds que il n'y a aucun fichier de ce type.
Quelles sont vos suggestions ?

Hors ligne

#2 Le 28/02/2019, à 21:14

Nuliel

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

Tu peux donner

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

Hors ligne

#3 Le 28/02/2019, à 21:40

Hizoka

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

Salut,

et tout simplement

cat /etc/apt/sources.list

KDE Neon 64bits
Tous mes softs (MKVExtractorQt, HizoSelect, HizoProgress, Qtesseract, Keneric, Services menus...) sont sur github

Hors ligne

#4 Le 28/02/2019, à 22:45

15mai2016

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

@ Naziel

nl: ": Aucun fichier ou dossier de ce type

Hors ligne

#5 Le 28/02/2019, à 23:02

15mai2016

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

@Hizoka

    1	# deb cdrom:[Ubuntu 18.10 _Cosmic Cuttlefish_ - Release amd64 (20181017.3)]/ cosmic 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/ cosmic main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic main restricted
     7	## Major bug fix updates produced after the final release of the
     8	## distribution.
     9	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted
    10	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted
    11	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    12	## team. Also, please note that software in universe WILL NOT receive any
    13	## review or updates from the Ubuntu security team.
    14	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic universe
    15	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic universe
    16	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates universe
    18	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    19	## team, and may not be under a free licence. Please satisfy yourself as to 
    20	## your rights to use the software. Also, please note that software in 
    21	## multiverse WILL NOT receive any review or updates from the Ubuntu
    22	## security team.
    23	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic multiverse
    24	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic multiverse
    25	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
    26	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
    27	## N.B. software from this repository may not have been tested as
    28	## extensively as that contained in the main release, although it includes
    29	## newer versions of some applications which may provide useful features.
    30	## Also, please note that software in backports WILL NOT receive any review
    31	## or updates from the Ubuntu security team.
    32	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
    33	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
    34	## Uncomment the following two lines to add software from Canonical's
    35	## 'partner' repository.
    36	## This software is not part of Ubuntu, but is offered by Canonical and the
    37	## respective vendors as a service to Ubuntu users.
    38	deb http://archive.canonical.com/ubuntu cosmic partner
    39	deb http://security.ubuntu.com/ubuntu cosmic-security main restricted
    40	# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted
    41	deb http://security.ubuntu.com/ubuntu cosmic-security universe
    42	# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe
    43	deb http://security.ubuntu.com/ubuntu cosmic-security multiverse
    44	# deb-src http://security.ubuntu.com/ubuntu cosmic-security multiverse
    45	deb http://dl.winehq.org/wine-builds/ubuntu/ cosmic main
    46	# deb-src http://dl.winehq.org/wine-builds/ubuntu/ cosmic main
    47	deb dl.winehq.org/wine-builds/ubuntu cosmic main # deb-src dl.winehq.org/wine-builds/ubuntu cosmic main
    48	deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main
    49	# deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main

Hors ligne

#6 Le 28/02/2019, à 23:25

15mai2016

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

@Hizoka
Plutôt celle-ci

    1	# deb cdrom:[Ubuntu 18.10 _Cosmic Cuttlefish_ - Release amd64 (20181017.3)]/ cosmic 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/ cosmic main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic main restricted
     7	## Major bug fix updates produced after the final release of the
     8	## distribution.
     9	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted
    10	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted
    11	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    12	## team. Also, please note that software in universe WILL NOT receive any
    13	## review or updates from the Ubuntu security team.
    14	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic universe
    15	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic universe
    16	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates universe
    18	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    19	## team, and may not be under a free licence. Please satisfy yourself as to 
    20	## your rights to use the software. Also, please note that software in 
    21	## multiverse WILL NOT receive any review or updates from the Ubuntu
    22	## security team.
    23	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic multiverse
    24	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic multiverse
    25	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
    26	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
    27	## N.B. software from this repository may not have been tested as
    28	## extensively as that contained in the main release, although it includes
    29	## newer versions of some applications which may provide useful features.
    30	## Also, please note that software in backports WILL NOT receive any review
    31	## or updates from the Ubuntu security team.
    32	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
    33	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
    34	## Uncomment the following two lines to add software from Canonical's
    35	## 'partner' repository.
    36	## This software is not part of Ubuntu, but is offered by Canonical and the
    37	## respective vendors as a service to Ubuntu users.
    38	deb http://archive.canonical.com/ubuntu cosmic partner 
    39	deb-src http://archive.canonical.com/ubuntu cosmic partner 
    40	deb http://security.ubuntu.com/ubuntu cosmic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted
    41	deb http://security.ubuntu.com/ubuntu cosmic-security universe
    42	# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe
    43	deb http://security.ubuntu.com/ubuntu cosmic-security multiverse
    44	# deb-src http://security.ubuntu.com/ubuntu cosmic-security multiverse
    45	This system was installed using small removable media
    46	(e.g. netinst, live or single CD). The matching "deb cdrom"
    47	entries were disabled at the end of the installation process
    48	For information about how to configure apt package sources
    49	see the sources.list(5) manual 

Hors ligne

#8 Le 01/03/2019, à 09:41

Hizoka

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

tu n'as pas de # pour les lignes ?

    45	This system was installed using small removable media
    46	(e.g. netinst, live or single CD). The matching "deb cdrom"
    47	entries were disabled at the end of the installation process
    48	For information about how to configure apt package sources
    49	see the sources.list(5) manual 

KDE Neon 64bits
Tous mes softs (MKVExtractorQt, HizoSelect, HizoProgress, Qtesseract, Keneric, Services menus...) sont sur github

Hors ligne

#9 Le 01/03/2019, à 09:59

Nuliel

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

De plus il y a peut être un espace en trop à la première ligne, et des numéros de lignes sur un retour de cat, c'est pas normal

Hors ligne

#10 Le 01/03/2019, à 10:50

15mai2016

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

@tous
Je pense que ça ira mieux ainsi

#deb cdrom:[Ubuntu 18.10 _Cosmic Cuttlefish_ - Release amd64 (20181017.3)]/ cosmic 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/ cosmic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic main restricted

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

deb http://security.ubuntu.com/ubuntu cosmic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted
deb http://security.ubuntu.com/ubuntu cosmic-security universe
# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe
deb http://security.ubuntu.com/ubuntu cosmic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu cosmic-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.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Hors ligne

#11 Le 01/03/2019, à 10:54

15mai2016

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

@ Naziel
Quand je demande

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

j'obtiens

/etc/apt/sources.list

     1	#deb cdrom:[Ubuntu 18.10 _Cosmic Cuttlefish_ - Release amd64 (20181017.3)]/ cosmic 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/ cosmic main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic 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/ cosmic-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-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/ cosmic universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-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/ cosmic multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-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/ cosmic-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-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 cosmic partner
    44	# deb-src http://archive.canonical.com/ubuntu cosmic partner
    45	
    46	deb http://security.ubuntu.com/ubuntu cosmic-security main restricted
    47	# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted
    48	deb http://security.ubuntu.com/ubuntu cosmic-security universe
    49	# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe
    50	deb http://security.ubuntu.com/ubuntu cosmic-security multiverse
    51	# deb-src http://security.ubuntu.com/ubuntu cosmic-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.

/etc/apt/sources.list.d/sublime-text.list

     1	deb https://download.sublimetext.com/apt/dev/

Hors ligne

#12 Le 01/03/2019, à 11:05

nam1962

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

Il t'a déjà été demandé le retour de prompt à prompt :

moko138 a écrit :

Un retour complet, comprend 4 éléments :
2.1- le prompt initial, qui ressemble à :

Dave2001@HAL9000-pc:~$

.
2.2- la commande, par exemple :

cp /home/Dave2001/Saturne.jpg  /mon/DDE/Saturne.jpg

destinée à copier la photo "Saturne" de mon home vers mon DDE (Disque Dur Externe).

2.3- la réponse du système à la commande :

cp: impossible d'évaluer «/home/Dave2001/Saturne.jpg»: Aucun fichier ou dossier de ce type

.
2.4- le retour automatique du prompt final (pas toujours identique à l'initial).
.

==========================

Il faut donc donner au forum tout ceci :

Dave2001@HAL9000-pc:~$ cp /home/Dave2001/Saturne.jpg  /mon/DDE/Saturne.jpg
cp: impossible d'évaluer «/home/Dave2001/Saturne.jpg»: Aucun fichier ou dossier de ce type
Dave2001@HAL9000-pc:~$

==========================


[ Modéré ]

Hors ligne

#13 Le 01/03/2019, à 11:20

15mai2016

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

@Nam1962

jullien@jullien-Lenovo-V110-15IAP:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1	#deb cdrom:[Ubuntu 18.10 _Cosmic Cuttlefish_ - Release amd64 (20181017.3)]/ cosmic 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/ cosmic main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic 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/ cosmic-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-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/ cosmic universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-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/ cosmic multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-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/ cosmic-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ cosmic-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 cosmic partner
    44	# deb-src http://archive.canonical.com/ubuntu cosmic partner
    45	
    46	deb http://security.ubuntu.com/ubuntu cosmic-security main restricted
    47	# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted
    48	deb http://security.ubuntu.com/ubuntu cosmic-security universe
    49	# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe
    50	deb http://security.ubuntu.com/ubuntu cosmic-security multiverse
    51	# deb-src http://security.ubuntu.com/ubuntu cosmic-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.

/etc/apt/sources.list.d/sublime-text.list

     1	deb https://download.sublimetext.com/apt/dev/
jullien@jullien-Lenovo-V110-15IAP:~$ /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission non accordée
jullien@jullien-Lenovo-V110-15IAP:~$ 
jullien@jullien-Lenovo-V110-15IAP:~$      1#deb cdrom:[Ubuntu 18.10 _Cosmic Cuttlefish_ - Release amd64 (20181017.3)]/ cosmic main restricted
bash: erreur de syntaxe près du symbole inattendu « ( »
jullien@jullien-Lenovo-V110-15IAP:~$      2
2 : commande introuvable
jullien@jullien-Lenovo-V110-15IAP:~$      3# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
3# : commande introuvable
jullien@jullien-Lenovo-V110-15IAP:~$      411toppm # newer versions of the distribution.
411toppm: Reading (64x48):  -

Hors ligne

#14 Le 01/03/2019, à 11:32

nany

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

On a enfin du concret pour pouvoir t’aider.
Donne le retour de :

sudo sed -i 's/#deb/# deb/; s/# deb http/deb http/' /etc/apt/sources.list && sudo apt update

Hors ligne

#15 Le 01/03/2019, à 11:42

15mai2016

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

@Nany

jullien@jullien-Lenovo-V110-15IAP:~$ sudo sed -i 's/#deb/# deb/; s/# deb http/deb http/' /etc/apt/sources.list && sudo apt update
[sudo] Mot de passe de jullien : 
E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/sublime-text.list (Suite)
E: La liste des sources ne peut être lue.
jullien@jullien-Lenovo-V110-15IAP:~$ 

Hors ligne

#16 Le 01/03/2019, à 11:59

nany

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

Alors donne le retour de :

sudo sed -i 's#com/apt#com/ apt#' /etc/apt/sources.list.d/sublime-text.list && sudo apt update

Hors ligne

#17 Le 01/03/2019, à 12:05

inbox

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

Salut,

La documentation du forum sur Sublime-text indique le bon format pour ajouter le dépôt dans les sources.

A+


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#18 Le 01/03/2019, à 12:09

nam1962

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

Le mieux est de l'installer via flatpak : https://flathub.org/apps/details/com.sublimetext.three
En ayant viré le PPA et son install


[ Modéré ]

Hors ligne

#19 Le 01/03/2019, à 12:22

15mai2016

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

@nany
La commande a provoqué le téléchargement des mises à jour. Du coup, un nouveau message est apparu sur la page d'ouverture de la logithèque qui reste celle avec le message "chargement du catalogue de logiciels en cours" :
Impossible de télécharger les mises à jour depuis "extensions.gnome.org":
[*/*/*/source/shell-extensions/*] failed to download https://extensions.gnome.org//static/extensions.json: Cannot resolve hostname

Hors ligne

#20 Le 01/03/2019, à 12:28

nany

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

Alors essaie ça :

killall gnome-software
rm -r ~/.local/share/gnome-software

Puis relance la logithèque.

Dernière modification par nany (Le 01/03/2019, à 12:28)

Hors ligne

#21 Le 01/03/2019, à 12:32

15mai2016

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

@Nany
Ça marche ! Merci !!!
@aux autres
Merci aussi!

Hors ligne

#22 Le 01/03/2019, à 13:18

nam1962

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

Relis le #18 wink si tu as besoin d'aide pour l'appliquer, dis.


[ Modéré ]

Hors ligne

#23 Le 01/03/2019, à 19:37

Hizoka

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

Si c'est bon, ajoute [Résolu] dans le titre de ton topic smile


KDE Neon 64bits
Tous mes softs (MKVExtractorQt, HizoSelect, HizoProgress, Qtesseract, Keneric, Services menus...) sont sur github

Hors ligne