Results 1 to 4 of 4

Thread: Distribution upgrade to 10.04, not enough disk space

  1. #1
    Join Date
    May 2010
    Beans
    2

    Distribution upgrade to 10.04, not enough disk space

    Hi,

    I am trying to upgrade my ubuntu distribution from 9.10 to 10.04 using update-manager. I have only 2G free in my / partition, and update-manager complains saying it needs 4G free in the / partition to upgrade.

    I presume the space is needed to store downloaded packages. Is there any way I can change the download directory to some other partition (i have plenty of space in other partitions)?

    Thanks,
    Varun

  2. #2
    Join Date
    Nov 2006
    Location
    Wisconsin, USA
    Beans
    920
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Distribution upgrade to 10.04, not enough disk space

    Yes, you can copy the contents of /var/cache/apt somewhere else, then remove that directory tree and replace it with a symbolic link. E.g.
    Code:
    cd /var/cache
    cp -a apt /some/where/big
    rm -rf apt
    ln -s /some/where/big/apt .

  3. #3
    Join Date
    May 2010
    Beans
    2

    Re: Distribution upgrade to 10.04, not enough disk space

    That's a great suggestion! Thanks. Though I managed to delete a few packages and upgrade my ubuntu, your suggestion would have worked well also.

    best,
    Varun

  4. #4
    Join Date
    Nov 2008
    Beans
    12
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Distribution upgrade to 10.04, not enough disk space

    Quote Originally Posted by lemming465 View Post
    Yes, you can copy the contents of /var/cache/apt somewhere else, then remove that directory tree and replace it with a symbolic link. E.g.
    Code:
    cd /var/cache
    cp -a apt /some/where/big
    rm -rf apt
    ln -s /some/where/big/apt .
    It worked for me. Thank you.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •