Pages

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



2 comments:

  1. did you try 'apt-get clean' (as root)?

    ReplyDelete
    Replies
    1. That would've been the smart way of avoiding to have to empty the root trash in the first place. Good suggestion.

      Delete