Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.34 sec)
Debian Lenny to Squeeze upgrade keeps failing

Upgrading from Lenny to Squeeze I keep getting not enough space left on the device errors.

How can I free up space on the root partition without killing off my Lenny install and the potential to upgrade ?
Asked by:
Mayhew
982 points
 Report Abuse
 Share Page - Category: Linux Servers - Tags: Debian Lenny to Squeeze upgrade keeps failing
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (2)

Is /var on your root filesystem? You could try using xdu to see where the disk space is. If /var is on the root fs, try doing an apt-get clean before and mount /var/cache/apt/archives on another disk like a USB stick for instance.

Response by:
s
3383 points
Use dpkg -l | grep ^ii | grep linux to see which kernels are installed.

Then use uname -a to see which one is in use on the system currently.

Carefully check versions and use apt-get remove linux-headers-VERSION then do the same with any linux-image-VERSION files also not in use.

You'll get loads of free space removing old kernel versions and header files, just do it carefully.

Response by:
Bogofilter
1565 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle