#26 Le 16/11/2018, à 22:46
- Mornagest
Re : Nettoyage de Xubuntu
Tout simplement :
sudo apt update ; sudo apt full-upgrade ; sudo apt autoremove ; sudo apt autoclean
N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)
Hors ligne
#27 Le 17/11/2018, à 06:12
- moko138
Re : Nettoyage de Xubuntu
Quand on part d'un système sain (sans "paquets cassés" ni incomplètement installés)
1) clean est préférable à autoclean.
(Encore une fois, voir le man d'apt-get).
2) Le but étant de libérer l'espace inutilement occupé (et d'éviter un blocage d'apt, faute d'espace)
il est préférable de commencer par cette libération !
Donc :
sudo apt clean ; sudo apt autoremove --purge ; sudo apt update ; sudo apt full-upgrade -y
.
= =
.
Et les retours du #11 ?
+1
Dernière modification par moko138 (Le 17/11/2018, à 06:17)
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#28 Le 17/11/2018, à 11:28
- alphabeta78
Re : Nettoyage de Xubuntu
Le retour de la demande 11, pardon pour les balises !
# deb cdrom:[Xubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main multiverse restricted universe
# 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
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
## 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 utopic partner
# deb-src http://archive.canonical.com/ubuntu utopic partner
felix@felix-900:~$ ls /etc/apt/sources.list.d -1
opera.list.distUpgrade
opera.list.save
tualatrix-ubuntu-next-wily.list
tualatrix-ubuntu-next-wily.list.distUpgrade
felix@felix-900:~$ history 25
Hors ligne
#29 Le 17/11/2018, à 11:34
- xubu1957
Re : Nettoyage de Xubuntu
Méthode détaillée :
Bonjour,
Entrer des commandes dans un terminal et donner le résultat - Voilà la marche à suivre :
Ouvre le terminal avec ctrl-alt-t
Sélectionne la commande voulue avec un triple clic (ça sélectionne toute la ligne, même la fin si on ne la voit pas)
Colle-la dans le terminal avec un clic molette, valide avec Entrée
Sélectionne et copie tout ce que te dit le terminal depuis la commande jusqu'à la dernière ligne incluse
Clique sur le <> de l'éditeur de message
Colle là où se trouve le curseur (entre le ] et le [)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#30 Le 17/11/2018, à 11:38
- nam1962
Re : Nettoyage de Xubuntu
Pour les balises, peux tu regarder ce post , --> https://forum.ubuntu-fr.org/viewtopic.p … #p19832901
Commence par corriger avec çà tes posts précédents en ajoutant les balises.
Tes dépôts ne sont pas propres, sinon.
On va remettre au carré et nettoyer (sélectionne les lignes une à une par triple clic et donne tous les retours, même vides):
sudo wget https://repogen.simplylinux.ch/txt/bionic/sources_c9c5abd57562ae85a90bbf7645346a64b0537be5.txt -O /etc/apt/sources.list
echo "deb http://archive.canonical.com/ubuntu bionic partner" | sudo tee --append /etc/apt/sources.list > /dev/null
sudo rm /etc/apt/sources.list.d/*
sudo apt clean
[[ $(dpkg -l | grep ^rc) ]] && sudo dpkg -P $(dpkg -l | grep ^rc | tr -s " " | cut -d " " -f 2)
sudo apt update
sudo apt full-upgrade
[[ $(apt-mark showmanual | egrep 'linux-.*[0-9]' | grep -v "hwe") ]] && sudo apt-mark auto $(apt-mark showmanual | egrep linux-.*[0-9] | grep -v "hwe")
sudo apt autoremove --purge
Au passage, ceci te donne un nettoyage complet (et bien moins dangereux que BleachBit)
On va en profiter pour régler la swappiness:
echo vm.swappiness=5 | sudo tee -a /etc/sysctl.d/99-sysctl.conf
echo vm.vfs_cache_pressure=50 | sudo tee -a /etc/sysctl.d/99-sysctl.conf
sudo sysctl -p /etc/sysctl.d/99-sysctl.conf
Pour le PPA d'Opéra, on verra ensuite
On va aussi regarder ton Firefox, donne aussi :
grep -oP '},"name":"\K[^"]*' ~/.mozilla/firefox/*.default*/addons.json
[ Modéré ]
Hors ligne