[Bug 1041881] Re: Reinstalling a large server (without formatting) appears to hang during 'Cleaning up' due to updatedb.mlocate

Andy Brody 1041881 at bugs.launchpad.net
Sat Nov 25 03:58:39 UTC 2017


Same issue in 16.04. This really doesn't seem like it belongs in a
blocking task with the description "Cleaning up..."

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

Title:
  Reinstalling a large server (without formatting) appears to hang
  during 'Cleaning up' due to updatedb.mlocate

Status in pkgsel package in Ubuntu:
  Triaged

Bug description:
  I've just reinstalled a server for a 3rd party using Ubuntu 12.04.1
  Server AMD64. I did so non-destructively, i.e. chroot'ed into what
  would become /target, did 'mkdir old-machine; mv -iv * old-machine/'
  and then had the partitioner re-use the partition as / without
  formatting it.

  After installing packages, the install seemed to hang at 97% saying it
  was 'Cleaning up'.  When I logged in on another console, I discovered
  it was running updatedb.mlocate, presumably across the entire disk,
  including the original contents.  After about 20 minutes, it
  eventually finished and the install continued.

  I'd suggest either:

   a) not running updatedb.mlocate unless all partitions are due to be
      formatted

  or

   b) improving the dialog/progress indicator to make it clear what's
      happening and that it may take some time if you had a lot of
      pre-existing data.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgsel/+bug/1041881/+subscriptions



More information about the foundations-bugs mailing list