Showing posts with label root. Show all posts
Showing posts with label root. Show all posts

13 May 2012

149. Emptying Root's Trash in debian

My / partition was filling up because of /var/cache/apt/archives
The files in that folder are write-protected. I tried doing sudo rm *.deb but it didn't work. Doing sudo nautilus and deleting like that worked. However, the space doesn't get released as everything goes into the trash of root. And you can't access that easily using nautilus.

So....
sudo su
cd /root/.local/share/Trash/files
rm *.deb