Repository navigation
Conversation
I couldn't find all this information in one place and thought it might be useful.
Thanks for the review, Wasabi Fan, I've incorporated your suggestions!
…into add-upgrade-instructions
| Before starting the upgrade process, you will need to have ev3dev download a list of the most recent versions of available software. To do this, run the following command: | ||
|
|
||
|
|
||
| sudo apt-get update |
There was a problem hiding this comment.
It would be better if we just listed this with the upgrade commands. If it is separate, people will miss it and wonder why upgrade is failing.
There was a problem hiding this comment.
One of the feedback items that you had on the original implementation of this PR was that you wanted an explanation of what this command does. I can copy the command into both of the other sections, but where would I then put the explanation?
There was a problem hiding this comment.
I think it would make sense to explain all three command (update, upgrade, dist-upgrade) at the end of the "Upgrading all packages" section.
update: fetches the list of packages from the package repository servers
upgrade: upgrades all packages that do not require installing new packages or removing existing packages
dist-upgrade: upgrades packages that require installing new dependencies or removing conflicting packages
There was a problem hiding this comment.
The problem is that the "update" description, as well as the command, is applicable to both sections. I could only include the description in one of the two sections, but then the other would be lacking it.
|
@WasabiFan, I think our main point of contention here is that I am approaching this from the point of view that this page should be about upgrading software packages in general, but you are approaching it from the point of view that this page is about upgrading the kernel. We need to pick one or the other and make the page a bit more focused on what specifically we are trying to accomplish. |
|
And to be honest, most people just want to know "what commands do I have to type in to make it work" they don't want to know the why and the how of it all. This page really could be just 2 paragraphs or so. Perhaps we need a separate section on the website for the detailed explanations for those that want to learn more about linux. Then we can just leave the tutorials as simple step-by-step instructions without all of the explanations getting in the way. |
Yeah, that seems right.
Agreed. My goal was to make a page so that we can say something like "You need to upgrade your kernel. To do so, see [here]." I'm afraid of straying too far into the technicalities to make that not straghtforward; in my mind, I am trying to minimize the boilerplate required every time we realize that someone needs to upgrade.
I think that's what #218 was, more or less.
I like that idea, although I would want to make sure that there is a clear distinction between those sections and that we aren't duplicating significant content between them. |
|
And actually, after thinking a bit more, I'd be pretty happy with a set of pages called a "Technical series" (or something similar) which would explain things like packages, sysfs access, etc. for people who want to learn about the technical background. |
|
OK. How about this? We'll start a new discussion for the "technical series" (to be continued...) As for this PR, what if we make it "upgrading ev3dev" instead of "upgrading ev3dev from the command line". The idea is there are 3 ways to "upgrade ev3dev"...
So basically, take what you have here, cut down the explanations to a bare minimum and add a section at the beginning on re-flashing and the pros (probably faster) and cons (wipes out any personal files). |
|
Sounds good. What do you think should be done about the image releases? We generally tell people to install the latest nightly; does that mean that this guide should also recommend that (at least temporarily) or do you expect to release a new official image soon? |
|
I think that if someone is looking to upgrade the kernel, then 90% of the time, the nightly is what they need (unless we stop using oss.jfrog/artifactory and start posting everything on github again). |
This is an extension of the work by @rikblok to incorporate more detailed information that @dlech suggested in #218. Thanks @rikblok for getting this started!
I tried to make it a balance between "baby steps"-style walkthrough and tl;dr summary. If you want to read the whole thing, you can, otherwise you can just find the heading you want and copy-paste the appropriate command(s).
Preview at http://wasabifan.github.io/ev3dev.github.io/docs/tutorials/upgrading-ev3dev-from-command-line/.
Note: I didn't bother opening up the Brickman desktop test and instead opted to just get a screenshot from one of my running EV3s. It's a bit different from the rest of our screenshots (the IP address and status icons) but other than that it should be functionally the same, including size and color.