Could not open file /var/lib/pacman/local/liblphobos-3:1.28.0-3/desc: No such file or directory. Google has no result

Hello
Today i encountered a strange issue about install/uninstall softwares, which could not be addressed by Google. Before i show you what it is, please let me introduce my env:

$uname -a
Linux myhost 5.4.169-1-MANJARO #1 SMP PREEMPT Wed Dec 29 18:08:59 UTC 2021 x86_64 GNU/Linux

it runs under VirtualBox6.1

And one day ago i upgraded by command sudo pacman -Syu, then i run sudo pacman -Sc to remove pacman cache packages, clean system by BleachBit.

Then i found dbeaver is lost, Im sure i never uninstall it.
I reinstalled it with sudo pacman -S dbeaver, it showed:

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                        [#######################################] 100%
(1/1) checking package integrity                                      [#######################################] 100%
(1/1) loading package files                                           [#######################################] 100%
(1/1) checking for file conflicts                                     [#######################################] 100%
(1/1) checking available disk space                                   [#######################################] 100%
:: Processing package changes...
(1/1) reinstalling dbeaver                                            [#######################################] 100%
ldconfig: File /usr/lib/libdruntime-ldc-shared.so.2.0.98 is empty, not checked.
ldconfig: File /usr/lib/libphobos2-ldc-debug-shared.so.2.0.98 is empty, not checked.
ldconfig: File /usr/lib/libdruntime-ldc-shared.so is empty, not checked.
ldconfig: File /usr/lib/libdruntime-ldc-debug-shared.so.2.0.98 is empty, not checked.
ldconfig: File /usr/lib/libphobos2-ldc-debug-shared.so is empty, not checked.
ldconfig: File /usr/lib/libdruntime-ldc-shared.so.98 is empty, not checked.
ldconfig: File /usr/lib/libdruntime-ldc-debug-shared.so is empty, not checked.
ldconfig: File /usr/lib/libphobos2-ldc-debug-shared.so.98 is empty, not checked.
ldconfig: File /usr/lib/libdruntime-ldc-debug-shared.so.98 is empty, not checked.
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating the DBeaver bundles.info database...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...

I checked it by sudo pacman -Qi dbeaver:

error: could not open file /var/lib/pacman/local/liblphobos-3:1.28.0-3/desc: No such file or directory
Name            : dbeaver
Version         : 21.3.2-1
Description     : Free universal SQL Client for developers and database administrators (community edition)
Architecture    : x86_64
URL             : https://dbeaver.io/
Licenses        : Apache
Groups          : None
Provides        : None
Depends On      : java-runtime>=11  gtk3  gtk-update-icon-cache  libsecret
Optional Deps   : dbeaver-plugin-office: export data in Microsoft Office Excel format
                  dbeaver-plugin-svg-format: save diagrams in SVG format
Required By     : None
Optional For    : None
Conflicts With  : dbeaver-plugin-sshj-lib
Replaces        : dbeaver-plugin-sshj-lib
Installed Size  : 72.50 MiB
Packager        : Fabio Castelli (Muflone) <muflone@archlinux.org>
Build Date      : จ. 27 ธ.ค. 2564, 04:57:42
Install Date    : ศ. 7 ม.ค. 2565, 22:14:07
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

I checked the directory:

$ ls /var/lib/pacman/local/liblphobos-3:1.28.0-3
mtree

Anyone know what happened? Thanks in advance.

these might help :point_down:

Missing files and empty files smell like filesystem problems to me.
Unclean shutdown?

Problems on the host?

just an idea
perhaps your use of BleachBit has created this?

I don’t see how dbeaver is related to liblphobos.

Try (re)installing liblphobos
since it seems missing and seems to prompt these messages?
… and then properly uninstalling it if it is not wanted/needed …

Thanks for your reply @ishaanbhimwal , I followed you and found /usr/lib/libd*.so is related to dlang package, so i reinstalled dlang first.

next i reinstalled dbeaver sudo pacman -S dbeaver, the install message looks quite right, but when i run it by clicking its icon in start menu, it prompted me a message box said " The dbeaver executable launcher was unable to locate its companion shared library "

So now it is only about dbeaver itself. The easiest way is reinstall it totally fresh, finally i fix it by doing as follows:

  1. I checked the page https://archlinux.org/packages/community/x86_64/dbeaver/, **View the file list for dbeaver**, it showed me all files location extracted by dbeaver. I removed them one by one manually.
  2. sudo rm /var/cache/pacman/pkg/dbeaver* to remove cached package.
  3. sudo pacman -S dbeaver.

Thanks again, have a nice day!

1 Like

Really, like i said i updated system by pacman -Syu and I closed my laptop unintentionally. I can’t be sure that the process was finished.
In fact, the system became unbootable for a while, i fixed this by something like $sudo su- ; $manjaro-chroot -a.
Thanks for your help!

Yes, dbeaver is nothing related to liblphobos. i found liblphobos is related to dlang package. finally i fixed this.
Thanks a lot!

In that case better check all files of installed packages.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.