[Bug 2073797] Re: man-db trigger for apt is excessively slow

Thayne 2073797 at bugs.launchpad.net
Wed Aug 21 19:32:59 UTC 2024


I've made an interesting discovery with respect to this.

If I remove the `percona-toolkit` package, then mandb runs much faster
(2 seconds instead of 2 minutes).

I think there is something wrong with the man pages in that package
(although I am using the download from https://www.percona.com/percona-
toolkit to get a newer version of it, not sure if that would make a
difference).


However, ideally, mandb would be able to handle this more gracefully. And in 20.04 this wasn't a problem.

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

Title:
  man-db trigger for apt is excessively slow

Status in man-db package in Ubuntu:
  Confirmed

Bug description:
  Whenever I install a package that includes a man page, apt-install
  gets stuck for multiple minutes on the step "Processing triggers for
  man-db".

  In many cases, this means that the "man-db" trigger takes
  significantly longer the rest of the installation combined.

  This slowness is enough of a nuisance that I eventually disabled the
  man-db update by running

  ```
  echo "set man-db/auto-update false" | sudo debconf-communicate 0 value set
  ```

  However, many users probably won't go to the effort of figuring out
  how to do this, and will just be frustrated by installations taking a
  long time.

  According to some of my co-workers this started happening a few weeks
  ago (on 24.04).

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: man-db 2.12.0-4build2
  ProcVersionSignature: Ubuntu 6.8.0-38.38-generic 6.8.8
  Uname: Linux 6.8.0-38-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Jul 22 12:20:30 2024
  InstallationDate: Installed on 2024-07-19 (3 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  SourcePackage: man-db
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/2073797/+subscriptions




More information about the foundations-bugs mailing list