Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Asus EeePC 901, running Ubuntu 9.10. I'd like to upgrade it to 10.04. I don't want to reinstall, since I have a bunch of scripts and programs all set up.

However, when I attempt to upgrade using sudo do-release-upgrade, I get an error asking me to free up another ~600MB on /.

My / is mounted on sda0, which is a 4GB SSD. I do not have 600MB worth of deletable stuff on /.

I've emptied my trash, and done apt-get autoremove and apt-get clean.

I do have plenty of space in /home, mounted on sda1 (a 16GB SSD).

Is there some way I can tell apt-get to use a different download/temp directory?

share|improve this question

Figure out where the temporary directory is, and mount something else (an SD card?) to that directory.

share|improve this answer
Any idea where it is? I tried looking at the source of do-release-upgrade (it's a python script) but it just downloads something else and runs it. – Blorgbeard May 13 '10 at 19:09
I'm going to guess that /tmp would be a likely spot. – Broam May 14 '10 at 15:08
up vote 0 down vote accepted

Ok, I think that do-release-upgrade was serious about needing the space on the root drive.

It also checks for free space in a bunch of other folders, but it actually needed the extra 600MB to be on /. I guess that was the amount of space the new versions of all my packages would take up.

I managed to clear enough space by removing all my old linux kernels (they don't automatically get removed!), and it's downloading the upgrade now.

share|improve this answer

i have always used sudo apt-get upgrade

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.