当我跑步时sudo apt update,我得到:
$ sudo apt update
/usr/lib/apt/methods/http: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
/usr/lib/apt/methods/https: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
/usr/lib/apt/methods/https: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
/usr/lib/apt/methods/https: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
/usr/lib/apt/methods/https: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
/usr/lib/apt/methods/https: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
/usr/lib/apt/methods/http: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
/usr/lib/apt/methods/http: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
Reading package lists... Done
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (127)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (127)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (127)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (127)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (127)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (127)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (127)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (127)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Failed to fetch http://hwraid.le-vert.net/ubuntu/dists/precise/InRelease
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu/dists/focal/InRelease
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu/dists/focal-updates/InRelease
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu/dists/focal-backports/InRelease
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu/dists/focal-security/InRelease
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu/dists/focal-proposed/InRelease
E: Failed to fetch http://neurodeb.pirsquared.org/dists/data/InRelease
E: Failed to fetch http://neurodeb.pirsquared.org/dists/xenial/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
似乎已libp11-kit.so损坏,我可以通过重新安装来解决问题libp11-kit-dev。但由于apt update不再起作用,我不知道如何实现这一点。或者也许还有其他解决方案或建议?
Shi*_*ang -1
我刚刚意识到错误是由于 libffi 损坏造成的,我尝试通过http://ubuntu.pkgs.org/20.04/ubuntu-main-amd64/libffi7_3.3-4_amd64.deb.html
下载deb 文件:/ /archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi7_3.3-4_amd64.deb并安装它并且dpkg -i它可以工作!
| 归档时间: |
|
| 查看次数: |
13037 次 |
| 最近记录: |