#1 Le 03/01/2019, à 12:44
- lucas.scellos
Résolu Problème ouverture du cache entrée 52
Bonjour à tous,
Je débute sur ubuntu, je suis sur la version 18.04. Depuis quelque jours , j'ai un pictogramme rouge en haut à droite dans mes notifications m'indiquant qu'une erreur est survenue et qu'il y avait une erreur à l'ouverture du cache : " Erreur : ouverture du cache(E:malformed entry 52 in list file /etc/apt/sources.list (Component),E:The list of sources could not be read.)".
De plus, lorsque je lance la commande
lucas@lucas-Aspire-E1-570:~$ sudo apt-get update
[sudo] Mot de passe de lucas :
E: Entrée 52 mal formée dans list fichier /etc/apt/sources.list (Component)
E: La liste des sources ne peut être lue.
lucas@lucas-Aspire-E1-570:~$
Cela est arrivé après avoir essayé d'installer des paquets, chose que je ne retenterais pas de si tôt.
Merci de votre aide
Dernière modification par lucas.scellos (Le 04/01/2019, à 16:57)
Hors ligne
#2 Le 03/01/2019, à 12:49
- nany
Re : Résolu Problème ouverture du cache entrée 52
Bonjour,
Donne le retour de cette commande :
find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && nl -ba "$1"' _ '{}' \;
Hors ligne
#3 Le 03/01/2019, à 12:50
- nam1962
Re : Résolu Problème ouverture du cache entrée 52
Et :
history 30
[ Modéré ]
Hors ligne
#4 Le 03/01/2019, à 15:24
- lucas.scellos
Re : Résolu Problème ouverture du cache entrée 52
Bonjour, merci pour ton retour
Voici le retour commande :
lucas@lucas-Aspire-E1-570:~$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && nl -ba "$1"' _ '{}' \;
/etc/apt/sources.list.save
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic 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 ## 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 bionic partner
44 # deb-src http://archive.canonical.com/ubuntu bionic partner
45
46 deb http://security.ubuntu.com/ubuntu bionic-security main restricted
47 # deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
48 deb http://security.ubuntu.com/ubuntu bionic-security universe
49 # deb-src http://security.ubuntu.com/ubuntu bionic-security universe
50 deb http://security.ubuntu.com/ubuntu bionic-security multiverse
51 # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
52 deb http://liveusb.info/multysystem/depot/all main
53 # deb-src http://liveusb.info/multysystem/depot/all main
/etc/apt/sources.list.d/lyx-devel-ubuntu-release-bionic.list.save
/etc/apt/sources.list.d/lyx-devel-ubuntu-release-bionic.list
1 deb http://ppa.launchpad.net/lyx-devel/release/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/lyx-devel/release/ubuntu bionic main
/etc/apt/sources.list.d/dolphin-emu-ubuntu-ppa-bionic.list.save
/etc/apt/sources.list.d/dolphin-emu-ubuntu-ppa-bionic.list
1 deb http://ppa.launchpad.net/dolphin-emu/ppa/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/dolphin-emu/ppa/ubuntu bionic main
lucas@lucas-Aspire-E1-570:~$
Dernière modification par lucas.scellos (Le 03/01/2019, à 15:25)
Hors ligne
#5 Le 03/01/2019, à 18:44
- nany
Re : Résolu Problème ouverture du cache entrée 52
Bien, tu n’as pas donné le retour de la commande demandée par nam1962 mais je peux quand même dire que tu as essayé d’installer multisystem sans succès car tu as fait des erreurs de copie. Le plus simple pour ne pas se tromper est de procéder par copier/coller.
Maintenant, donne le retour de cette ligne de commandes :
sudo sed -i '52,53d ; s/# deb http/deb http/g' /etc/apt/sources.list ; sudo apt update
Hors ligne
#6 Le 04/01/2019, à 10:26
- lucas.scellos
Re : Résolu Problème ouverture du cache entrée 52
Merci ,
Pour le history 30 :
35 help
36 ls
37 repartition.exe
38 sudo chmod +x repartition.bin
39 chmod +xrepartition.o
40 chmod --help
41 sudo apt-add-repository 'deb http://liveusb.info/multysystem/depot/all main'
42 sudo apt get firefox
43 chromium-browser
44 sudo apt get synaptic
45 sudo apt-get synaptic
46 sudo apt install synaptic
47 sudo apt-get update
48 sudo apt-get clean
49 sudo apt-get autoclean
50 sudo apt-get autoremove
51 apt-get
52 sudo apt-get
53 sudo apt-get upgrade
54 sudo apt-get update
55 cat -n /etc/apt/sources.list | grep "55"
56 car -n /etc/apt/sources.list | grep "52"
57 cat -n /etc/apt/sources.list | grep "52"
58 sudo apt-get clean sudo apt-get update sudo apt-get upgrade
59 sudo apt-get clean
60 sudo apt-get upgrade
61 sudo apt-get update
62 history 30
63 find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && nl -ba "$1"' _ '{}' \;
64 history 30
lucas@lucas-Aspire-E1-570:~$
et
lucas@lucas-Aspire-E1-570:~$ sudo sed -i '52,53d ; s/# deb http/deb http/g' /etc/apt/sources.list ; sudo apt update
[sudo] Mot de passe de lucas :
Réception de:1 http://archive.canonical.com/ubuntu bionic InRelease [10,2 kB]
Atteint:2 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Réception de:3 http://ppa.launchpad.net/dolphin-emu/ppa/ubuntu bionic InRelease [15,9 kB]
Réception de:4 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Réception de:5 http://ppa.launchpad.net/lyx-devel/release/ubuntu bionic InRelease [15,4 kB]
Réception de:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Réception de:7 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Réception de:8 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages [2308 B]
Réception de:9 http://archive.canonical.com/ubuntu bionic/partner i386 Packages [2300 B]
Réception de:10 http://archive.canonical.com/ubuntu bionic/partner Translation-en [1272 B]
Réception de:11 http://ppa.launchpad.net/dolphin-emu/ppa/ubuntu bionic/main amd64 Packages [1408 B]
Réception de:12 http://ppa.launchpad.net/dolphin-emu/ppa/ubuntu bionic/main i386 Packages [660 B]
Réception de:13 http://ppa.launchpad.net/lyx-devel/release/ubuntu bionic/main i386 Packages [1608 B]
Réception de:14 http://ppa.launchpad.net/lyx-devel/release/ubuntu bionic/main amd64 Packages [1608 B]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [476 kB]
Réception de:16 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [413 kB]
Réception de:17 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [178 kB]
Réception de:18 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [177 kB]
Réception de:19 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [235 kB]
Réception de:20 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [245 kB]
Réception de:21 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [88,9 kB]
Réception de:22 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Réception de:23 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [110 kB]
Réception de:24 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [107 kB]
Réception de:25 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [55,7 kB]
Réception de:26 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [62,2 kB]
Réception de:27 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [105 kB]
Réception de:28 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [14,8 kB]
Réception de:29 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [698 kB]
Réception de:30 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [9088 B]
Réception de:31 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [39,8 kB]
Réception de:32 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [706 kB]
Réception de:33 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [171 kB]
Réception de:34 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [200 kB]
Réception de:35 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [183 kB]
Réception de:36 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [329 kB]
Réception de:37 http://fr.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2464 B]
Réception de:38 http://fr.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5812 B]
4912 ko réceptionnés en 4s (1112 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
17 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
lucas@lucas-Aspire-E1-570:~$
J'ai ainsi ça quand je liste :
lucas@lucas-Aspire-E1-570:~$ apt list --upgradable
En train de lister... Fait
fonts-lyx/bionic,bionic 2.3.2-1~bionic~ppa1 all [pouvant être mis à jour depuis : 2.3.1-2~bionic~ppa1]
gir1.2-gnomedesktop-3.0/bionic-updates,bionic-security 3.28.2-0ubuntu1.2 amd64 [pouvant être mis à jour depuis : 3.28.2-0ubuntu1.1]
gnome-desktop3-data/bionic-updates,bionic-updates,bionic-security,bionic-security 3.28.2-0ubuntu1.2 all [pouvant être mis à jour depuis : 3.28.2-0ubuntu1.1]
gnome-software/bionic-updates 3.28.1-0ubuntu4.18.04.8 amd64 [pouvant être mis à jour depuis : 3.28.1-0ubuntu4.18.04.1]
gnome-software-common/bionic-updates,bionic-updates 3.28.1-0ubuntu4.18.04.8 all [pouvant être mis à jour depuis : 3.28.1-0ubuntu4.18.04.1]
gnome-software-plugin-snap/bionic-updates 3.28.1-0ubuntu4.18.04.8 amd64 [pouvant être mis à jour depuis : 3.28.1-0ubuntu4.18.04.1]
libgnome-desktop-3-17/bionic-updates,bionic-security 3.28.2-0ubuntu1.2 amd64 [pouvant être mis à jour depuis : 3.28.2-0ubuntu1.1]
linux-generic/bionic-updates,bionic-security 4.15.0.43.45 amd64 [pouvant être mis à jour depuis : 4.15.0.42.44]
linux-headers-generic/bionic-updates,bionic-security 4.15.0.43.45 amd64 [pouvant être mis à jour depuis : 4.15.0.42.44]
linux-image-generic/bionic-updates,bionic-security 4.15.0.43.45 amd64 [pouvant être mis à jour depuis : 4.15.0.42.44]
linux-libc-dev/bionic-updates,bionic-security 4.15.0-43.46 amd64 [pouvant être mis à jour depuis : 4.15.0-42.45]
linux-signed-generic/bionic-updates,bionic-security 4.15.0.43.45 amd64 [pouvant être mis à jour depuis : 4.15.0.42.44]
lyx/bionic 2.3.2-1~bionic~ppa1 amd64 [pouvant être mis à jour depuis : 2.3.1-2~bionic~ppa1]
lyx-common/bionic,bionic 2.3.2-1~bionic~ppa1 all [pouvant être mis à jour depuis : 2.3.1-2~bionic~ppa1]
tzdata/bionic-updates,bionic-updates,bionic-security,bionic-security 2018i-0ubuntu0.18.04 all [pouvant être mis à jour depuis : 2018g-0ubuntu0.18.04]
ubuntu-software/bionic-updates,bionic-updates 3.28.1-0ubuntu4.18.04.8 all [pouvant être mis à jour depuis : 3.28.1-0ubuntu4.18.04.1]
unattended-upgrades/bionic-updates,bionic-updates 1.1ubuntu1.18.04.8 all [pouvant être mis à jour depuis : 1.1ubuntu1.18.04.5]
Dernière modification par lucas.scellos (Le 04/01/2019, à 10:31)
Hors ligne
#7 Le 04/01/2019, à 15:03
- nany
Re : Résolu Problème ouverture du cache entrée 52
Eh bien voilà, ton système est débloqué et est maintenant prêt à recevoir les mises à jour.
Souhaites-tu que l’on continue à t’aider pour installer synaptic et multisystem ?
Hors ligne
#8 Le 04/01/2019, à 16:51
- lucas.scellos
Re : Résolu Problème ouverture du cache entrée 52
D'accord merci beaucoup !
Oui, je veux bien des conseils s'il y a des erreurs à éviter
J'ai installer synaptic par le gestionaire de paquet
Dernière modification par lucas.scellos (Le 04/01/2019, à 16:55)
Hors ligne
#9 Le 05/01/2019, à 16:56
- nany
Re : Résolu Problème ouverture du cache entrée 52
Oui, je veux bien des conseils s'il y a des erreurs à éviter
Alors mon premier conseil est la sauvegarde régulière de tes données.
En effet, tu sembles expérimenter ton système, et c’est plutôt bien car c’est en tombant qu’on apprend à marcher, autrement dit on apprend bien plus de ses erreurs. Ceci dit, tôt ou tard tu risques d’avoir un système instable où il sera plus simple et rapide de faire une réinstallation plutôt que de chercher à le remettre d’aplomb. D’où l’importance des sauvegardes.
En second lieu, je l’ai déjà dit mais je préfère me répéter, privilégie le copier/coller plutôt que la recopie manuelle qui est source d’erreur. On peut effectivement remarquer que tu as fait deux erreurs de copie dans la commande 41 de ton historique (un y à la place d’un i et un slash à la place d’une espace avant all). C’est ça qui a provoqué l’erreur de la ligne 52 malformée.
Cela étant, il est préférable de mettre les dépôts tiers dans des fichiers à part. Je préconise donc plutôt cette ligne de commande :
echo "deb http://liveusb.info/multisystem/depot all main" | sudo tee /etc/apt/sources.list.d/multisystem.list
Puis poursuivre ce que dit la doc multisystem c’est à dire :
wget -q http://liveusb.info/multisystem/depot/multisystem.asc -O- | sudo apt-key add -
sudo apt update
sudo apt install -y multisystem
Donne-nous les retours de ces quatre lignes de commandes (en ayant recours au copier/coller ben sûr ).
À noter que chez moi, en 18.04, multisystem ne fonctionne plus (refuse de voir les clés pourtant bien montées).
Aussi, par curiosité et puisque ton historique n’est pas bien long, j’aimerais avoir le retour de :
history
Hors ligne
#10 Le 05/01/2019, à 20:01
- nam1962
Re : Résolu Problème ouverture du cache entrée 52
+1 pour les sauvegardes !!
[ Modéré ]
Hors ligne
#11 Le 19/01/2019, à 14:52
- lucas.scellos
Re : Résolu Problème ouverture du cache entrée 52
Bonjour ,
Tous d'abord désolé du retard, j'avais très peu de temps ces 2 dernières semaines.
J'ai trouver un autre moyen pour faire un créer une clé usb boot de linux, je ne vais donc pas installer multisystem.
Je vais faire des sauvegardes.
Voilà mon historique :
1 sudo apt-get install geany fpc
2 update-manager
3 sudo apt get chromium-browser
4 sudo apt-get chromium-browser
5 snap
6 snap install spotify
7 snap install dolphin-emulator
8 apt-get install dolphin-emu
9 sudo
10 sudo apt-get install fpc
11 sudo apt-get remove indicator-appmenu
12 ld
13 sudo apt-get install kazam
14 sudo add-apt-repository ppa:lyx-devel/release
15 sudo apt-get uptdate
16 sudo apt-get install lyx
17 ls
18 cd Documents
19 ls
20 cd projet Info stpi 2
21 cd 'Projet Info stpi 2'
22 ls
23 pwd
24 cd GC1001
25 LS
26 ls
27 pwd
28 cd /home/lucas
29 ls
30 cd documents
31 cd Documents
32 ls
33 repartition
34 execut repartition
35 help
36 ls
37 repartition.exe
38 sudo chmod +x repartition.bin
39 chmod +xrepartition.o
40 chmod --help
41 sudo apt-add-repository 'deb http://liveusb.info/multysystem/depot/all main'
42 sudo apt get firefox
43 chromium-browser
44 sudo apt get synaptic
45 sudo apt-get synaptic
46 sudo apt install synaptic
47 sudo apt-get update
48 sudo apt-get clean
49 sudo apt-get autoclean
50 sudo apt-get autoremove
51 apt-get
52 sudo apt-get
53 sudo apt-get upgrade
54 sudo apt-get update
55 cat -n /etc/apt/sources.list | grep "55"
56 car -n /etc/apt/sources.list | grep "52"
57 cat -n /etc/apt/sources.list | grep "52"
58 sudo apt-get clean sudo apt-get update sudo apt-get upgrade
59 sudo apt-get clean
60 sudo apt-get upgrade
61 sudo apt-get update
62 history 30
63 find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && nl -ba "$1"' _ '{}' \;
64 history 30
65 sudo sed -i '52,53d ; s/# deb http/deb http/g' /etc/apt/sources.list ; sudo apt update
66 apt list --upgradable
67 sudo apt-get update
68 sudo apt-get upgrade
69 sudo apt-get update
70 sudo apt-get install google-chrome-stable
71 mount
72 sudo -i
73 mount
74 ls
Encore merci pour tous vos conseils.
Hors ligne
#12 Le 19/01/2019, à 15:00
- nam1962
Re : Résolu Problème ouverture du cache entrée 52
On voit plusieurs erreurs, quand tu ne sais pas quelle commande passer, n'hésite pas à :
- consulter la doc
- utiliser man, exemple :
man apt
- poser une question ici
On voit une commande invoquant un .exe : il n'y a rien de tel sous Ubuntu, si tu as besoin d'un .exe
- regarde si il n'y a pas une alternative linux
- si ce n'est pas porté en Snap, en Flatpak, en AppImage
- si c'est compatible wine
Dernière modification par nam1962 (Le 19/01/2019, à 15:00)
[ Modéré ]
Hors ligne