Skip to content

Conversation

@dvdksn
Copy link
Contributor

@dvdksn dvdksn commented May 25, 2023

Signed-off-by: David Karlsson [email protected]

Proposed changes

The apt-get remove command in docs for removing old versions of docker engine and deps would fail if a package isn't found.

This changes the command to remove the packages one-by-one

Related issues (optional)

Closes #17405

@netlify
Copy link

netlify bot commented May 25, 2023

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 2aa6ad3
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/6470afaba4e0d60008b966f6
😎 Deploy Preview https://deploy-preview-17415--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@dvdksn dvdksn force-pushed the engine/aptget-remove-fix branch from 7b3498e to 4324bb2 Compare May 25, 2023 18:20
@dvdksn dvdksn requested review from thaJeztah and vvoland May 25, 2023 18:20
vvoland
vvoland previously approved these changes May 26, 2023
@dvdksn dvdksn requested a review from a team May 26, 2023 07:35
```

`apt-get` might report that you have none of these packages installed.
That's fine.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
That's fine.

Not sure that's necessary, but in these cases I've never been sure what else to use… Possibly just nothing is best

@dvdksn dvdksn force-pushed the engine/aptget-remove-fix branch from 4324bb2 to 1e3e693 Compare May 26, 2023 09:21
@dvdksn dvdksn requested a review from ChrisChinchilla May 26, 2023 09:21
Copy link
Contributor

@ChrisChinchilla ChrisChinchilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@dvdksn
Copy link
Contributor Author

dvdksn commented May 26, 2023

@thaJeztah PTAL! I've updated to remove the dated packages and included the other potential conflicts you mentioned

- `docker-doc`
- `podman-docker`

Moreover, Docker Engine depends on `containerd` or `runc`. Docker Engine
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Moreover, Docker Engine depends on `containerd` or `runc`. Docker Engine
Moreover, Docker Engine depends on `containerd` and `runc`. Docker Engine

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooopsss 🙈

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one comment (applies to all files), but otherwise LGTM 👍 (looks much better thanks!)

@dvdksn dvdksn force-pushed the engine/aptget-remove-fix branch from a8ec976 to 2aa6ad3 Compare May 26, 2023 13:10
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@thaJeztah thaJeztah merged commit c572de1 into docker:main May 26, 2023
@dvdksn dvdksn deleted the engine/aptget-remove-fix branch May 27, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"apt-get remove" command doesn't remove installed packages if a package isn't found

4 participants