use -U instead of -i for RPM package installation

-U installs the package if it is not currently installed just like -i.
It upgrades the package if it is currently installed to a newer version.
pull/11354/head
Alessandro Lenzen 2021-05-09 17:05:11 +02:00 committed by Alessandro Lenzen
parent a1de28589f
commit c089b94eaa
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ sudo dpkg -i minikube_latest_amd64.deb
```shell
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-latest.x86_64.rpm
sudo rpm -ivh minikube-latest.x86_64.rpm
sudo rpm -Uvh minikube-latest.x86_64.rpm
```
### arm64 / aarch64
@ -69,7 +69,7 @@ sudo dpkg -i minikube_latest_arm64.deb
```shell
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-latest.aarch64.rpm
sudo rpm -ivh minikube-latest.aarch64.rpm
sudo rpm -Uvh minikube-latest.aarch64.rpm
```
{{% /linuxtab %}}