I've noticed the following line while doing a pacman system update:
$this->bbcode_second_pass_code('', '
ldconfig: Cannot lstat /usr/lib/libmpc.so.3.0.0: Input/output error
')
So I've taken a close look at it, and indeed all libmpc directories seem to be corrupt:
$this->bbcode_second_pass_code('', '
[pi@alarmpi lib]$ ls -la | grep libmpc
ls: cannot access libmpc.so.3: Input/output error
ls: cannot access libmpc.so.3.0.0: Input/output error
ls: cannot access libfl_pic.so: Input/output error
lrwxrwxrwx 1 root root 15 Mar 8 06:04 libmpc.so -> ,ibmpc.so.3.0.0
l????????? ? ? ? ? ? libmpc.so.3
-????????? ? ? ? ? ? libmpc.so.3.0.0
')
I can neither remove nor reinstall libmpc:
$this->bbcode_second_pass_code('', '
[pi@alarmpi lib]$ sudo pacman -S libmpc
[sudo] password for pi:
warning: libmpc-1.0.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) libmpc-1.0.3-1
Total Installed Size: 0.13 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(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 libmpc [####################] 100%
warning: warning given when extracting usr/lib/libmpc.so.3 (Can't create '/usr/lib/libmpc.so.3')
warning: warning given when extracting usr/lib/libmpc.so.3.0.0 (Can't create '/usr/lib/libmpc.so.3.0.0')
warning: warning given when extracting usr/include/mpc.h (Can't create '/usr/include/mpc.h')
ldconfig: Cannot lstat /usr/lib/libmpc.so.3.0.0: Input/output error
')
Any idea how to fix that error?
