You are not logged in.
Pages: 1
Topic closed
i keep getting errors while i try to use pacman
something like this : ldconfig: file /user/lib.... is empty, not checked
i follow this : https://bbs.archlinux.org/viewtopic.php?id=85480
and with no luck i get an error -f is invaild option
Offline
Seems like you wrecked a few files.
Did you interrupt pacman or does your HDD/SDD show errors (in dmesg)? And no fsck issues on booting?
Here's a quick one-liner that in theory should fix things (if there are no other issues):
LANG= pacman -Qkk 2>&1 | grep "^warning: .*: /usr/lib.*Size mismatch" | cut -d: -f2 | xargs pacman -S --noconfirm
Last edited by byte (2015-10-09 01:20:47)
1000
Offline
Seems like you wrecked a few files.
Did you interrupt pacman or does your HDD/SDD show errors (in dmesg)? And no fsck issues on booting?
Here's a quick one-liner that in theory should fix things (if there are no other issues):LANG= pacman -Qkk 2>&1 | grep "^warning: .*: /usr/lib.*Size mismatch" | cut -d: -f2 | xargs pacman -S --noconfirm
not working..
i cant even get into some programs
Offline
It's generally a good idea to complement "not working" with the relevant output or log lines.
1000
Offline
:: 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%
(1/1) reinstalling ufw [######################] 100%
ldconfig: File /usr/lib/libxmmsclient.so is empty, not checked.
ldconfig: File /usr/lib/libmenu-cache.so.3.1.0 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++.so.4.0.0 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient-glib.so is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient.so.6.0.0 is empty, not checked.
ldconfig: File /usr/lib/libobrender.so is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient-glib.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfm.so is empty, not checked.
ldconfig: File /usr/lib/libid3tag.so.0 is empty, not checked.
ldconfig: File /usr/lib/libfm-gtk.so.4 is empty, not checked.
ldconfig: File /usr/lib/libobt.so.2 is empty, not checked.
ldconfig: File /usr/lib/libgif.so.7 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient-glib.so.1 is empty, not checked.
ldconfig: File /usr/lib/libmenu-cache.so is empty, not checked.
ldconfig: File /usr/lib/libfm-extra.so is empty, not checked.
ldconfig: File /usr/lib/libfm-gtk.so is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++-glib.so is empty, not checked.
ldconfig: File /usr/lib/libgif.so is empty, not checked.
ldconfig: File /usr/lib/libid3tag.so is empty, not checked.
ldconfig: File /usr/lib/libid3tag.so.0.3.0 is empty, not checked.
ldconfig: File /usr/lib/libImlib2.so.1 is empty, not checked.
ldconfig: File /usr/lib/libfm-extra.so.4 is empty, not checked.
ldconfig: File /usr/lib/libobt.so is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++-glib.so.1 is empty, not checked.
ldconfig: File /usr/lib/libfm.so.4.0.3 is empty, not checked.
ldconfig: File /usr/lib/libfm-extra.so.4.0.3 is empty, not checked.
ldconfig: File /usr/lib/libmenu-cache.so.3 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++.so is empty, not checked.
ldconfig: File /usr/lib/libfm.so.4 is empty, not checked.
ldconfig: File /usr/lib/libobt.so.2.0.2 is empty, not checked.
ldconfig: File /usr/lib/libfm-gtk.so.4.0.3 is empty, not checked.
ldconfig: File /usr/lib/libgif.so.7.0.0 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient.so.6 is empty, not checked.
ldconfig: File /usr/lib/libobrender.so.32 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++-glib.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libImlib2.so.1.4.7 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++.so.4 is empty, not checked.
ldconfig: File /usr/lib/libImlib2.so is empty, not checked.
ldconfig: File /usr/lib/libobrender.so.32.0.0 is empty, not checked.
Offline
It only installed one package?
Paste the output of 'LANG= pacman -Qkk 2>&1' somewhere and link it please.
1000
Offline
It only installed one package?
Paste the output of 'LANG= pacman -Qkk 2>&1' somewhere and link it please.
Offline
Ok, that explains it; the pacman database also got corrupted, not just the package files. (how?!)
So it should be
LANG= pacman -Qkk 2>&1 | grep "^.*: no mtree file$" | cut -d: -f1 | xargs pacman -S --force --noconfirm
Afterwards run pacman -Qkk again and check for any other errors (warnings about modification times, size changes in /etc and other stuff are harmless).
1000
Offline
work ty
Offline
Please remember to mark your thread as solved by editing your first post.
https://wiki.archlinux.org/index.php/Fo … ow_to_post
Thanks.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
I'm getting similar errors with Idconfig, but the two suggestions byte wrote don't work, they just give me:
grep: error while loading shared libraries: /usr/lib/libpcre.so.1: file too short
Any ideas? I posted details about my problem here:
https://bbs.archlinux.org/viewtopic.php … 1#p1585091
Offline
You already have a dedicated thread, don't hijack other, solved, threads.
https://wiki.archlinux.org/index.php/Fo … _hijacking
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Pages: 1
Topic closed