Add more packages to uninstall before installation (#6092)

The CentOS, Red Hat, and Fedora package-repositories contain
several versions of the docker package. Some of those were
missing from the list of packages to uninstall, and could
conflict with the docker-ce/docker-ee package.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2018-02-28 19:15:18 +01:00 committed by Joao Fernandes
parent f930ae9781
commit fee069375e
4 changed files with 23 additions and 1 deletions

View File

@ -41,8 +41,14 @@ installed, uninstall them, along with associated dependencies.
```bash
$ sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
```

View File

@ -35,7 +35,12 @@ installed, uninstall them, along with associated dependencies.
```bash
$ sudo dnf remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine

View File

@ -57,7 +57,12 @@ if you are upgrading from Docker CE to Docker EE, remove the Docker CE package.
```bash
$ sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine \

View File

@ -67,10 +67,16 @@ installed, uninstall them, along with associated dependencies.
```bash
$ sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
docker-engine \
docker-ce
```
It's OK if `yum` reports that none of these packages are installed.