diff --git a/_posts/help/1970-01-01-termux.md b/_posts/help/1970-01-01-termux.md index 7087858..e39be3d 100644 --- a/_posts/help/1970-01-01-termux.md +++ b/_posts/help/1970-01-01-termux.md @@ -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 的文件 \ No newline at end of file