-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Update old apt-get command #8135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Deploy preview for docsdocker ready! Built with commit 17cf632 |
bermudezmt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thaJeztah since the apt command is becoming more popular as a package manager, should we update our instructions with a note that apt-get is still more stable and more suitable for use in automation? I wanted to hear your thoughts.
thaJeztah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recall we held off this change in the past, due to apt not always showing the same behavior between distro versions, but perhaps it's stable enough now (and some older distro versions are no longer supported).
If we do decide to change this, we should be sure to update this consistently for all .deb based distros (so also the Debian installation instructions, as well as the Docker EE instructions).
| docker-ce | 5:18.09.0~3-0~ubuntu-xenial | {{ download-url-base }} xenial/stable amd64 Packages | ||
| docker-ce | 18.06.1~ce~3-0~ubuntu | {{ download-url-base }} xenial/stable amd64 Packages | ||
| docker-ce | 18.06.0~ce~3-0~ubuntu | {{ download-url-base }} xenial/stable amd64 Packages | ||
| $ apt policy docker-ce |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if we should use apt list -a docker-ce instead;
apt list -a docker-ce
Listing... Done
docker-ce/bionic,now 5:18.09.1~3-0~ubuntu-bionic amd64 [installed]
docker-ce/bionic 5:18.09.0~3-0~ubuntu-bionic amd64
docker-ce/bionic 18.06.1~ce~3-0~ubuntu amd64
docker-ce/bionic 18.06.0~ce~3-0~ubuntu amd64
docker-ce/bionic 18.05.0~ce~3-0~ubuntu amd64
docker-ce/bionic 18.03.1~ce~3-0~ubuntu amd64|
Yeah I'm not sure on this, |
|
Hello @tianon and @thaJeztah - let me know what you decide. My gut tells me we can postpone the change, since it involves updating all Debian installation pages including EE, and making a note of the stability of |
|
Yes, perhaps we should postpone this change. I think most users familiar with their Linux distro would know that For those that copy/paste the instructions from this page, it wouldn't make a big difference. So, when in doubt, "no" is the safe answer ("no is temporary, yes is forever") |
|
Thank you for linking that tweet @thaJeztah - such wisdom. @RukkiesMan Thank you for your feedback! We've decided not to incorporate your suggested changes at this time, but rest assured, we will consider this change on our content refactor. |
Proposed changes
This tutorial uses the old
apt-getcommand. This commit updates that command to the new commandapt.