While trying to run sudo apt-get -f install to install gettext, I got the following error message:
dpkg: error processing /var/cache/apt/archives/gettext_0.16.1-1_i386.deb (--unpack):
failed in buffer_write(fd) (9, ret=-1): backend dpkg-deb during `./usr/share/doc/gettext/NEWS': No space left on device
When I look at my filesystem using df -h, I see the following:
Filesystem Size Used Avail Use% Mounted on
/dev/md0 1.9G 1.9G 0 100% /
tmpfs 189M 0 189M 0% /lib/init/rw
udev 10M 84K 10M 1% /dev
tmpfs 189M 0 189M 0% /dev/shm
678G 104G 540G 17% /home
485M 11M 449M 3% /tmp
4.0G 691M 3.1G 19% /var
My main question is: is /usr a part of the / directory? If so, the filled md0 device (a software RAID 1 device created to hold the root filesystem) would explain the "No space left on device" error.
If this is the problem--my /usr directory has somehow grown to 1.7 GB--is there a way to lower disk usage in that area?
I am currently running Debian Etch 2.6.18-6-686.
Any help would be appreciated...thanks!