Skip to content

Commit 7fabbca

Browse files
authored
Merge pull request #204311 from PatAltimore/patricka-fillo22-fix
Update remove based on issue feedback.
2 parents cd25280 + 7ff1177 commit 7fabbca

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

articles/iot-edge/how-to-provision-single-device-linux-symmetric.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: PatAltimore
55
ms.service: iot-edge
66
services: iot-edge
77
ms.topic: conceptual
8-
ms.date: 06/06/2022
8+
ms.date: 07/11/2022
99
ms.author: patricka
1010
---
1111

@@ -279,7 +279,7 @@ Remove the IoT Edge runtime.
279279
::: moniker range="iotedge-2018-06"
280280

281281
```bash
282-
sudo apt-get remove iotedge
282+
sudo apt-get autoremove iotedge
283283
```
284284

285285
::: moniker-end
@@ -289,10 +289,10 @@ sudo apt-get remove iotedge
289289

290290
# [Ubuntu / Debian / Raspberry Pi OS](#tab/ubuntu+debian+rpios)
291291
```bash
292-
sudo apt-get remove aziot-edge
292+
sudo apt-get autoremove --purge aziot-edge
293293
```
294294

295-
Use the `--purge` flag if you want to delete all the files associated with IoT Edge, including your configuration files. Leave this flag out if you want to reinstall IoT Edge and use the same configuration information in the future.
295+
Leave out the `--purge` flag if you plan to reinstall IoT Edge and use the same configuration information in the future. The `--purge` flags deletes all the files associated with IoT Edge, including your configuration files.
296296

297297
# [Red Hat Enterprise Linux](#tab/rhel)
298298
```bash
@@ -318,8 +318,7 @@ Finally, remove the container runtime from your device.
318318

319319
# [Ubuntu / Debian / Raspberry Pi OS](#tab/ubuntu+debian+rpios)
320320
```bash
321-
sudo apt-get remove --purge moby-cli
322-
sudo apt-get remove --purge moby-engine
321+
sudo apt-get autoremove --purge moby-engine
323322
```
324323

325324
# [Red Hat Enterprise Linux](#tab/rhel)

articles/iot-edge/how-to-provision-single-device-linux-x509.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: PatAltimore
55
ms.service: iot-edge
66
services: iot-edge
77
ms.topic: conceptual
8-
ms.date: 06/03/2022
8+
ms.date: 07/11/2022
99
ms.author: patricka
1010
---
1111

@@ -316,7 +316,7 @@ Remove the IoT Edge runtime.
316316
::: moniker range="iotedge-2018-06"
317317

318318
```bash
319-
sudo apt-get remove iotedge
319+
sudo apt-get autoremove iotedge
320320
```
321321

322322
::: moniker-end
@@ -326,10 +326,10 @@ sudo apt-get remove iotedge
326326

327327
# [Ubuntu / Debian / Raspberry Pi OS](#tab/ubuntu+debian+rpios)
328328
```bash
329-
sudo apt-get remove aziot-edge
329+
sudo apt-get autoremove --purge aziot-edge
330330
```
331331

332-
Use the `--purge` flag if you want to delete all the files associated with IoT Edge, including your configuration files. Leave this flag out if you want to reinstall IoT Edge and use the same configuration information in the future.
332+
Leave out the `--purge` flag if you plan to reinstall IoT Edge and use the same configuration information in the future. The `--purge` flags deletes all the files associated with IoT Edge, including your configuration files.
333333

334334
# [Red Hat Enterprise Linux](#tab/rhel)
335335
```bash
@@ -354,8 +354,7 @@ sudo docker rm -f <container name>
354354
Finally, remove the container runtime from your device.
355355

356356
```bash
357-
sudo apt-get remove --purge moby-cli
358-
sudo apt-get remove --purge moby-engine
357+
sudo apt-get autoremove --purge moby-engine
359358
```
360359

361360
## Next steps

0 commit comments

Comments
 (0)