ubuntu 无法安装python3-gbinder

xqkwcwgp  于 2023-06-21  发布在  Python
关注(0)|答案(2)|浏览(210)
  /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

我需要python3-gbinder为waydroid(android模拟器)。
我的python3版本3.10.0,但它仍然不工作,甚至当我尝试与根。

qxgroojn

qxgroojn1#

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-shevchenko https://githubhot.com/repo/Anbox-halium/anbox-halium/issues/162

cwxwcias

cwxwcias2#

curl -s https://gist.githubusercontent.com/cniw/7a0220ce8b75368f7f57aa422d3fea97/raw | bash

这个应该能修好

相关问题