[Bug 1968388] [NEW] Installation blocks apt due to automatic initialization

WoLpH 1968388 at bugs.launchpad.net
Sat Apr 9 01:13:06 UTC 2022


Public bug reported:

While I understand that it could be useful to automatically initialize
the database upon installation, on a large system this will result in
your "apt install" stalling for minutes/hours.

I had to kill the updatedb command from a separate terminal to be able
to use apt again.

Little excerpt from the installation:

```
Fetched 129 kB in 0s (612 kB/s)
(Reading database ... 153622 files and directories currently installed.)
Removing debian-archive-keyring (2021.1.1ubuntu2) ...
Selecting previously unselected package plocate.
(Reading database ... 153607 files and directories currently installed.)
Preparing to unpack .../plocate_1.1.15-1ubuntu2_amd64.deb ...
Unpacking plocate (1.1.15-1ubuntu2) ...
Setting up plocate (1.1.15-1ubuntu2) ...
update-alternatives: using /usr/bin/plocate to provide /usr/bin/locate (locate) in auto mode
Adding group `plocate' (GID 126) ...
Done.
Initializing plocate database; this may take some time...

Terminated
done
```

** Affects: plocate (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Installation blocks apt due to automatic initialization

Status in plocate package in Ubuntu:
  New

Bug description:
  While I understand that it could be useful to automatically initialize
  the database upon installation, on a large system this will result in
  your "apt install" stalling for minutes/hours.

  I had to kill the updatedb command from a separate terminal to be able
  to use apt again.

  Little excerpt from the installation:

  ```
  Fetched 129 kB in 0s (612 kB/s)
  (Reading database ... 153622 files and directories currently installed.)
  Removing debian-archive-keyring (2021.1.1ubuntu2) ...
  Selecting previously unselected package plocate.
  (Reading database ... 153607 files and directories currently installed.)
  Preparing to unpack .../plocate_1.1.15-1ubuntu2_amd64.deb ...
  Unpacking plocate (1.1.15-1ubuntu2) ...
  Setting up plocate (1.1.15-1ubuntu2) ...
  update-alternatives: using /usr/bin/plocate to provide /usr/bin/locate (locate) in auto mode
  Adding group `plocate' (GID 126) ...
  Done.
  Initializing plocate database; this may take some time...

  Terminated
  done
  ```

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




More information about the foundations-bugs mailing list