Debian - Dist Upgrade failing due to lack of space in root.
We have a dedicated server provided by an external hosting company. We're trying to upgrade but keep getting the following error.
Any assistance on this? I have tried apt-get clean to no avail.
I would agree / is very small. It seems that apt is running out of space in /var/cache/apt/archives. I think the long term solution would be to make / bigger, but this may not be easily accomplished. You may be able to "borrow" some space from /home by doing a bind mount. I've tested this locally to install a package, but I can't make any promises.
1) Make a directory in /home
# mkdir /home/archives
2) Do a bind mount of /var/cache/apt/archives .
# mount --bind /home/archives /var/cache/apt/archives/
3) Re-run your command to get the new kernel.
# apt-get -y install linux-image-2.6.32-5-amd64
4) Unmount the bind mount, so things are back to normal.
# umount /home/archives
Good luck, and the usual disclaimer :)
Since /var is already on a separate partition with more than enough free space this won't really help.
The first thing to do is to find the space consuming files on that partition:
Doh, good catch TobiSGD.
|All times are GMT -5. The time now is 11:15 PM.|