<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
It may be a little less dangerous to use < sudo apt-get clean > rather than using rm.<BR>
On Thu, 2007-11-15 at 11:19 -0500, Paul S wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">bill purvis said the following on 11/15/2007 10:25 AM:</FONT>
<FONT COLOR="#000000">> I decided today that I would upgrade to 7.10 (Gutsy Gibbon), but when I</FONT>
<FONT COLOR="#000000">> started running the upgrade script it moaned that I didn't have enough</FONT>
<FONT COLOR="#000000">> space in /var. I had manually allocated space when I installed 7.04</FONT>
<FONT COLOR="#000000">the installer wants to download all the packages before updating any, </FONT>
<FONT COLOR="#000000">and they are all to be stored in /var/cache/apt/archives. You may free </FONT>
<FONT COLOR="#000000">up some space by deleting any feisty packages already there (sudo rm </FONT>
<FONT COLOR="#000000">/var/cache/apt/archives/*.deb) to help some.</FONT>
<FONT COLOR="#000000">> and considered that just under 1Gb was more than sufficient for my</FONT>
<FONT COLOR="#000000">> envisaged use, but it seems that the upgrade process requires well over</FONT>
<FONT COLOR="#000000">> 1Gb (on top of what I use) to do the upgrade. OK, I thought, I can get</FONT>
<FONT COLOR="#000000">> around that - allocate a further partition, copy /var into it, tweak</FONT>
<FONT COLOR="#000000">> /etc/fstab and reboot. No, running fdisk tells me there are no</FONT>
<FONT COLOR="#000000">did you try "sudo gparted"? it should show your free space in addition </FONT>
<FONT COLOR="#000000">to existing partitions.</FONT>
<FONT COLOR="#000000">> free sectors on my hard drive, despite there being loads of free</FONT>
<FONT COLOR="#000000">> space left when I allocated. It seems the install software only</FONT>
<FONT COLOR="#000000">> allocates the amount I've asked for for the extended partition,</FONT>
<FONT COLOR="#000000">> leaving the rest of the disk inaccessible. Is there any way around</FONT>
<FONT COLOR="#000000">> this?</FONT>
<FONT COLOR="#000000">> And by the way - what is the program used by the install process and</FONT>
<FONT COLOR="#000000">> can it be used on a live system (subject to the usual proviso that</FONT>
<FONT COLOR="#000000">> I don't alter any live partitions, of course)?</FONT>
<FONT COLOR="#000000">It's best to do it from an unmounted hard drive via a live CD. But, I </FONT>
<FONT COLOR="#000000">have used parted to change existing (unmounted) partitions further down </FONT>
<FONT COLOR="#000000">the disk than the one I'm running. Obviously, trying to change anything </FONT>
<FONT COLOR="#000000">ahead of you on the disk is going to bring problems when you try to reboot.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Bill</FONT>
<FONT COLOR="#000000"> If you kill yourself, you might recover by using the liveCD to access </FONT>
<FONT COLOR="#000000">your dead files.</FONT>
<FONT COLOR="#000000">HTH</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>