sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
252 stars 240 forks source link

Installing on Ubuntu 20.04 Focal Fossa #948

Open caseyjconger opened 2 years ago

caseyjconger commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

caseyjconger commented 2 years ago

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 commented 2 years ago

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;

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;

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

It is https://github.com/sugarlabs/turtleart-activity

On Sun, Oct 31, 2021, 7:20 PM Luis Guzman @.***> wrote:

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?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/sugar/issues/948#issuecomment-955810466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6PXYLKCBEVBJFA5YPS5FLUJXFLTANCNFSM5DYFZW5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.