Skip to content

Commit 3e1cd08

Browse files
rayluodlech
authored andcommitted
Address PR review feedback
1 parent b7737d0 commit 3e1cd08

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/getting-started.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -244,14 +244,6 @@ available hardware.
244244

245245
{% include /style/begin-section.html %}
246246

247-
## Step 5.1: Update `apt`
248-
249-
Currently, the image file downloaded from step 1 was built in 2020,
250-
some of its built-in packages are dated, and `apt` does not work out of the box.
251-
252-
To fix `apt` in general, `/etc/apt/sources.list` needs to be changed to match
253-
https://github.com/ev3dev/docker-library/blob/master/ev3dev-stretch/layers/debian/etc/apt/sources.list
254-
255247

256248
## Step 6: Connect to the EV3 via SSH
257249

@@ -281,6 +273,19 @@ you're good to go!
281273

282274
{% include /style/begin-section.html bg="dark" %}
283275

276+
## Step 6.1: Optional: Update `apt`
277+
278+
Currently, the image file downloaded from step 1 was built in 2020.
279+
`apt` does not work out of the box.
280+
281+
To fix `apt` in general, `/etc/apt/sources.list` needs to be changed to match
282+
https://github.com/ev3dev/docker-library/blob/master/ev3dev-stretch/layers/debian/etc/apt/sources.list
283+
284+
Specifically, you can run `sudo nano /etc/apt/sources.list`,
285+
delete the old content from that file,
286+
and replace them with the content from the link above.
287+
288+
284289
## Step 7: Choose a programming language and write some code
285290

286291
{% include /style/icon.html type="info" %}

0 commit comments

Comments
 (0)