Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

  1. #1
    Join Date
    Oct 2024
    Beans
    7

    man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    Hi,

    I recently upgraded to Ubuntu 24.04.1 LTS and noticed that when I try to run the man command after the upgrade, I get the following error message:
    Code:
    man: error while loading shared libraries: libmandb-2.10.2.so: cannot open shared object file: No such file or directory

    I've tried manually copying the file from another machine into the
    Code:
    /usr/lib/man-db/
    directory. Also tried purging man and reinstalling. Still get the error.

    Anyone else seeing this?

  2. #2
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,697
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    Not seeing what you are seeing about man-db.
    No need to copy from other machine. If necessary, just reinstall.
    Show results between code tags -
    Code:
    apt show  man-db && apt policy man-db
    Cheers,


    The Linux Command Line at https://linuxcommand.org/

  3. #3
    Join Date
    Oct 2024
    Beans
    7

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    Thanks for the reply. Already tried purging and reinstalling, no luck. Here's the output from apt:
    Code:
    ryan@home:~$ apt show  man-db && apt policy man-db
    Package: man-db
    Version: 2.12.0-4build2
    Priority: standard
    Section: doc
    Origin: Ubuntu
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Original-Maintainer: Colin Watson <cjwatson@debian.org>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 2998 kB
    Provides: man, man-browser
    Depends: bsdextrautils | bsdmainutils (<< 12.1.1~), groff-base, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.38), libgdbm6t64 (>= 1.16), libpipeline1 (>= 1.5.0), libseccomp2 (>= 2.1.0), zlib1g (>= 1:1.1.4)
    Suggests: apparmor, groff, less, www-browser
    Conflicts: man
    Replaces: man, nlsutils
    Homepage: https://man-db.gitlab.io/man-db/
    Task: standard, ubuntu-wsl
    Download-Size: 1237 kB
    APT-Manual-Installed: yes
    APT-Sources: http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages
    Description: tools for reading manual pages
     This package provides the man command, the primary way of examining the
     system help files (manual pages). Other utilities provided include the
     whatis and apropos commands for searching the manual page database, the
     manpath utility for determining the manual page search path, and the
     maintenance utilities mandb, catman and zsoelim. man-db uses the groff
     suite of programs to format and display the manual pages.
    man-db:
      Installed: 2.12.0-4build2
      Candidate: 2.12.0-4build2
      Version table:
     *** 2.12.0-4build2 500
            500 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages
            100 /var/lib/dpkg/status
    ryan@home:~$ man man
    man: error while loading shared libraries: libmandb-2.10.2.so: cannot open shared object file: No such file or directory
    ryan@home:~$

  4. #4
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,697
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    This looks like root of your issue...
    man: error while loading shared libraries: libmandb-2.10.2.so: cannot open shared object file: No such file or directory
    ryan@home:~$
    Not sure , but maybe this will fix it...
    Code:
    sudo apt reinstall man-db
    Cheers,


    The Linux Command Line at https://linuxcommand.org/

  5. #5
    Join Date
    Oct 2024
    Beans
    7

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    No luck:

    Code:
    ryan@home:~$ sudo apt reinstall man-db
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
    Need to get 1237 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Get:1 http://us.archive.ubuntu.com/ubuntu noble/main amd64 man-db amd64 2.12.0-4build2 [1237 kB]
    Fetched 1237 kB in 1s (2287 kB/s)
    debconf: delaying package configuration, since apt-utils is not installed
    (Reading database ... 133795 files and directories currently installed.)
    Preparing to unpack .../man-db_2.12.0-4build2_amd64.deb ...
    Unpacking man-db (2.12.0-4build2) over (2.12.0-4build2) ...
    Setting up man-db (2.12.0-4build2) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.)
    debconf: falling back to frontend: Readline
    Updating database of manual pages ...
    man-db.service is a disabled or a static unit not running, not starting it.
    Scanning processes...
    Scanning processor microcode...
    Scanning linux images...
    Running kernel seems to be up-to-date.
    The processor microcode seems to be up-to-date.
    No services need to be restarted.
    No containers need to be restarted.
    No user sessions are running outdated binaries.
    No VM guests are running outdated hypervisor (qemu) binaries on this host.
    ryan@home:~$ man man
    man: error while loading shared libraries: libmandb-2.10.2.so: cannot open shared object file: No such file or directory
    ryan@home:~$

  6. #6
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,729
    Distro
    Xubuntu

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    As another step to help resolve this, let's try this:
    Code:
    sudo apt update
    sudo apt --fix-broken install
    Any luck?

  7. #7
    Join Date
    Oct 2024
    Beans
    7

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    No luck.

    Code:
    ryan@home:~$ sudo apt update
    Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
    Hit:2 http://us.archive.ubuntu.com/ubuntu noble InRelease
    Hit:3 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease
    Hit:4 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    2 packages can be upgraded. Run 'apt list --upgradable' to see them.
    ryan@home:~$ apt list --upgradable
    Listing... Done
    libcephfs2/noble-updates 19.2.0-0ubuntu0.24.04.1 amd64 [upgradable from: 19.2.0~git20240301.4c76c50-0ubuntu6.1]
    librados2/noble-updates 19.2.0-0ubuntu0.24.04.1 amd64 [upgradable from: 19.2.0~git20240301.4c76c50-0ubuntu6.1]
    ryan@home:~$ sudo apt --fix-broken install
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    ryan@home:~$ man man
    man: error while loading shared libraries: libmandb-2.10.2.so: cannot open shared object file: No such file or directory
    ryan@home:~$

  8. #8
    Join Date
    May 2010
    Beans
    3,475

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    That file is in the man-db package
    https://packages.ubuntu.com/search?s...noble&arch=any
    If you run:
    Code:
    updatedb
    locate libmandb
    What is the output?

  9. #9
    Join Date
    Oct 2024
    Beans
    7

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    Code:
    ryan@home:~$ sudo updatedb
    [sudo] password for ryan: 
    ryan@home:~$ locate libmandb
    /usr/lib/man-db/libmandb-2.12.0.so
    /usr/lib/man-db/libmandb.so
    ryan@home:~$ cd /usr/lib/man-db/
    ryan@home:/usr/lib/man-db$ ls -l
    total 296
    -rw-r--r-- 1 root root 267008 Apr  8  2024 libman-2.12.0.so
    lrwxrwxrwx 1 root root     16 Apr  8  2024 libman.so -> libman-2.12.0.so
    -rw-r--r-- 1 root root  30864 Apr  8  2024 libmandb-2.12.0.so
    lrwxrwxrwx 1 root root     18 Apr  8  2024 libmandb.so -> libmandb-2.12.0.so
    lrwxrwxrwx 1 root root     13 Apr  8  2024 man -> ../../bin/man
    lrwxrwxrwx 1 root root     15 Apr  8  2024 mandb -> ../../bin/mandb
    For some reason, it wants libmandb-2.10.2.so, but libmandb-2.12.0.so is what's installed.

  10. #10
    Join Date
    May 2010
    Beans
    3,475

    Re: man (manual) broken after upgrade to Ubuntu 24.04.1 LTS

    Quote Originally Posted by ryanbin2 View Post
    Code:
    ryan@home:~$ sudo updatedb
    [sudo] password for ryan: 
    ryan@home:~$ locate libmandb
    /usr/lib/man-db/libmandb-2.12.0.so
    /usr/lib/man-db/libmandb.so
    ryan@home:~$ cd /usr/lib/man-db/
    ryan@home:/usr/lib/man-db$ ls -l
    total 296
    -rw-r--r-- 1 root root 267008 Apr  8  2024 libman-2.12.0.so
    lrwxrwxrwx 1 root root     16 Apr  8  2024 libman.so -> libman-2.12.0.so
    -rw-r--r-- 1 root root  30864 Apr  8  2024 libmandb-2.12.0.so
    lrwxrwxrwx 1 root root     18 Apr  8  2024 libmandb.so -> libmandb-2.12.0.so
    lrwxrwxrwx 1 root root     13 Apr  8  2024 man -> ../../bin/man
    lrwxrwxrwx 1 root root     15 Apr  8  2024 mandb -> ../../bin/mandb
    For some reason, it wants libmandb-2.10.2.so, but libmandb-2.12.0.so is what's installed.
    Could try a symlink. Worth a shot

Page 1 of 2 12 LastLast

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
  •