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

Installing on Ubuntu 20.04 Focal Fossa #948

Open
caseyjconger opened this issue Sep 9, 2021 · 9 comments
Open

Installing on Ubuntu 20.04 Focal Fossa #948

caseyjconger opened this issue Sep 9, 2021 · 9 comments

Comments

@caseyjconger
Copy link

caseyjconger commented Sep 9, 2021

Hi,

Apologies if this is answered elsewhere. But I am currently unable to install sugar on Ubuntu 20.04.

I have verified that the universe repository is enabled but when I try to install it says that it is unable to locate the package. And just looking at https://packages.ubuntu.com/focal/allpackages I don't see it listed in the included packages.

Any insight as to how I can go about installing it on a Ubuntu 20.04 system?

Thanks

@quozl
Copy link
Contributor

quozl commented Sep 10, 2021

That's right, it was omitted from Ubuntu 20.04 because it wasn't in Debian for the few weeks that Ubuntu froze. OLPC OS 20.04 contains Sugar packages, and they can be added to an Ubuntu 20.04 system. Or use Ubuntu 20.10 or later.

@chimosky
Copy link
Member

Hi @caseyjconger, were you able to fix your issue?

@caseyjconger
Copy link
Author

Hi @chimosky Sorry, not really. I took a look and I'm not sure how to add the packages without installing the whole OLPC OS. I may just be misunderstanding though.

@quozl
Copy link
Contributor

quozl commented Sep 15, 2021

Yeah, sorry about that. I'm about to go on night shift for a week at a telescope, so can't fix this now. But here's some information that may help anyone else to fix it;

  • OLPC OS 20.04 was a speculative product to support sales of laptops, made by one engineer,
  • technical information on the product is here,
  • it was made by taking Ubuntu 20.04 and adding Sugar, which as it happened wasn't available in Ubuntu 20.04 because of aforementioned coincidences between Debian and Ubuntu operations,
  • the Sugar packages were derived from the Debian packages, with some tweaks specific to OLPC.

Now Ubuntu 20.04 is old, but it is the most recent long term support release by Canonical, so there is still a reason to support it if anyone wants to do so or is being paid for it.

If someone were to make Sugar more available on Ubuntu 20.04, the shortest path is likely;

  • add the OLPC 20.04 package repository at http://dev.laptop.org/~quozl/.us to sources.list,
  • install the sucrose package,
  • fix any regressions that occur; I think one such is that the repository release file is out of date,

Here is what olpc-ubuntu-sugar-builder package adds to sources.list on the installation image;

deb [trusted=yes arch=amd64] http://dev.laptop.org/~quozl/.us focal main

@Ark74
Copy link

Ark74 commented Oct 31, 2021

Hello!
I'm helping out on the next trisquel 10.0 sugar flavor release based on Ubuntu 20.04 (we are a bit behind from upstream).

We are backporting packages from groovy as there is no sugar release on focal, and have our own set of activity packages build as debian packages,

Still I'm finding issues when login, the interface seems frozen, as no activity is loaded.

(main.py:939): dbind-WARNING **: 22:54:41.265: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(metacity:994): dbind-WARNING **: 22:54:42.034: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(metacity-message:1013): dbind-WARNING **: 22:54:42.471: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[...]
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
    return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.laptop.sugar.DataStore': no such name
[...]
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.laptop.sugar.DataStore was not provided by any .service files

I'm kind of new to sugar, hopefully you can give me some advice, I've read that it would be best to try the latest packages available, I wonder if I should try impish instead of groovy for this release.

Thanks in advance.

@Ark74
Copy link

Ark74 commented Oct 31, 2021

Well, went ahead with impish packages and it works.
Some of the activities fail, I have to look it up, but that will be another subject.
trisquel10 0+sugar-impish

Thank you very much.

@quozl
Copy link
Contributor

quozl commented Oct 31, 2021

Thanks, well done. Sorry for the delay, but I recognise the problem;

name org.laptop.sugar.DataStore was not provided by any .service files

That's caused by not installing the dependencies. Work with your distribution packager to ensure the carquinyol or datastore component is more than just a suggestion. A possible source of dependency information is the Native Sugar section of the Development Environment instructions.

@Ark74
Copy link

Ark74 commented Oct 31, 2021

Thank you, indeed I was looking at missing dependencies on my setup.

I'm adjusting everything and seems almost all activities are working but these 3,

Can't find turtleblocks activity repository, any idea of where to find it?

@walterbender
Copy link
Member

walterbender commented Oct 31, 2021 via email

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

No branches or pull requests

5 participants