#1 Le 14/09/2021, à 13:00
- gycath
Suppression de depots tiers inutiles.RESOLU
Bonjour,
J'aimerais supprimer l' Application echer et je souhaite faire du ménage...
Comment faire?
Merci.
voici quelques renseignements
(base) guylap@guylap-W65-W67RZ1:~$ cat /etc/issue
Ubuntu 18.04.6 LTS \n \l
(base) guylap@guylap-W65-W67RZ1:~$ uname -a
Linux guylap-W65-W67RZ1 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
(base) guylap@guylap-W65-W67RZ1:~$ echo "${XDG_CURRENT_DESKTOP}"
ubuntu:GNOME
(base) guylap@guylap-W65-W67RZ1:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
/etc/apt/sources.list.d/balena-etcher.list
1 deb https://deb.etcher.io stable etcher
/etc/apt/sources.list.d/geogebra.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb http://www.geogebra.net/linux/ stable main
/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 [arch=amd64,i386] http://repo.vivaldi.com/stable/deb/ stable main
52 # deb-src [arch=amd64,i386] http://repo.vivaldi.com/stable/deb/ stable main
53 # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
54 deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
55 # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
56 # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
57
58 # deb-src http://archive.canonical.com/ubuntu bionic partner
(base) guylap@guylap-W65-W67RZ1:~$
Dernière modification par gycath (Le 14/09/2021, à 23:23)
Hors ligne
#2 Le 14/09/2021, à 13:20
- abelthorne
Re : Suppression de depots tiers inutiles.RESOLU
1) Supprime le paquet d'Etcher. D'après le GitHub du projet, il s'appelle balena-etcher-electron :
sudo apt-get remove --purge balena-etcher-electron
À moins qu'il ne te dise que le paquet n'existe pas, supprime ensuite les éventuelles dépendances libérées :
sudo apt-get autoremove --purge
2) Supprime le fichier du dépôt :
sudo rm /etc/apt/sources.list.d/balena-etcher.list /etc/apt/sources.list.d/balena-etcher.list.save
(Je ne sais pas s'il y a effectivement un .save, donc s'il te dit qu'il n'existe pas, ce n'est pas grave.)
3) Recharge la liste des dépôts :
sudo apt-get update
4) Et voilà !
Personnellement, en plus de ça, je proposerais un petit nettoyage pour sortir les dépôts Wine et Vivaldi du sources.list principal et supprimer une ligne doublon. Édite le sources.list :
sudo nano /etc/apt/sources.list
Supprime les lignes 51, 52 et 54 à 58 (par rapport à ton retour ci-dessus). Note que tu peux utiliser ctrl + K pour effacer une ligne entière dans Nano. Je ne vais pas redonner le fichier complet parce que c'est chiant de supprimer tous les numéros de ligne du retour manuellement mais la fin, à partir de la ligne 46, devra ressembler à ça :
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
Enregistre avec ctrl + O, valide le nom de fichier avec entrée, ferme Nano avec ctrl + X.
Ensuite, crée des .list dédiés pour les deux dépôts supprimés :
sudo nano /etc/apt/sources.list.d/vivaldi.list
Colle ça dedans puis enregistre comme précédemment (ctrl + O, entrée, ctrl + X) :
deb [arch=amd64,i386] http://repo.vivaldi.com/stable/deb/ stable main
# deb-src [arch=amd64,i386] http://repo.vivaldi.com/stable/deb/ stable main
puis celui pour Wine (mêmes remarques):
sudo nano /etc/apt/sources.list.d/winehq.list
son contenu :
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
Et ça devrait être bon. Redonne le contenu des fichiers au cas où, pour vérifier que tu les as bien faits :
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/vivaldi.list
cat /etc/apt/sources.list.d/winehq.list
Dernière modification par abelthorne (Le 14/09/2021, à 13:23)
Hors ligne
#3 Le 14/09/2021, à 13:50
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
retour
(base) guylap@guylap-W65-W67RZ1:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic 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/ bionic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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 bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
(base) guylap@guylap-W65-W67RZ1:~$ cat /etc/apt/sources.list.d/vivaldi.list
deb [arch=amd64,i386] http://repo.vivaldi.com/stable/deb/ stable main
# deb-src [arch=amd64,i386] http://repo.vivaldi.com/stable/deb/ stable main
(base) guylap@guylap-W65-W67RZ1:~$ cat /etc/apt/sources.list.d/winehq.list
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
(base) guylap@guylap-W65-W67RZ1:~$
Hors ligne
#4 Le 14/09/2021, à 14:02
- abelthorne
Re : Suppression de depots tiers inutiles.RESOLU
Tout a l'air ok. Il a bien trouvé le paquet balena-etcher-electron à supprimer ? je n'étais pas sûr à 100 % du nom.
Si tu veux faire une étape de nettoyage supplémentaire mais qui n'est pas très importante, tu peux éditer à nouveau le sources.list et supprimer :
- Le dépôt CD-Rom en première ligne qui ne sert à rien (il est de toute façon désactivé).
- Les lignes des dépôts du code source (celles en deb-src) qui ne servent généralement pas et qui peuvent de toute façon être remises via Logiciels et mises à jour. C'est juste que comme elles sont désactivées, elles ne seront pas modifiées à la nouvelle version lors de ta prochaine mise à niveau, ça fait un truc en moins à corriger après coup si elles ne sont pas là.
Le sources.list avec ces suggestions ressemblerait à ça :
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic-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 bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
Mais c'est vraiment optionnel, ce n'est pas du tout un problème de le laisser en l'état actuel. Il pourrait même être encore simplifié en virant tous les commentaires et en regroupant les branches des dépôts :
deb http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
Hors ligne
#5 Le 14/09/2021, à 14:06
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
Il n'a pas trouvé le paquet balena-etcher-electron à supprimer
Merci pour les manipulations, les explications et ton sens pédagogique
Hors ligne
#6 Le 14/09/2021, à 14:07
- abelthorne
Re : Suppression de depots tiers inutiles.RESOLU
Ah, si le paquet n'avait pas ce nom-là, on va chercher le bon :
dpkg -l | grep etcher
Hors ligne
#7 Le 14/09/2021, à 14:09
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
Rien!
(base) guylap@guylap-W65-W67RZ1:~$ dpkg -l | grep etcher
(base) guylap@guylap-W65-W67RZ1:~$
Hors ligne
#8 Le 14/09/2021, à 14:10
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
Donc c'est OK
Hors ligne
#9 Le 14/09/2021, à 14:13
- abelthorne
Re : Suppression de depots tiers inutiles.RESOLU
Il semblerait mais du coup, s'il n'a pas trouvé de balena-etcher-electron à supprimer, je ne comprends pas bien. Tu ne l'avais pas déjà désinstallé précédemment ? Si tu vas voir dans tes applications, Etcher est toujours là ?
Hors ligne
#10 Le 14/09/2021, à 14:16
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
Voilà ce qui m'avait été retourné:
(base) guylap@guylap-W65-W67RZ1:~$ sudo apt-get remove --purge balena-etcher-electron
[sudo] Mot de passe de guylap :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet balena-etcher-electron
Et je ne l'ai pas dans les applications
Hors ligne
#11 Le 14/09/2021, à 14:18
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
(base) guylap@guylap-W65-W67RZ1:~$ sudo apt-get update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Atteint :2 http://archive.canonical.com/ubuntu bionic InRelease
Atteint :3 http://www.geogebra.net/linux stable InRelease
Atteint :4 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Atteint :5 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Ign :6 http://repo.vivaldi.com/stable/deb stable InRelease
Atteint :7 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Atteint :8 http://repo.vivaldi.com/stable/deb stable Release
Atteint :9 http://security.ubuntu.com/ubuntu bionic-security InRelease
Lecture des listes de paquets... Fait
(base) guylap@guylap-W65-W67RZ1:~$
Hors ligne
#12 Le 14/09/2021, à 14:19
- abelthorne
Re : Suppression de depots tiers inutiles.RESOLU
Alors tu l'avais vraisemblablement déjà supprimé. Ou juste ajouté le dépôt sans installer l'appli ? En tout cas, il ne semble pas être là.
Au cas où, donne le retour de la commande suivante :
apt list | grep "installé, local"
C'est la liste des paquets orphelins, ceux qui sont installés mais ne viennent pas d'un dépôt actif.
Hors ligne
#13 Le 14/09/2021, à 14:21
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
(base) guylap@guylap-W65-W67RZ1:~$ apt list | grep "installé, local"
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
gir1.2-nm-1.0/now 1.10.14-0ubuntu2 amd64 [installé, local]
libfaudio-dev/now 19.07-0~bionic all [installé, local]
libfaudio0/now 19.07-0~bionic amd64 [installé, local]
libnm0/now 1.10.14-0ubuntu2 amd64 [installé, local]
net.downloadhelper.coapp/now 1.2.4 amd64 [installé, local]
network-manager/now 1.10.14-0ubuntu2 amd64 [installé, local]
network-manager-config-connectivity-ubuntu/now 1.10.14-0ubuntu2 all [installé, local]
sejda-desktop/now 7.0.8 amd64 [installé, local]
(base) guylap@guylap-W65-W67RZ1:~$
Hors ligne
#14 Le 14/09/2021, à 14:29
- abelthorne
Re : Suppression de depots tiers inutiles.RESOLU
Ah, il y a des paquets de Network Manager qui sont à la mauvaise version. Donne le retour de :
apt-cache policy gir1.2-nm-1.0 libnm0 network-manager network-manager-config-connectivity-ubuntu
Le paquet sejda-desktop, c'est quelque chose que tu as installé manuellement et que tu utilises ?
Hors ligne
#15 Le 14/09/2021, à 14:31
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
Le paquet sejda-desktop connais pas!! ?
(base) guylap@guylap-W65-W67RZ1:~$ apt-cache policy gir1.2-nm-1.0 libnm0 network-manager network-manager-config-connectivity-ubuntu
gir1.2-nm-1.0:
Installé : 1.10.14-0ubuntu2
Candidat : 1.10.14-0ubuntu2
Table de version :
*** 1.10.14-0ubuntu2 100
100 /var/lib/dpkg/status
1.10.6-2ubuntu1.4 500
500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
1.10.6-2ubuntu1.1 500
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
1.10.6-2ubuntu1 500
500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
libnm0:
Installé : 1.10.14-0ubuntu2
Candidat : 1.10.14-0ubuntu2
Table de version :
*** 1.10.14-0ubuntu2 100
100 /var/lib/dpkg/status
1.10.6-2ubuntu1.4 500
500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
1.10.6-2ubuntu1.1 500
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
1.10.6-2ubuntu1 500
500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
network-manager:
Installé : 1.10.14-0ubuntu2
Candidat : 1.10.14-0ubuntu2
Table de version :
*** 1.10.14-0ubuntu2 100
100 /var/lib/dpkg/status
1.10.6-2ubuntu1.4 500
500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
1.10.6-2ubuntu1.1 500
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
1.10.6-2ubuntu1 500
500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
network-manager-config-connectivity-ubuntu:
Installé : 1.10.14-0ubuntu2
Candidat : 1.10.14-0ubuntu2
Table de version :
*** 1.10.14-0ubuntu2 100
100 /var/lib/dpkg/status
1.10.6-2ubuntu1.4 500
500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
1.10.6-2ubuntu1.1 500
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
1.10.6-2ubuntu1 500
500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
500 http://fr.archive.ubuntu.com/ubuntu bionic/main i386 Packages
(base) guylap@guylap-W65-W67RZ1:~$
Hors ligne
#16 Le 14/09/2021, à 14:38
- abelthorne
Re : Suppression de depots tiers inutiles.RESOLU
Réinstalle les paquets de NM à la version des dépôts Ubuntu :
sudo apt-get install --reinstall gir1.2-nm-1.0=1.10.6-2ubuntu1.4 libnm0=1.10.6-2ubuntu1.4 network-manager=1.10.6-2ubuntu1.4 network-manager-config-connectivity-ubuntu=1.10.6-2ubuntu1.4
sejda-desktop a l'air d'être un soft pour travailler sur le format PDF.
Hors ligne
#17 Le 14/09/2021, à 15:40
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
c'est fait
Hors ligne
#18 Le 14/09/2021, à 15:43
- abelthorne
Re : Suppression de depots tiers inutiles.RESOLU
Tout devrait être bon alors.
Hors ligne
#19 Le 14/09/2021, à 15:44
- gycath
Re : Suppression de depots tiers inutiles.RESOLU
Merci et bonne soirée
Hors ligne