我的环境中有 Xubuntu 18.04 chroot。我只是将它从我拥有的虚拟机中放入其中。
进入chroot环境,如果我尝试运行,apt update则会收到此错误:
/usr/bin/apt-key: 624: /usr/bin/apt-key: cannot create /dev/null: Permission denied
我在这里尝试了大多数解决方案:https://unix.stackexchange.com/questions/146633/bash-dev-null-permission-denied 以及此解决方案: https: //superuser.com/a/814594两者都不是工作了。完全相同的输出。
有什么方法可以让它工作吗?提前致谢。