Closed arushsharma24 closed 3 years ago
Arush,
In short, running Sugar in a Virtial Machine is an easy way to keep your standard environment safe. You can download a pre-built LiveCD/USB environment of Sugar, known as "Sugar on a Stick", or SoaS for short, from http://people.sugarlabs.org/~aperez/Fedora-SoaS-Live-x86_64-34-20210220.n.0.iso [http://people.sugarlabs.org/~aperez/Fedora-SoaS-Live-x86_64-34-20210220.n.0.iso]
SoaS is based on Fedora, and is the closest thing we have to an "official" pre-built environment. If you write the above image to a USB stick, using BalenaEtcher or Fedora Imager Writer, you can boot it from most modern PCs, directly from it, or you can simply point your virtualization environment of choice (VirtualBox, etc) at it, and it will boot in a VM.
Regards, Alex Perez
On 2/20/2021 3:14:56 AM, Arush Sharma notifications@github.com wrote: I was unable to install sugar using the sudo apt install sucrose on my laptop (the universe repository is enabled, screenshots attached). Also on the Ubuntu packages page for sucrose [https://packages.ubuntu.com/search?keywords=sucrose]. What can I do to use the Sugar DE? Do I have to upgrade to the 20.10 version (I am reluctant as the upgrade would have the risk of me losing all my files and it'd be a small hassle, but I wanted to be sure there wasn't another way before I did that as I like the LTS version) The screenshots:- Terminal commands and Ubuntu version :- [Screenshot from 2021-02-20 16-35-46] [https://user-images.githubusercontent.com/46960231/108593546-5e594a80-739a-11eb-82ba-b337a42dfede.png] The Ubuntu packages website :- [Screenshot from 2021-02-20 16-34-34] [https://user-images.githubusercontent.com/46960231/108593550-62856800-739a-11eb-943b-1cfd4523062c.png] — 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/943], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AAC2KBMKH56IT5HEYX37QHDS76KS5ANCNFSM4X5YVR5A].
Hi! Thanks for the reply, yes well actually that is what I ended up doing, I installed Sugar as a DE on a virtual machine with Ubuntu 20.10 running. I still wanted to bring it to notice that sucrose is not available in the universe repository of 20.04LTS Ubuntu, hence I created the issue. I guess I'll close this issue, because earlier I wasn't able to find anything online that said that there is an issue with it not being in the repositories, hence, wanted to know if it was just a problem at my end.
It's not available because nobody has packaged it. Anyone who chooses to do so could fix the problem :)
Yes, it is a problem with Ubuntu 20.04 (Focal) and was caused by Ubuntu policies and the broken state of Debian Testing at the time Ubuntu closed the doors on universe packages. Ubuntu will not be fixing the problem. OLPC has packaged Sugar for Ubuntu 20.04. You can also use a virtual machine of Sugar Live Build or OLPC OS 20.04. Both support Python 2 activities, which SoaS does not. Python 2 support is critical if you plan to do any activity maintenance.
This problem happens always . So the sugar installation guide for ubuntu 20 (gorilla) should include this note. It waste a lot of time to figure out. Even i thought it is some error from my side.
This problem happens always . So the sugar installation guide for ubuntu 20 (gorilla) should include this note. It waste a lot of time to figure out. Even i thought it is some error from my side.
Can you please be more specific? Gorilla is a release keyword for Ubuntu 20.10, but this issue https://github.com/sugarlabs/sugar/issues/943 up until now was talking about Ubuntu 20.04 Bionic. Instructions for Ubuntu 20.10 are at https://github.com/sugarlabs/sugar/blob/master/docs/ubuntu.md#ubuntu-2010-groovy-gorilla
i understood the point now. as i tried on bionic and ended with with the same mentioned issue. So if i will upgrade to ubuntu20.10 it will work then?
Well, I'm puzzled some more, because you should not be facing the same mentioned issue https://github.com/sugarlabs/sugar/issues/943 on Ubuntu 18.04 Bionic at all. Ubuntu 18.04 Bionic can be used with Sugar without significant difficulty. See our instructions. If you are facing difficulty with Ubuntu 18.04 Bionic, and it isn't a difficulty already documented in that link, please let us know in a new issue. This issue you are writing in yesterday and today is a closed issue about Ubuntu 20.04 Focal not containing Sugar packages; something outside our immediate control.
You asked for an estimate of whether it will work after you upgrade to Ubuntu 20.10. Probability of 85% that installing Sugar from Ubuntu packages will work for you after you upgrade to Ubuntu 20.10. Sugar did work for me when I tested Ubuntu 20.10 back in October when I added it to the instructions, but there are a couple of risks; (a) Ubuntu updates since then may have broken Sugar, or (b) your upgrade may introduce regressions.
You're new to us here; and I'm only guessing you want to install Sugar to use it with a child. If you have another purpose, please let us know, as there are other ways to solve this problem depending on your purpose.
Thanks for your consideration sir. I am here to contribute in sugar development. I understood the issue and ended up with understanding that as sugar is packaged for ubuntu20.10 not for 20.04 so it will only get installed in 20.10 version not 20.04 version.
Oh, that changes my advice then. Welcome. Now that I know you plan to contribute to development;
use Sugar Live Build in a virtual machine for activity maintenance of Python 2 or Python 3 activities, as this is the only system apart from OLPC OS that supports both versions of Python at the same time,
use either Debian testing or Fedora Sugar on a Stick in a virtual machine for activity maintenance of Python 3 activities, and maintenance of Sugar modules,
do test Sugar on latest yet-to-be-released Debian, Ubuntu and Fedora distributions and engage with their respective bug reporting systems before they make their release, (p.s. don't tell Sugar Labs about problems that aren't caused by our source code),
suggest any changes to Sugar Labs documentation,
subscribe to our mailing list and read our code of conduct and getting started guides.
Sir i am working on text clipping issue. I have thought of few changes in code but rather not sure which one would actually solve the problem. So i want to to try them. But i dont know how to do so. I have installed sugar live build in Virtual machine. And now i dont know what to do next. Please guide.
On Fri, Mar 26, 2021, 1:29 AM James Cameron @.***> wrote:
Oh, that changes my advice then. Welcome. Now that I know you plan to contribute to development;
use Sugar Live Build in a virtual machine for activity maintenance of Python 2 or Python 3 activities, as this is the only system apart from OLPC OS that supports both versions of Python at the same time,
use either Debian testing or Fedora Sugar on a Stick in a virtual machine for activity maintenance of Python 3 activities, and maintenance of Sugar modules,
do test Sugar on latest yet-to-be-released Debian, Ubuntu and Fedora distributions and engage with their respective bug reporting systems before they make their release, (p.s. don't tell Sugar Labs about problems that aren't caused by our source code),
suggest any changes to Sugar Labs documentation,
subscribe to our mailing list and read our code of conduct and getting started guides.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/sugar/issues/943#issuecomment-807381670, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNHHXWDPHODFCWC4BX2SGLTFOIZ5ANCNFSM4X5YVR5A .
Sir i am working on text clipping issue. I have thought of few changes in code but rather not sure which one would actually solve the problem. So i want to to try them. But i dont know how to do so. I have installed sugar live build in Virtual machine. And now i dont know what to do next. Please guide. … On Fri, Mar 26, 2021, 1:29 AM James Cameron @.**> wrote: Oh, that changes my advice then. Welcome. Now that I know you plan to contribute to development; use Sugar Live Build in a virtual machine for activity maintenance of Python 2 or Python 3 activities, as this is the only system apart from OLPC OS that supports both versions of Python at the same time, use either Debian testing or Fedora Sugar on a Stick in a virtual machine for activity maintenance of Python 3 activities, and maintenance of Sugar modules, do test Sugar on latest yet-to-be-released Debian, Ubuntu and Fedora distributions and engage with their respective bug reporting systems before they make their release, (p.s. don't tell Sugar Labs about problems that aren't caused by our source code), suggest any changes to Sugar Labs documentation, subscribe to our mailing list and read our code of conduct and getting started guides. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#943 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNHHXWDPHODFCWC4BX2SGLTFOIZ5ANCNFSM4X5YVR5A .
You can ssh into your vm and make the needed changes, also follow the reply you received in the mailing list as regards to testing your changes.
As to which of the solutions you've thought that'll solve the problem, you can try all the things you've thought of and pick whichever one actually solves the problem.
Is there any other option than using ssh in vm?
On Fri, Mar 26, 2021, 9:46 PM Ibiam Chihurumnaya @.***> wrote:
Sir i am working on text clipping issue. I have thought of few changes in code but rather not sure which one would actually solve the problem. So i want to to try them. But i dont know how to do so. I have installed sugar live build in Virtual machine. And now i dont know what to do next. Please guide. … <#m_-4734049935837989143m-914861419157860486_> On Fri, Mar 26, 2021, 1:29 AM James Cameron @.**> wrote: Oh, that changes my advice then. Welcome. Now that I know you plan to contribute to development; use Sugar Live Build in a virtual machine for activity maintenance of Python 2 or Python 3 activities, as this is the only system apart from OLPC OS that supports both versions of Python at the same time,
- use either Debian testing or Fedora Sugar on a Stick in a virtual machine for activity maintenance of Python 3 activities, and maintenance of Sugar modules, do test Sugar on latest yet-to-be-released Debian, Ubuntu and Fedora distributions and engage with their respective bug reporting systems before they make their release, (p.s. don't tell Sugar Labs about problems that aren't caused by our source code), suggest any changes to Sugar Labs documentation, * subscribe to our mailing list and read our code of conduct and getting started guides. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#943 (comment) https://github.com/sugarlabs/sugar/issues/943#issuecomment-807381670>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNHHXWDPHODFCWC4BX2SGLTFOIZ5ANCNFSM4X5YVR5A .
You can ssh into your vm and make the needed changes, also follow the reply you received in the mailing list as regards to testing your changes.
As to which of the solutions you've thought that'll solve the problem, you can try all the things you've thought of and pick whichever one actually solves the problem.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/sugar/issues/943#issuecomment-808342606, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNHHXWE326265YNX3BVVYLTFSXOLANCNFSM4X5YVR5A .
Why? What's your problem with using SSH into a VM on your own system? It works fine for everybody else. Is it just that you haven't used SSH before? There's a lot of documentation about SSH. It is an important skill to master.
That said, yes, you can use alternate consoles of your VM, with function keys to switch between them, but it is such a lot of extra work.
You could also add a build and packaging process to your edit to test process, but again, it is such a lot of extra work and risk. When you experience a problem you won't be easily able to know if you caused it while editing, or caused it while building and packaging.
Its my first time using ssh. I tried to set ssh through vm but configurations failed and shows time out error . I tried to fix it and still trying to do so.
On Sat, Mar 27, 2021, 11:27 AM James Cameron @.***> wrote:
Why? What's your problem with using SSH into a VM on your own system? It works fine for everybody else. Is it just that you haven't used SSH before? There's a lot of documentation about SSH. It is an important skill to master.
That said, yes, you can use alternate consoles of your VM, with function keys to switch between them, but it is such a lot of extra work.
You could also add a build and packaging process to your edit to test process, but again, it is such a lot of extra work and risk. When you experience a problem you won't be easily able to know if you caused it while editing, or caused it while building and packaging.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/sugar/issues/943#issuecomment-808664433, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNHHXVJWTTF2USHVNPZK6TTFVXWDANCNFSM4X5YVR5A .
Okay. There are many different kinds of timeout error, and I can't tell which one you have.
You have picked a particularly difficult problem to solve that requires significant skills in Linux system management and networking. It isn't something that Sugar Labs has any responsibility for, and you can find all the information you need elsewhere.
Irregardless, given the situation you describe, here's a checklist;
the host system has an SSH client installed, check with "which ssh",
the guest system has an SSH server installed, check with "sudo dpkg-query -W openssh-server" and if missing fix with "sudo apt update" followed by "sudo apt install openssh-server",
the guest system has an IP address reachable by the host system, check with "ip addr" on the guest, check the virtualisation software configuration for the host, and check with "ping IP" on the host,
the guest system has an account username created, if not use "sudo adduser ME", where ME is the username to create, and set a password,
on the host system, "ssh ME@IP".
Hope that helps.
I was unable to install sugar using the
sudo apt install sucrose
on my laptop (the universe repository is enabled, screenshots attached). Also couldn't find the sucrose package for Ubuntu 20.04 on the Ubuntu packages page for sucrose.What can I do to use the Sugar DE? Do I have to upgrade to the 20.10 version (I am reluctant as the upgrade would have the risk of me losing all my files and it'd be a small hassle, but I wanted to be sure there wasn't another way before I did that as I like the LTS version)
The screenshots:- Terminal commands and Ubuntu version :- The Ubuntu packages website :-