I am having the famous warning "low disk space" on my Linux Mint in var/cache/apt/archive
directory, and I want a permanent solution ( aka not apt-get autoclean
because the mentioned directory is not enough for all the packages so cleaning it doesn't solve the problem)
What are the possible solutions to this problem?
Also is there a way to solve the problem without using partitioning or copying data to live disks like making a directory in another partition where apt can use it in the future installs?
- I tried to create another directory that has enough space needed and used the command
ln var/cache/apt/archive /home/new/directory
but didn't work
../apt/archive
? Do you mean/var/cache/apt/archives/
? What's wrong withapt-get autoclean
? "making a directory in a larger partition": larger than what? What is your current setup? Please edit your question and add more details, including the output ofdf -h
so we can understand how much space you have to play with.