2moe/tmoe

proot 安装桌面脚本执行错误

woshigenm opened this issue · 1 comments

Are you rooted?

No

Desktop environment

None

Container type

None

Configuration

container value
os debian sid
arch arm64

host value
os android 13
arch arm64
terminal Termux
tmoe latest

Describe the bug

在debian proot容器中安装xface桌面时执行脚本报错,aria2下载错误

Screenshots

No response

How to reproduce

tmoe脚本安装桌面环境,选择xface,执行出错

Expected behavior

桌面安装正常

Error Logs

https://mirrors.bfsu.edu.cn/ubuntu/pool/universe/x/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13-1.1_all.deb
01/19 17:50:34 [INFO] <<--- --- --- ---
01/19 17:50:34 [INFO] --- --- --- ---
01/19 17:50:34 [INFO] --- --- --- --->>
01/19 17:50:34 [INFO] aria2 1.36.0
01/19 17:50:34 [INFO] gcc 10.2.1 20210110 built by aarch64-unknown-linux-gnu on Aug 21 2021 15:26:28
01/19 17:50:34 [INFO] Linux 5.10.101-android12-9-00027-g1292f517889e-ab8602202 #1 SMP PREEMPT Mon May 16 11:18:04 UTC 2022 aarch64
01/19 17:50:34 [INFO] zlib/1.2.11 libxml2/2.9.10 sqlite3/3.34.1 GnuTLS/3.7.1 nettle GMP/6.2.1 c-ares/1.17.2 libssh2/1.9.0
01/19 17:50:34 [INFO] 已开始记录日志。
01/19 17:50:34 [INFO] Checking configured addresses
01/19 17:50:34 [INFO] getifaddrs failed. Cause: 权限不够
01/19 17:50:34 [NOTICE] Downloading 1 item(s)
01/19 17:50:34 [INFO] 127 certificate(s) were imported.
01/19 17:50:34 [INFO] Checking configured addresses
01/19 17:50:34 [INFO] getifaddrs failed. Cause: 权限不够
01/19 17:50:34 [INFO] Checking configured addresses
01/19 17:50:34 [INFO] getifaddrs failed. Cause: 权限不够
01/19 17:50:34 [INFO] CUID#7 - Resolving hostname mirrors.bfsu.edu.cn
01/19 17:50:34 [ERROR] CUID#7 - Download aborted. URI=https://mirrors.bfsu.edu.cn/ubuntu/pool/universe/x/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13-1.1_all.deb
Exception: [AbstractCommand.cc:351] errorCode=19 URI=https://mirrors.bfsu.edu.cn/ubuntu/pool/universe/x/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13-1.1_all.deb -> [AbstractCommand.cc:799] errorCode=19 CUID#7 - Name resolution for mirrors.bfsu.edu.cn failed:No address returned
01/19 17:50:34 [NOTICE] GID 为 9666b4fa5464f2e7 的下载项未完:tmpxfce4panelprofiles_1.0.13-1.1_all.deb
状态标识:
(ERR): 发生错误。
传输重启后 aria2 可继续该下载。
如见 任何错误,详查日志文件。详细信息见帮助或手册页面中的“-l” 选项。
E: 命令 行中有不支持的文件 ./xfce4-panel-profiles_1.0.13-1.1_all.deb E: 没有发现 匹 配的 软件包
正在读取软件包 列表... 完成
E: 命令行中有不支持的文件 ./xfce4-panel-profiles_1.0.13-1.1_all.deb /etc/environment :export QT_QPA_PLATFORMTHEME=qt5ct /etc/environment
https://mirrors.bfsu.edu.cn/linuxmint/pool/main/m/mint-backgrounds-tina/mint-backgrounds-tina_1.2_all.deb
01/19 17:50:39 [INFO] <<--- --- --- ---
01/19 17:50:39 [INFO] --- --- --- ---
01/19 17:50:39 [INFO] --- --- --- --->>
01/19 17:50:39 [INFO] aria2 1.36.0
01/19 17:50:39 [INFO] gcc 10.2.1 20210110 built by aarch64-unknown-linux-gnu on Aug 21 2021 15:26:28
01/19 17:50:39 [INFO] Linux 5.10.101-android12-9-00027-g1292f517889e-ab8602202 #1 SMP PREEMPT Mon May 16 11:18:04 UTC 2022 aarch64
01/19 17:50:39 [INFO] zlib/1.2.11 libxml2/2.9.10 sqlite3/3.34.1 GnuTLS/3.7.1 nettle GMP/6.2.1 c-ares/1.17.2 libssh2/1.9.0
01/19 17:50:39 [INFO] 已开始记录日志。
01/19 17:50:39 [INFO] Checking configured addresses
01/19 17:50:39 [INFO] getifaddrs failed. Cause: 权限不够
01/19 17:50:39 [NOTICE] Downloading 1 item(s)
01/19 17:50:39 [INFO] 127 certificate(s) were imported.
01/19 17:50:39 [INFO] Checking configured addresses
01/19 17:50:39 [INFO] getifaddrs failed. Cause: 权限不够
01/19 17:50:39 [INFO] Checking configured addresses
01/19 17:50:39 [INFO] getifaddrs failed. Cause: 权限不够
01/19 17:50:39 [INFO] CUID#7 - Resolving hostname mirrors.bfsu.edu.cn
01/19 17:50:39 [ERROR] CUID#7 - Download aborted. URI=https://mirrors.bfsu.edu.cn/linuxmintpoolmain/m/mint-backgrounds-tina/mint-backgrounds-tina_1.2_all.deb
Exception: [AbstractCommand.cc:351] errorCode=19 URI=https://mirrors.bfsu.edu.cn/linuxmint/pool/main/m/mint-backgrounds-tina/mint-backgrounds-tina_1.2_all.deb -> [AbstractCommand.cc:799] errorCode=19 CUID#7 - Name resolution for mirrors.bfsu.edu.cn failed:No address returned
01/19 17:50:39 [NOTICE] GID 为 87a2f830a4364acc 的下载项未完成:/tmp/.mint_backgrounds_tina/mint-backgrounds-tina_1.2_all.deb
下载结果
0B/s|/tmp/.mint_backgrounds_tina/mint-backgrounds-tina_1.2_all.deb 状态标识:
(ERR): 发 生错误。
传输重启后 aria2 可 继续该 下载。
如见 任何错误,详查日志文件。详细信息见帮助或手册页面中的“-l” 选 项。
01/19 17:50:39 [INFO] <<--- --- --- ---
01/19 17:50:39 [INFO] --- --- --- ---
01/19 17:50:39 [INFO] --- --- --- --->>
01/19 17:50:39 [INFO] aria2 1.36.0
01/19 17:50:39 [INFO] gcc 10.2.1 20210110 built by aarch64-unknown-linux-gnu on Aug 21 2021 15:26:28
01/19 17:50:39 [INFO] Linux 5.10.101-android12-9-00027-g1292f517889e-ab8602202 #1 SMP PREEMPT Mon May 16 11:18:04 UTC 2022 aarch64
01/19 17:50:39 [INFO] zlib/1.2.11 libxml2/2.9.10 sqlite3/3.34.1 GnuTLS/3.7.1 nettle GMP/6.2.1 c-ares/1.17.2 libssh2/1.9.0
01/19 17:50:39 [INFO] 已开 始记录日志。
01/19 17:50:39 [INFO] Checking configured addresses
01/19 17:50:39 [INFO] getifaddrs failed. Cause: 权限不够
01/19 17:50:39 [NOTICE] Downloading 1 item(s)
01/19 17:50:39 [INFO] 127 certificate(s) were imported.
01/19 17:50:39 [INFO] Checking configured addresses
01/19 17:50:39 [INFO] getifaddrs failed. Cause: 权限不够
01/19 17:50:39 [INFO] Checking configured addresses
01/19 17:50:39 [INFO] getifaddrs failed. Cause: 权 限 不够
01/19 17:50:39 [INFO] CUID#7 - Resolving hostname packages.linuxmint.com
01/19 17:50:39 [ERROR] CUID#7 - Download aborted. URI=http://packages.linuxmint.com/pool/main/m/mint-backgrounds-tina/mint-backgrounds-tina_1.2_all.deb
Exception: [AbstractCommand.cc:351] errorCode=19 URI=http://packages.linuxmint.com/pool/main/m/mint-backgrounds-tina/mint-backgrounds-tina_1.2_all.deb -> [AbstractCommand.cc:799] errorCode=19 CUID#7 - Name resolution for packages.linuxmint.com failed:No address returned
01/19 17:50:39 [NOTICE] GID 为 18dd4af542934d56 的下载项未完成:/tmp/.mint_backgrounds_tina/mint-backgrounds-tina_1.2_all.deb

Additional context

No response

2moe commented

看起来 uri 是有效的,最关键的地方是: getifaddrs failed. Cause: 权限不够
我不清楚为什么会权限不够。
是不是由于某种原因而导致 aria2 无法解析域名?


你可以用 wgetcurl 试一下吗?
比如 wget https://mirrors.bfsu.edu.cn/ubuntu/pool/universe/x/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13-1.1_all.deb