[Bug 151242] Re: Prompt temporary move /var/cache/apt to other partition for distribution upgrade

Pander 151242 at bugs.launchpad.net
Tue Jan 31 11:05:34 UTC 2012


*** This bug is a duplicate of bug 523004 ***
    https://bugs.launchpad.net/bugs/523004

** This bug has been marked a duplicate of bug 523004
   update-manager should offer more suggestions out of situations where HD space is tight

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/151242

Title:
  Prompt temporary move /var/cache/apt to other partition for
  distribution upgrade

Status in “update-manager” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: update-manager

  In case of doing a distribution release upgrade (e.g. Feisty to Gutsy)
  it can occur that the root partition / (containing at least /var and
  /usr) does not have enough free disk space. Now the distribution
  upgrade cannot take place. Only advanced users can move
  /var/cache/apt to another partition and create a link in order to be
  able to do this distribution upgrade.

  I would like to suggest to offer this automatically when there is not
  enough free disk space when doing a distribution release upgrade. The
  user can be prompted to indicate what partition to temporarily use for
  this upgrade. The update manager can then move /var/cache/apt/ to e.g.
  /home/DO-NOT-DELETE-TEMPORARY-var-cache-apt-2007-10-09-13:38:15 and
  create a link /var/cache/apt pointing to this directory. Then continue
  performing the upgrade and at the end, after doing apt-get clean,
  removing the link and moving this directory back to /var/cache/apt.

  Of course extra checks should be build in to detect and restore any
  interrupted upgrades leaving these kind of directories in other
  partitions and a link at /var/cache/apt.

  Implementing this functionality will allow many more (non-advanced)
  users to be able to do a distribution release upgrade (like Feisty to
  Gutsy) without having a root partition being roughly three times
  oversized. I would consider implementing this before releasing the
  stable version of Gutsy.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/151242/+subscriptions




More information about the foundations-bugs mailing list