Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add support for Ubuntu 2204 #368

Closed
Hibanaw opened this issue Apr 30, 2022 · 25 comments · Fixed by waydroid/libgbinder#1 or waydroid/libglibutil#1
Closed

Please add support for Ubuntu 2204 #368

Hibanaw opened this issue Apr 30, 2022 · 25 comments · Fixed by waydroid/libgbinder#1 or waydroid/libglibutil#1

Comments

@Hibanaw
Copy link

Hibanaw commented Apr 30, 2022

The following packages have unmet dependencies:
 python3-gbinder : Depends: python3 (< 3.10) but 3.10.4-0ubuntu2 is to be installed

get the dependency problem when using repo hirsute

@aliceTheGrinseCatz
Copy link

That's a general problem. The dependency python3 has a newer version in Ubuntu 22.04 as python3-gbinder needs but this is more a problem of python3-gbinder and should be brought to the attention of its developer so that he updates the package.
The right position would be here: erfanoabdi/gbinder-python#5

@walksanatora
Copy link

since python3-gbinder is coming from the repo.waydro.id source
why not just compile it with the python3.10 support and add that package either seperately
and have it conflict the python3.9 version
also as is the case on my Linux Mint 20.3 laptop python3 is actually python3.8

@walksanatora
Copy link

image

@tootbrute
Copy link

This is the same as #363
Should merge these issues.

@kivo360
Copy link

kivo360 commented May 7, 2022

I want to follow the issue. Which one will be the main issue?

@Kushagra-Srivastava
Copy link

The following packages have unmet dependencies:
 python3-gbinder : Depends: python3 (< 3.10) but 3.10.4-0ubuntu2 is to be installed

get the dependency problem when using repo hirsute

Hey...if you used the command export $DISTRO="hirsute" on your 22.04 jammy system, won't that hold true for your full system? Like you would be getting updates from hirsute repos for every application. Please do tell me if I am correct or not!!

@cniw cniw mentioned this issue May 9, 2022
@MrRulf
Copy link

MrRulf commented May 18, 2022

That's a general problem. The dependency python3 has a newer version in Ubuntu 22.04 as python3-gbinder needs but this is more a problem of python3-gbinder and should be brought to the attention of its developer so that he updates the package. The right position would be here: erfanoabdi/gbinder-python#5

The developer wrote in the issue that python3.10 is supported, but in a newer version so we'd have to build it from source. Doesn't that mean it just has to get updated in the repo?

@cniw
Copy link
Contributor

cniw commented Jun 10, 2022

The developer wrote in the issue that python3.10 is supported, but in a newer version so we'd have to build it from source. Doesn't that mean it just has to get updated in the repo?

Yes, @erfanoabdi still trying to contact the repo maintainer. Please wait for further information.

If you can't wait, you can build it by yourself. I have 2 automated scripts you can use:

  1. https://gist.github.com/cniw/7a0220ce8b75368f7f57aa422d3fea97
  2. https://gist.github.com/cniw/98e204d7dbc73a3fa1bf61629b2a2fc1

@suoko
Copy link

suoko commented Jun 11, 2022

The container does not have internet connection on 22.04.
I tried enabling dnsmasq and bind-interfaces option but still not connection for waydroid

@Apacelus
Copy link

The container does not have internet connection on 22.04. I tried enabling dnsmasq and bind-interfaces option but still not connection for waydroid

Does the container start for you at all? Can you use android apps offline in it?

@e-g1gor
Copy link

e-g1gor commented Jun 24, 2022

The container does not have internet connection on 22.04. I tried enabling dnsmasq and bind-interfaces option but still not connection for waydroid

Does the container start for you at all? Can you use android apps offline in it?

I don't know about @suoko but myself have the same problem (internet connection on 22.04), and it seems that all works except internet:

user@hostname:~$ waydroid status
Session:	RUNNING
Container:	RUNNING
Vendor type:	MAINLINE
Session user:	user(1000)
Wayland display:	wayland-0

image


EDIT: Nevermind, internet seems to work, it's actually WIFI gui in container shows that there is no connection, but running ip address in sudo wayland shell it seems that there is ethernet interface present. Ping to sites works. Checked in browser and f-droid, internet works.

@AdnanHodzic
Copy link

Only way I managed to install Waydroid (1.2.1) on Ubuntu 22.04 was to download all .deb files from this github page and simply run sudo dpkg -i *.deb

@cniw
Copy link
Contributor

cniw commented Jul 17, 2022

@MrCyjaneK after your PR #450 and waydroid/gbinder-python#1 merged, then i check https://repo.waydro.id/erfan/jammy/

Index of /erfan/jammy/

../
libglibutil-dev_1.0.55_amd64.deb                   15-Jul-2022 16:01               11802
libglibutil-dev_1.0.55_arm64.deb                   15-Jul-2022 16:45               11800
libglibutil_1.0.55_amd64.deb                       15-Jul-2022 16:01               27028
libglibutil_1.0.55_arm64.deb                       15-Jul-2022 16:45               26246
waydroid_1.2.1_all.deb                             14-Jul-2022 18:12              208932

There is still missing libgbinder and python3-gbinder packages only waydroid and i don't know how libglibutil packages was there because i don't see any PR or commit related to that package in https://github.com/waydroid/libglibutil also i notice libglibutil package version is 1.0.55 (it's too old, still same with the focal repo) while on upstream repo https://github.com/sailfishos/libglibutil version is 1.0.66

@Fuseteam
Copy link

oh boi it seems our https://github.com/waydroid/libglibutil is forked from https://github.com/droidian/libglibutil, instead of from https://github.com/sailfish/libglibutil. the droidian upstream seems to be out of date

@aleasto aleasto reopened this Jul 17, 2022
aleasto pushed a commit to waydroid/libgbinder that referenced this issue Jul 17, 2022
@Fuseteam
Copy link

hopefully now it will work

@Fuseteam
Copy link

@aleasto is there a way to check the output of the ci? if this doesn't fix it it would be nice to see the errors

@MrCyjaneK
Copy link
Contributor

MrCyjaneK commented Jul 17, 2022

yup there is. hold on. All fine except for jammy, will work on this.

@aleasto aleasto reopened this Jul 20, 2022
@Fuseteam
Copy link

@MrCyjaneK anything i can do to help debugging the jammy build?

@khaledmoalla
Copy link

khaledmoalla commented Aug 14, 2022

i compiled the libgbinder (python 3.10) for you.
https://cloudsync.uol.de/s/mTceC4HXNdPKsCa/download/python3-gbinder_0.0.0+git.202207132158_amd64_fixed_python_3.10.deb
you have just to install it (sudo dpkg -i python3-gbinder_0.0.0+git.202207132158_amd64_fixed_python_3.10.deb)
then choose hirsute distro for waydroid repo and install waydroid

@electrikjesus
Copy link
Member

electrikjesus commented Aug 14, 2022

@khaledmoalla , that link does not seem to be up for confirmation. And it might be better to also link the changes made or steps taken to fix

@electrikjesus
Copy link
Member

I can confirm it works, thank you @khaledmoalla . So what was changed?

@khaledmoalla
Copy link

@electrikjesus
Change log from the 3.9 version of gbinder
modified the control file to authorize installs along python 3.10
and replaced 3.9 compiled .so with the 3.10 one
then repackaged

@aleasto
Copy link
Member

aleasto commented Aug 17, 2022

This is now completed.
Follow the updated instructions at docs.waydro.id
Specifically you can use DISTRO=jammy

@aleasto aleasto closed this as completed Aug 17, 2022
@manyhats-mike
Copy link

The developer wrote in the issue that python3.10 is supported, but in a newer version so we'd have to build it from source. Doesn't that mean it just has to get updated in the repo?

Yes, @erfanoabdi still trying to contact the repo maintainer. Please wait for further information.

If you can't wait, you can build it by yourself. I have 2 automated scripts you can use:

  1. https://gist.github.com/cniw/7a0220ce8b75368f7f57aa422d3fea97
  2. https://gist.github.com/cniw/98e204d7dbc73a3fa1bf61629b2a2fc1

Thanks for this! #2 script worked perfectly for my system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.