#1 Le 26/06/2017, à 14:43
- razeur
E: Clean of / is not supported
Bonjour
J'ai un souci sur l'un de mes pc lorsque j'effectue la commande sudo apt autoclean ou sudo apt clean j'ai comme retours
E: Clean of / is not supported
J'ai beau passer par le root, sans effet.
J'ai fait passer bleachBit ,rien à faire.
un coup de cat /etc/lsb-release me donne.
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
Merci pour votre aide.
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 17/08/2017, à 17:20)
Hors ligne
#2 Le 17/08/2017, à 14:53
- grandtoubab
Re : E: Clean of / is not supported
salut
Est-ce pareil avec
sudo apt-get clean
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#3 Le 17/08/2017, à 14:55
- th3sorrow
Re : E: Clean of / is not supported
Oui les 2 commandes renvoient la même erreur.
Développeur web / Utilisateur de Linux Mint
Hors ligne
#4 Le 17/08/2017, à 15:03
- grandtoubab
Re : E: Clean of / is not supported
que dit
ls -alrt /var/cache/apt/
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#5 Le 17/08/2017, à 16:09
- razeur
Re : E: Clean of / is not supported
└─ $ ▶ ls -alrt /var/cache/apt/
total 60164
-rw-r--r-- 1 root root 30744813 juin 6 18:50 srcpkgcache.bin
-rw-r--r-- 1 root root 30812277 juin 6 18:55 pkgcache.bin
drwxr-xr-x 19 root root 4096 juin 22 19:45 ..
drwxr-xr-x 3 root root 4096 juin 28 20:47 .
drwxr-xr-x 3 root root 36864 juil. 6 21:13 archives
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 17/08/2017, à 17:18)
Hors ligne
#6 Le 17/08/2017, à 16:41
- grandtoubab
Re : E: Clean of / is not supported
ok
ls -alrt /var/cache/apt/archives
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#7 Le 17/08/2017, à 17:01
- razeur
Re : E: Clean of / is not supported
ls -alrt /var/cache/apt/archives
total 44
-rw-r----- 1 root root 0 juil. 19 2016 lock
drwx------ 2 _apt root 4096 juin 6 18:52 partial
drwxr-xr-x 3 root root 4096 juin 28 20:47 ..
drwxr-xr-x 3 root root 36864 juil. 6 21:13 .
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 17/08/2017, à 17:17)
Hors ligne
#8 Le 17/08/2017, à 17:22
- grandtoubab
Re : E: Clean of / is not supported
ls -alrt /var/cache/apt/archives total 44 -rw-r----- 1 root root 0 juil. 19 2016 lock drwx------ 2 _apt root 4096 juin 6 18:52 partial drwxr-xr-x 3 root root 4096 juin 28 20:47 .. drwxr-xr-x 3 root root 36864 juil. 6 21:13 .
rien d'anormal dans les droits
Dernière modification par grandtoubab (Le 17/08/2017, à 17:23)
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#9 Le 17/08/2017, à 17:34
- inbox
Re : E: Clean of / is not supported
Salut,
En se basant sur cette question/réponse, il est probable que ce soit la configuration de apt qui veuille ce comportement.
C'est facile à vérifier avec :
apt-config dump | fgrep Dir::Cache
Sur une Debian 9, cela donne :
Dir::Cache "var/cache/apt";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Sur ton PC, cela doit être :
Dir::Cache "";
Dir::Cache::archives "";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Il faut donc corriger dans /etc/apt/apt.conf et/ou /etc/apt/apt.conf.d/*.
A+
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#10 Le 17/08/2017, à 18:24
- th3sorrow
Re : E: Clean of / is not supported
@inbox, @razeur : la solution fonctionne chez moi en créant le fichier apt.conf avec les directives données
Dernière modification par th3sorrow (Le 17/08/2017, à 18:27)
Développeur web / Utilisateur de Linux Mint
Hors ligne
#11 Le 17/08/2017, à 18:32
- razeur
Re : E: Clean of / is not supported
Bonsoir
j'ai bel et bien la seconde configuration sur mon pc.
comme retour avec la commande
└─ $ ▶ sudo gedit /etc/apt/apt.conf.d/*
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo"
la commande suivante m'affiche un fichier vide
sudo gedit /etc/apt/apt.conf
Dernière modification par razeur (Le 17/08/2017, à 18:34)
Hors ligne
#12 Le 17/08/2017, à 18:52
- razeur
Re : E: Clean of / is not supported
@inbox, @razeur : la solution fonctionne chez moi en créant le fichier apt.conf avec les directives données
th3sorrow Merci pour tes lumières ...çà fait plaisir ...plus de deux mois de galère. çà marche aussi chez moi.
Résolu
Dernière modification par razeur (Le 17/08/2017, à 18:54)
Hors ligne