On my Ubuntu server, the root has taken up all the available disk space and I can't expand the partition. I'm trying to remove some old packages to free up some space but I can't because I don't have enough disk space to store the package lists. Anyone know how I can clear some space so I can uninstall packages? Thanks!
root@ubuntu:/home/ubuntu# apt-get remove samba
Reading package lists... Error!
E: Write error - write (28: No space left on device)
E: Write error - write (28: No space left on device)
E: The package lists or status file could not be parsed or opened.