You are not logged in.

#1 2020-04-14 17:56:52

Star1gazer
Member
Registered: 2020-04-14
Posts: 8

[Solved] Multiple ldconfig errors when I do anything with Pacman

Any operation involving Pacman packages (removing, upgrading, installing) completes successfully but results in a stream of ldconfig errors at the end, like:

ldconfig: File /usr/lib/xxxxxx.so is empty, not checked.

Are these harmless or do they mean something bad? I suspect it has something to do with earlier when my computer hard froze while upgrading and I had to hold the power button and reboot to get it working again.

For example if I try to install guvcview:

resolving dependencies...
looking for conflicting packages...

Packages (3) gsl-2.6-1  guvcview-common-2.0.6-4  guvcview-2.0.6-4

Total Installed Size:  5.59 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                         [----------------------------] 100%
(3/3) checking package integrity                       [----------------------------] 100%
(3/3) loading package files                            [----------------------------] 100%
(3/3) checking for file conflicts                      [----------------------------] 100%
(3/3) checking available disk space                    [----------------------------] 100%
:: Processing package changes...
(1/3) installing gsl                                   [----------------------------] 100%
(2/3) installing guvcview-common                       [----------------------------] 100%
(3/3) installing guvcview                              [----------------------------] 100%
ldconfig: File /usr/lib/libvaladoc-0.48.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libvaladoc-0.48.so is empty, not checked.
ldconfig: File /usr/lib/libnetpbm.so.11 is empty, not checked.
ldconfig: File /usr/lib/libgvc.so is empty, not checked.
ldconfig: File /usr/lib/libgs.so is empty, not checked.
ldconfig: File /usr/lib/libxdot.so is empty, not checked.
ldconfig: File /usr/lib/libpathplan.so.4 is empty, not checked.
ldconfig: File /usr/lib/libgvc.so.6 is empty, not checked.
ldconfig: File /usr/lib/liblab_gamut.so is empty, not checked.
ldconfig: File /usr/lib/libgvc.so.6.0.0 is empty, not checked.
ldconfig: File /usr/lib/libcdt.so.5.0.0 is empty, not checked.
ldconfig: File /usr/lib/libgvpr.so is empty, not checked.
ldconfig: File /usr/lib/libnetpbm.so.11.73 is empty, not checked.
ldconfig: File /usr/lib/libpathplan.so.4.0.0 is empty, not checked.
ldconfig: File /usr/lib/libvala-0.48.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libcdt.so is empty, not checked.
ldconfig: File /usr/lib/libgs.so.9 is empty, not checked.
ldconfig: File /usr/lib/libgvpr.so.2.0.0 is empty, not checked.
ldconfig: File /usr/lib/libxdot.so.4.0.0 is empty, not checked.
ldconfig: File /usr/lib/liblab_gamut.so.1 is empty, not checked.
ldconfig: File /usr/lib/libgts-0.7.so.5 is empty, not checked.
ldconfig: File /usr/lib/libgts-0.7.so.5.0.1 is empty, not checked.
ldconfig: File /usr/lib/libcgraph.so.6 is empty, not checked.
ldconfig: File /usr/lib/libvala-0.48.so is empty, not checked.
ldconfig: File /usr/lib/libvaladoc-0.48.so.0 is empty, not checked.
ldconfig: File /usr/lib/libgvpr.so.2 is empty, not checked.
ldconfig: File /usr/lib/libxdot.so.4 is empty, not checked.
ldconfig: File /usr/lib/libcdt.so.5 is empty, not checked.
ldconfig: File /usr/lib/libnetpbm.so is empty, not checked.
ldconfig: File /usr/lib/libgs.so.9.52 is empty, not checked.
ldconfig: File /usr/lib/libpathplan.so is empty, not checked.
ldconfig: File /usr/lib/libcgraph.so.6.0.0 is empty, not checked.
ldconfig: File /usr/lib/libcgraph.so is empty, not checked.
ldconfig: File /usr/lib/libgts.so is empty, not checked.
ldconfig: File /usr/lib/liblab_gamut.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libvala-0.48.so.0 is empty, not checked.
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating icon theme caches...
(3/4) Updating the info directory file...
(4/4) Updating the desktop file MIME type cache...

Last edited by Star1gazer (2020-04-14 21:29:20)

Offline

#2 2020-04-14 17:58:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

Please do NOT truncate logs: paste the entire output of `pacman -Syu --debug`: https://bbs.archlinux.org/viewtopic.php?id=57855


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-04-14 18:20:18

Star1gazer
Member
Registered: 2020-04-14
Posts: 8

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

jasonwryan wrote:

Please do NOT truncate logs: paste the entire output of `pacman -Syu --debug`

https://hastebin.com/coninipajo.sql

Last edited by Star1gazer (2020-04-14 19:22:31)

Offline

#4 2020-04-14 18:31:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,520
Website

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

Apparently you ignored the big red-shaded box with bold lettering in the wiki:

wiki wrote:

Warning:
Be careful when enabling the testing repositories. Your system may break after performing an update. Only experienced users who know how to deal with potential system breakage should use it.
If you enable testing, you must also enable community-testing. If you enable any other testing repository listed in the following subsections, you must also enable both testing and community-testing.

I'm not sure if that'd be a direct cause of the current issue, but I suspect it's related.

Last edited by Trilby (2020-04-14 18:32:21)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2020-04-14 19:17:19

Star1gazer
Member
Registered: 2020-04-14
Posts: 8

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

You're right, lol. I enabled multilib a few months ago to install Wine and I guess I also decided to enable multilib-testing for some reason. My mistake.

Offline

#6 2020-04-14 19:34:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,520
Website

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

Why did you edit your post to put the output on a different file sharing site?  The new one you chose is showing a rendered image of the text - and either ridiculously slowly, or incompletely and with no way to see raw text.  Please put it back on a site where we can actually get the data.

EDIT: ok there is a "just text" option that now works - it wasn't working for a while.  So I've got the log.  But that site really sucks.

The log you just posted doesn't show any of the errors you mentioned in the first post.

Last edited by Trilby (2020-04-14 19:37:47)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2020-04-14 19:55:58

Star1gazer
Member
Registered: 2020-04-14
Posts: 8

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

Sorry, I edited it because the forum rules say to not use pastebin.com. But the reason they're not in the log is probably because they only show up when installing or removing something, and I was already fully updated when I ran pacman -Syu --debug. I also get them when running "ldconfig" by itself.

Offline

#8 2020-04-14 20:06:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,520
Website

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

Well they all belong to 5 packages: ghostscript, graphviz, gts, netpbm, and vala.  Have you tried reinstalling those?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2020-04-14 20:28:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,860

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

Chances are there's more stuff screwed, check

LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

and in doubt also post your pacman log.

Pastebin is discouraged because it's not accessible for several users, but that's no reason to pick the most retarded service i've seen so far.
See https://wiki.archlinux.org/index.php/Li … in_clients and in doubt just use ix.io

Online

#10 2020-04-14 20:45:18

Star1gazer
Member
Registered: 2020-04-14
Posts: 8

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

I tried reinstalling Vala and it worked, turns out those are all dependencies of vala. But I had to use --overwrite to take care of conflicting files:

16:37:40 gt@arch ~ sudo pacman -S vala --overwrite='*'
resolving dependencies...
looking for conflicting packages...

Packages (12) docbook-xml-4.5-8  docbook-xsl-1.79.2-5  ghostscript-9.52-1  glib2-docs-2.64.2-1
              graphviz-2.42.3-3  gtk-doc-1.32+37+gefc3644-1  gts-0.7.6.121130-1  netpbm-10.73.31-1
              python-anytree-2.8.0-1  python-lxml-4.5.0-1  python-pygments-2.6.1-2  vala-0.48.3-1

Total Installed Size:  152.42 MiB

:: Proceed with installation? [Y/n] 
(12/12) checking keys in keyring                             [---------------------------------] 100%
(12/12) checking package integrity                           [---------------------------------] 100%
(12/12) loading package files                                [---------------------------------] 100%
(12/12) checking for file conflicts                          [---------------------------------] 100%
(12/12) checking available disk space                        [---------------------------------] 100%
:: Processing package changes...
( 1/12) installing docbook-xml                               [---------------------------------] 100%
( 2/12) installing docbook-xsl                               [---------------------------------] 100%
( 3/12) installing glib2-docs                                [---------------------------------] 100%
( 4/12) installing python-lxml                               [---------------------------------] 100%
Optional dependencies for python-lxml
    python-beautifulsoup4: support for beautifulsoup parser to parse not well formed HTML
    python-cssselect: support for cssselect
    python-html5lib: support for html5lib parser [installed]
    python-lxml-docs: offline docs
( 5/12) installing python-pygments                           [---------------------------------] 100%
( 6/12) installing python-anytree                            [---------------------------------] 100%
( 7/12) installing gtk-doc                                   [---------------------------------] 100%
Optional dependencies for gtk-doc
    dblatex: PDF support
( 8/12) installing ghostscript                               [---------------------------------] 100%
Optional dependencies for ghostscript
    texlive-core: needed for dvipdf [installed]
    gtk3: needed for gsx [installed]
( 9/12) installing netpbm                                    [---------------------------------] 100%
(10/12) installing gts                                       [---------------------------------] 100%
(11/12) installing graphviz                                  [---------------------------------] 100%
Optional dependencies for graphviz
    mono: sharp bindings
    guile: guile bindings [installed]
    lua: lua bindings [installed]
    ocaml: ocaml bindings
    perl: perl bindings [installed]
    python: python bindings [installed]
    python2: python2 bindings [installed]
    r: r bindings
    tcl: tcl bindings
    qt5-base: gvedit [installed]
    gtk2: gtk output plugin [installed]
    xterm: vimdot
(12/12) installing vala                                      [---------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Warn about old perl modules
WARNING: '/usr/lib/perl5/5.28' contains data from at least 1 packages which will NOT be used by the installed perl interpreter.
 -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/5.28'

Errors are gone now.

Offline

#11 2020-04-14 20:48:53

Star1gazer
Member
Registered: 2020-04-14
Posts: 8

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

seth wrote:

Chances are there's more stuff screwed, check

LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

http://ix.io/2i4o

Offline

#12 2020-04-14 20:57:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,860

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

vim-runtime seems to have taken a hit?

Online

#13 2020-04-14 20:57:33

loqs
Member
Registered: 2014-03-06
Posts: 19,078

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

From that output would reinstall as well mercurial pacman-contrib powerline-vim vim-runtime

Offline

#14 2020-04-14 20:59:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,520
Website

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

That yeilds four more: pacman-contrib, powerline-vim, mercurial, and vim-runtime.

Reinstalling those will patch up the current problems, but you might want to get to the bottom of how this happened in the first place.  My first check would be a SMART test on the disk if something doesn't stand out in your memory as a possible cause (e.g., do you get frequent power cuts during pacman updates).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#15 2020-04-14 21:28:42

Star1gazer
Member
Registered: 2020-04-14
Posts: 8

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

Powerline-vim and vim-runtime are my fault, I uninstalled vim and forgot to also uninstall powerline, of which vim-runtime is a dependency.

Trillby wrote:

My first check would be a SMART test on the disk if something doesn't stand out in your memory as a possible cause (e.g., do you get frequent power cuts during pacman updates).

A while ago my computer had kept crashing during upgrade but it seems like that issue is resolved now and it hasn't happened for a long time. I did a SMART test though and it looks like everything is ok with my drive:

gt@arch ~ sudo smartctl -l selftest /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.6.3-arch1-1] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       123         -

Anyways after reinstalling Mercurial and pacman-contrib it seems everything is fixed now, I'm gonna mark the thread as solved. Thanks for the help.

Offline

#16 2020-04-14 21:34:58

loqs
Member
Registered: 2014-03-06
Posts: 19,078

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

How did you uninstall vim that caused the removal of files owned by other packages?

Offline

#17 2020-04-14 21:42:12

Star1gazer
Member
Registered: 2020-04-14
Posts: 8

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

I deleted them manually afterwards. Now I know that was a dumb idea. lmao

Offline

#18 2020-04-14 23:31:32

loqs
Member
Registered: 2014-03-06
Posts: 19,078

Re: [Solved] Multiple ldconfig errors when I do anything with Pacman

Have a look at Pacman#Removing_packages to remove packages along with their dependencies and Tips_and_tricks#Removing_unused_packages_(orphans) to remove unneeded packages.

Offline

Board footer

Powered by FluxBB