2moe / tmoe

TMOE, More Optional Environments.
https://doc.tmoe.me
Other
849 stars 80 forks source link

安装容器失败 #264

Open woshigenm opened 1 year ago

woshigenm commented 1 year ago

Are you rooted?

Yes

Desktop environment

None

Container type

chroot

Configuration

container value
os ubuntu dev
arch arm64

host value
os android 12
arch arm64
terminal ?
tmoe latest

Describe the bug

无法安装容器

Screenshots

No response

How to reproduce

安装容器,出错

Expected behavior

正常工作

Error Logs

mount: '/data/data/com.termux/files/home/.local/share/tmoe-linux/containers/chroot/debian-sid_arm64' not in /proc/mounts mount: 'devpts'->'/data/data/com.termux/files/home/.local/share/tmoe-linux/containers/chroot/debian-sid_arm64/dev/pts': No such file or directory mount: '/dev/shm'->'/data/data/com.termux/files/home/.local/share/tmoe-linux/containers/chroot/debian-sid_arm64/dev/shm': No such file or directory

您已成功安装Container,之后可以输debian来进入debian container. Congratulations on your successful installation of GNU/Linux container. After that, you can type debian to enter the container. 正在执行优化步骤,请勿退出! Optimization steps are in progress. Do not exit! apt install -y eatmydata Get:1 http://mirrors.bfsu.edu.cn/debian sid InRelease [167 kB] Err:1 http://mirrors.bfsu.edu.cn/debian sid InRelease gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed

Additional context

No response

2moe commented 1 year ago

gpgv 是 apt 的依赖,就算是超精简容器也不会移除掉它。 看起来是容器镜像坏掉了。

如果你是选了 Manually build (debootstrap) 这个选项的话,那大概率是此功能年久失修,坏掉了。 To be honest, 我都差点忘记有这个功能了。 之后我会把它拆分出成单独的 debootstrap 容器, 而不是在 termux 上直接跑。