[問題] 找不到hf.so.3

作者: GNUGCC (-std=c++14)   2016-11-07 06:59:43
大家好
我今天想要在我的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
完全沒有任何結果
我現在完全沒有頭緒
想請問各位前輩有沒有遇過類似的情況
謝謝
作者: lantw44 (#######################)   2016-11-07 14:43:00
這是指 ld-linux-armhf.so.3?
作者: Gold740716 (項為之強)   2016-11-07 11:33:00
gcc ?自己 compile 啊。
作者: Gold740716 (項為之強)   2016-11-07 17:59:00
ID 而已 ;)
作者: lantw44 (#######################)   2016-11-09 00:11:00
有點好奇 file /usr/lib/apt/methods/gzip 會出現什麼

Links booklink

Contact Us: admin [ a t ] ucptt.com