找不到hf.so.3 - Linux

Table of Contents

大家好
我今天想要在我的Raspberry PI進行apt-get update時發生錯誤
所以上來請教大家

系統資訊
$ uname -a
Linux raspberrypi 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux

$ apt-get -v
apt 1.0.9.8.3 for armhf compiled on Apr 2 2016 16:38:14
Supported modules:
*Ver: Standard .deb
Pkg: Debian APT solver interface (Priority -1000)
*Pkg: Debian dpkg interface (Priority 30)
S.L: 'deb' Standard Debian binary tree
S.L: 'deb-src' Standard Debian source tree
Idx: EDSP scenario file
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian Translation Index
Idx: Debian dpkg status file

錯誤訊息
$ sudo apt-get update
Hit http://archive.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Get:1 http://archive.raspbian.org jessie/main Sources [7,745 kB]
Get:2 http://archive.raspberrypi.org jessie/ui armhf Packages [53.8 kB]
10% [1 Sources 728 kB/7,745 kB 9%] [2 Packages 28.0 kB/53.8 kB 52%]/usr/lib/apt/methods/gzip: error while loading shared libraries: hf.so.3: cannot open shared object file: No such file or directory
E: Method gzip has died unexpectedly!
E: Sub-process gzip returned an error code (127)
E: Method /usr/lib/apt/methods/gzip did not start correctly

當我要執行sudo apt-get update時,發生找不到hf.so.3這個library的錯誤
我上網尋找hf.so.3,但是都找不到類似情形,甚至根本找不到這個library
而且我用ldd去尋找/usr/lib/apt/methods/gzip的dependency
$ ldd /usr/lib/apt/methods/gzip
完全沒有任何結果

我現在完全沒有頭緒
想請問各位前輩有沒有遇過類似的情況
謝謝

--

All Comments

Brianna avatarBrianna2016-11-09
gcc ?自己 compile 啊。
Ethan avatarEthan2016-11-09
這是指 ld-linux-armhf.so.3?
Joseph avatarJoseph2016-11-09
ID 而已 ;)
Jacob avatarJacob2016-11-13
有點好奇 file /usr/lib/apt/methods/gzip 會出現什麼
Elma avatarElma2016-11-16
於是 /lib/ld-linux-armhf.so.3 是否真的存在?
Catherine avatarCatherine2016-11-19
那直接執行 /usr/lib/apt/methods/gzip 會動嗎?
Elizabeth avatarElizabeth2016-11-21
/usr/lib/apt/methods/gzip 檔案的 MD5 跟
/var/lib/dpkg/info/apt.md5sums 裡面寫的一樣嗎?
Ursula avatarUrsula2016-11-22
還有 readelf -d /usr/lib/apt/methods/gzip 有出現
長得像是 hf.so.3 的東西嗎?