#1 Le 09/08/2022, à 11:33
- zigroful1
Probleme lors de la mise à jour de sublime text
Bonjour à tous,
Je travaille sous ubuntu 22.04 LTS. J'ai voulu mettre à jour sublime text et passer de la version 4113 à la version 1426 en suivant les indications sur
http://riddlemaster.tech/2022/05/11/how … 22-04-lts/
A un moment j'ai entré dans la ligne de commande l'instruction:
$ echo “deb https://download.sublimetext.com/ apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list
Depuis, toutes les fois que je veux utiliser "Logiciels et mise à jour", il affiche un message d'erreur:
E: Le type « “deb » est inconnu sur la ligne 1 dans la liste des sources /etc/apt/sources.list.d/sublime-text.list
E: La liste des sources ne peut être lue.
J'ai fait cat /etc/apt/sources.list et j'obtiens:
cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-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/ jammy universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy universe
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-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/ jammy multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-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/ jammy-security main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-security universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-security universe
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-security multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-security multiverse
# deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main
# deb-src http://archive.ubuntu.com/ubuntu bionic main
Mais je ne vois pas d'où vient l'erreur.
Quelqu'un a-t-il une idée ??
Merci d'avance
Hors ligne
#2 Le 09/08/2022, à 11:50
- nany
Re : Probleme lors de la mise à jour de sublime text
Bonjour,
A un moment j'ai entré dans la ligne de commande l'instruction:
$ echo “deb https://download.sublimetext.com/ apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list
Les guillemets ne sont pas corrects. Repasse la commande avec les bons :
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
En ligne
#3 Le 09/08/2022, à 11:56
- zigroful1
Re : Probleme lors de la mise à jour de sublime text
GRAND MERCI ! ça marche !
Hors ligne