When I try to install new programs, I'm having this error:
You don't have enough free space in /var/cache/apt/archives/
How can I increase space in the folder?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityWhen I try to install new programs, I'm having this error:
You don't have enough free space in /var/cache/apt/archives/
How can I increase space in the folder?
Run apt autoclean
: this will remove archives you no longer need. If that’s not sufficient, apt clean
will remove all the archives; if necessary, they will be downloaded again in the future.
If
apt autoclean
and
apt clean
do not help you can just upgrade the packages one after another with:
apt install <packagename> --fix-missing
You have to do it for at least some packages from the list provided by apt upgrade
.
After some packages are upgraded try again with:
apt clean
apt upgrade