mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Give instructions to fix termux upgrade error
This commit is contained in:
parent
430d9f59df
commit
5f5d41c5f0
|
|
@ -45,5 +45,14 @@ pkg up
|
|||
# The termux repository mirror from TUNA:
|
||||
deb https://mirrors.tuna.tsinghua.edu.cn/termux stable main
|
||||
```
|
||||
请使用内置或安装在 Termux 里的文本编辑器,例如 `vi` / `vim` / `nano` 等,**不要使用 RE 管理器等其他具有 ROOT 权限的外部 APP** 来修改 Termux 的文件
|
||||
|
||||
### 报错与修复
|
||||
|
||||
在Android P上使用TUNA源在upgrade的时候会出现报错
|
||||
```
|
||||
CANNOT LINK EXECUTABLE "dpkg-deb": library "libz.so.1" not found
|
||||
dpkg: error processing archive
|
||||
```
|
||||
此时退出 termux的进程,重新打开并`pkg up`即可修复。
|
||||
|
||||
请使用内置或安装在 Termux 里的文本编辑器,例如 `vi` / `vim` / `nano` 等,**不要使用 RE 管理器等其他具有 ROOT 权限的外部 APP** 来修改 Termux 的文件
|
||||
Loading…
Reference in New Issue