I know that Debian/Ubuntu by default do not remove cached packages & as such nor does PVE.
I make semi-regular offline disk images of my entire host's OS disk & as such:
The smaller the used space is on the disk; the smaller the resulting (compressed) disk image is & the shorter the entire imaging process takes - hence less downtime.
Over time the
Here is an example on a PVE host that is ~2 years old:
That is from a root system that in total:
So that is a whopping
I'm thinking that (on a system that anyway has full internet access) running
However, before taking such a (drastic?) step, I would really appreciate any other users' experience/advice with this.
I make semi-regular offline disk images of my entire host's OS disk & as such:
The smaller the used space is on the disk; the smaller the resulting (compressed) disk image is & the shorter the entire imaging process takes - hence less downtime.
Over time the
apt cache
fills up.Here is an example on a PVE host that is ~2 years old:
Code:
~# du -h -x -d1 /var/cache/apt
5.8G /var/cache/apt/archives
5.9G /var/cache/apt
Code:
~# du -h -x -d0 /
9.8G /
So that is a whopping
5.9/9.8=
>60% on the apt cache
itself!I'm thinking that (on a system that anyway has full internet access) running
apt-get clean
can do no harm.However, before taking such a (drastic?) step, I would really appreciate any other users' experience/advice with this.