mylapk
Messages : 617 Enregistré le : dim. 17 avr. 2016 14:22
Message
par mylapk » sam. 19 janv. 2019 17:25
Salut,
j'ai un dossier Timeshift que j'essaie de supprimer autant en graphique qu'en terminal. Voici un compte rendu du terminal
Code : Tout sélectionner
drwxr-xr-x 5 root root 4096 jan 19 11:00 snapshots
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-boot
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-daily
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-hourly
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-monthly
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-ondemand
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-weekly
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift# cd snapshots
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# ls -l
total 12
drwxr-xr-x 3 root root 4096 aoû 12 11:04 2018-08-07_11-00-01
drwxr-xr-x 3 root root 4096 jan 18 11:04 2019-01-18_11-00-02
drwxr-xr-x 3 root root 4096 jan 19 11:05 2019-01-19_11-00-01
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# cd 2018-08-07_11-00-01/
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots/2018-08-07_11-00-01# cd ..
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# rm -fR 2018-08-07_11-00-01/
rm: impossible de supprimer '2018-08-07_11-00-01/localhost/usr/src/linux-headers-4.15.0-30/arch/sparc/prom/Makefile': La structure a besoin d'un nettoyage
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# ls -l
total 12
drwxr-xr-x 3 root root 4096 aoû 12 11:04 2018-08-07_11-00-01
drwxr-xr-x 3 root root 4096 jan 18 11:04 2019-01-18_11-00-02
drwxr-xr-x 3 root root 4096 jan 19 11:05 2019-01-19_11-00-01
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# rm -f -R
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# rm -f R 2018-08-07_11-00-01/
rm: impossible de supprimer '2018-08-07_11-00-01/': est un dossier
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# rm -R -f 2018-08-07_11-00-01/
rm: impossible de supprimer '2018-08-07_11-00-01/localhost/usr/src/linux-headers-4.15.0-30/arch/sparc/prom/Makefile': La structure a besoin d'un nettoyage
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# ^C
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots#
Le terminal me dit que la structure a besoin d'un nettoyage. Je suis bloqué là!
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
tyrry
modérateur
Messages : 6852 Enregistré le : mar. 21 juil. 2015 07:42
Localisation : à l'ouest
Message
par tyrry » sam. 19 janv. 2019 21:38
Slt ,
Code : Tout sélectionner
cd /mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots
@+
mylapk
Messages : 617 Enregistré le : dim. 17 avr. 2016 14:22
Message
par mylapk » sam. 19 janv. 2019 23:07
Slt tyrry,
ça marche pas
voici une copie de ce que j'ai fait en terminal ( ce que tu proposais ):
Code : Tout sélectionner
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1$ cd timeshift/
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift$ ls -l
total 28
drwxr-xr-x 5 root root 4096 jan 19 11:00 snapshots
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-boot
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-daily
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-hourly
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-monthly
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-ondemand
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-weekly
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift$ cd snapshots
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ ls -l
total 12
drwxr-xr-x 3 root root 4096 aoû 12 11:04 2018-08-07_11-00-01
drwxr-xr-x 3 root root 4096 jan 18 11:04 2019-01-18_11-00-02
drwxr-xr-x 3 root root 4096 jan 19 11:05 2019-01-19_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ sudo rm -rf 2018-08-07_11-00-01/
[sudo] Mot de passe de michel :
rm: impossible de supprimer '2018-08-07_11-00-01/localhost/usr/src/linux-headers-4.15.0-30/arch/sparc/prom/Makefile': La structure a besoin d'un nettoyage
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ sudo rm -rf /2018-08-07_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ ls -l
total 12
drwxr-xr-x 3 root root 4096 aoû 12 11:04 2018-08-07_11-00-01
drwxr-xr-x 3 root root 4096 jan 18 11:04 2019-01-18_11-00-02
drwxr-xr-x 3 root root 4096 jan 19 11:05 2019-01-19_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ sudo rm -rf /2018-08-07_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ ls
2018-08-07_11-00-01 2019-01-18_11-00-02 2019-01-19_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ ^C
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$
Le dossier est toujours là.
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
tyrry
modérateur
Messages : 6852 Enregistré le : mar. 21 juil. 2015 07:42
Localisation : à l'ouest
Message
par tyrry » dim. 20 janv. 2019 07:48
Slt ,
heu ça sort d'ou ce usr/src/linux-headers-4.15.0-30/arch/
sparc / ,, tu as essayer de compiler un noyau ?
Sinon pour le supprimer , si le rm -rf suffit pas , le mieux sera de passer en live usb/dvd de passer en root sur le live par sudo -s puis de refaire les manips
@+
mylapk
Messages : 617 Enregistré le : dim. 17 avr. 2016 14:22
Message
par mylapk » dim. 20 janv. 2019 17:13
Slt tyrry,
je ne sais pas d'où ça sort.
Je vais passer par le live et on verra. J't'en reparlerai.
Ciao.
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
mylapk
Messages : 617 Enregistré le : dim. 17 avr. 2016 14:22
Message
par mylapk » dim. 20 janv. 2019 17:55
Slt!
De retour après essai de la solution de tyrry.
En live, j'obtiens le même message ( en root en graphique ): impossible de supprimer: a besoin d'un nettoyage de structure.
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
mylapk
Messages : 617 Enregistré le : dim. 17 avr. 2016 14:22
Message
par mylapk » mar. 22 janv. 2019 16:31
Bonjour,
mais pourquoi ne puis-je supprimer ce fichier de timeshift, même en root? Même en live?
J'ai supprimé/désinstallé timeshift. Mais ce fichier était toujours là dans snapshots. Je l'ai renommé et déplacé ailleurs sur mon dd ext. Puis j'ai réinstallé timeshift. Ce fichier ne se retrouve pas dans la nouvelle installation, il est rangé ailleurs mais refuse d'être supprimé pour la raison que sa structure a besoin d'un nettoyage.
Qu'est-ce que je peux faire pour faire ce nettoyage s'il en est afin de supprimer?
Merci.
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
mylapk
Messages : 617 Enregistré le : dim. 17 avr. 2016 14:22
Message
par mylapk » mer. 23 janv. 2019 17:03
Salut cyrille,
finalement j'abandonne. Trop de terminal avec lequel je ne suis pas à l'aise. J'ai peur de créer plus de problèmes que je vais en régler. Et finalement, il va rester là ce fichu fichier, dans son petit coin, avec un nouveau nom, et je vais essayer de l'oulier.
Merci beaucoup.
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic