/h/user ~ sudo apt install python3-gbinder 03-Feb Thu 2022 17:02
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-gbinder : Depends: python3 (>= 3.9~) but 3.8.2-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
/h/user ~ python3 -V
Python 3.10.0
我需要waydroid的python3gbinder(android模拟器(。
我的python3版本3.10.0,但即使我尝试使用root,它仍然不起作用。
在https://docs.waydro.id/usage/install-on-desktops必须使用
export DISTRO="focal"
所以
export DISTRO="focal" &&
sudo curl -# --proto '=https' --tlsv1.2 -Sf https://repo.waydro.id/waydroid.gpg --output /usr/share/keyrings/waydroid.gpg &&
echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" > ~/waydroid.list &&
sudo mv ~/waydroid.list /etc/apt/sources.list.d/waydroid.list &&
sudo apt update
感谢@y-shevchenkohttps://githubhot.com/repo/Anbox-halium/anbox-halium/issues/162
curl -s https://gist.githubusercontent.com/cniw/7a0220ce8b75368f7f57aa422d3fea97/raw | bash
这应该可以修复