Siduction Forum

Siduction Forum => Software - Support => Topic started by: patrik on 2015/07/01, 19:28:37

Title: Safe to remove /var/cache/apt/sources?
Post by: patrik on 2015/07/01, 19:28:37
I have 5.8 GB *.dsc, .*orig.tar.xz and *.debian.tar.xz files in /var/cache/apt/sources. Is it safe to remove them? What ist the proper way to remove them? Is there an apt command to do this?

I already removed the deb-src lines from /etc/apt/sources.list.d/debian.list.

Thank you guys.

patrik
Title: Re: Safe to remove /var/cache/apt/sources?
Post by: dibl on 2015/07/01, 22:59:10
Quote from: patrik on 2015/07/01, 19:28:37
I have 5.8 GB *.dsc, .*orig.tar.xz and *.debian.tar.xz files in /var/cache/apt/sources.


???


There is no such directory in a standard Debian or siduction system.  Do you mean /var/cache/apt/archives?  In a root terminal, issue


apt-get clean and then check again with du for excessive disk usage.
Title: Re: Safe to remove /var/cache/apt/sources?
Post by: michaa7 on 2015/07/01, 23:46:11
As an less comprehensive deletion you may issue: apt-get autoclean
Title: Re: Safe to remove /var/cache/apt/sources?
Post by: patrik on 2015/07/02, 10:30:06
I actually mean /var/cache/apt/sources. And I tried apt-get clean but this has no effect on the files in /var/cache/apt/sources. I have no idea why I have such a directory. Maybe I did something I can not remember.

Thanks

patrik