You are not logged in.
Hi,
I was doing pacman -Syu on my laptop that suddenly crashed (bateery came out of power as I did not plug the electric cable ...).
So now I have some troubles while adding and removing packages :
For exemple I want to reinstall chromium and I have the messages :
(1/1) checking available disk space [#####################################] 100%
(1/1) upgrading chromium [#####################################] 100%
ldconfig: File /usr/lib/libkcompactdisc.so is empty, not checked.
ldconfig: File /usr/lib/libevent_extra-2.0.so.5.1.7 is empty, not checked.
ldconfig: File /usr/lib/libevent_openssl-2.0.so.5.1.7 is empty, not checked.
ldconfig: File /usr/lib/libevent_extra.so is empty, not checked.If I try to find package for this file it is not found :
[root@bootstrap acpi_call]# pacman -Qo /usr/lib/libevent_pthreads-2.0.so.5
error: No package owns /usr/lib/libevent_pthreads-2.0.so.5I have googled some infos but with no success (like pacman -Syyf ..)
I think this files are just here because of the crash and I could simply remove them and reinstall chromium but I would like to know :
1 - Is there a way to force pacman to reinstall all that ?
2 - Is there a way to check pacman consistency as I can find out all broken packages ?
Offline
If it's only Chromium (or a few other other packages) that show this behaviour, and the files being mentioned don't belong to any other packages; it should be safe to force the install for those specific packages (pacman -Sf <packagename>).
PS: I can't state this enough; do NOT use the -f flag for a full system upgrade. It's bound to break more stuff then it fixes.
Burninate!
Offline
Hi,
Thanks for the answer.
ACtually it looks worst that I was thinking.
A bunch of library files are now 0 size ...
It seems I cant install anything now.
-rwxr-xr-x 1 root root 0 May 24 14:09 libaudiocdplugins.so.4.8.0
-rwxr-xr-x 1 root root 0 May 13 15:44 libcryptsetup.so.4.1.0
-r-xr-xr-x 1 root root 0 May 25 18:22 libcups.so.2
-r-xr-xr-x 1 root root 0 May 25 18:22 libcupscgi.so.1
-r-xr-xr-x 1 root root 0 May 25 18:22 libcupsdriver.so.1
-r-xr-xr-x 1 root root 0 May 25 18:22 libcupsimage.so.2
-r-xr-xr-x 1 root root 0 May 25 18:22 libcupsmime.so.1
-r-xr-xr-x 1 root root 0 May 25 18:22 libcupsppdc.so.1
-rwxr-xr-x 1 root root 0 May 22 00:22 libevent-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 22 00:22 libevent.a
-rwxr-xr-x 1 root root 0 May 22 00:22 libevent_core-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 22 00:22 libevent_core.a
-rwxr-xr-x 1 root root 0 May 22 00:22 libevent_extra-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 22 00:22 libevent_extra.a
-rwxr-xr-x 1 root root 0 May 22 00:22 libevent_openssl-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 22 00:22 libevent_openssl.a
-rwxr-xr-x 1 root root 0 May 22 00:22 libevent_pthreads-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 22 00:22 libevent_pthreads.a
-rwxr-xr-x 1 root root 0 May 24 14:09 libkcddb.so.4.8.0
-rwxr-xr-x 1 root root 0 May 24 14:09 libkcompactdisc.so.4.8.0
-rwxr-xr-x 1 root root 0 May 24 14:09 libkdeinit4_kmix.so
-rwxr-xr-x 1 root root 0 May 24 14:09 libkdeinit4_kmixctrl.soI check empty files as well :
[root@bootstrap lib]# find / -xdev -type f -size 0 -ls | wc -l
5609Any way to run a package check with pacman or from which package this files belongs to (when not installed).
Offline
Offline
I got some troubles running pkgfile ...
Traceback (most recent call last):
File "/usr/bin/pkgfile", line 30, in <module>
import urllib.request, urllib.error, urllib.parse
ImportError: No module named urllib.requestAs this is my laptop and I got others distro availables I dont worry to break more this Arch.
So I tried this :
1 - Remove all empty plain files
for file in $(find . -xdev -size 0 -type f ) ; do
echo $file >> deadfiles
rm $file ;
done2 - Reinstall packages with pacman -Sf
It look likes it worked fine.
Let's check after a reboot.
But I am suprised that there are no check options in pacman, it looks like no chksum on file are maintained.
Last edited by manifesto (2012-05-26 16:03:51)
Offline