
我將裝有 Ubuntu 14.04 的 HDD 從 PC 移至筆記型電腦。它啟動沒有問題,但卡在登入畫面上。如果我輸入密碼,它將返回登入畫面。如果我透過終端登入(使用Ctrl+ Alt+ F3),我會收到以下錯誤(就在歡迎來到Ubuntu...):
apt-config: error while loading shared libraries /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12: invalid ELF header
import.im6: unable to open X server `' @ error/import.c/ImportImageCommand/368
/usr/bin/lsb_release: 30: /usr/bin/lsb_release: Syntax error: "(" unexpected
我從實時 USB 啟動並嘗試過,fsck
但沒有出現任何錯誤。
兩台電腦均配備 Intel CPU。
如果我將硬碟放回原來的電腦上,我現在會遇到同樣的錯誤。
我能做什麼來修復它?
編輯:
似乎大多數命令都會出現此錯誤:
獲取
error while loading shared libraries: /lib/x86_64-linux-gnu/libssl.so.1.0.0: invalid ELF header
SSH
error while loading shared libraries: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: invalid ELF header
火狐(只是想看看我得到了什麼)
error while loading shared libraries: /lib/x86_64-linux-gnu/libstdc++.so.6: invalid ELF header