Fix message "RPMDB altered outside of yum"

yum install supports a local filename on RHEL 6 or newer.

Change-Id: I873ab3dfab56003ded45bc6c4099aae150f423dd
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
Dimitrios Apostolou
2019-07-31 12:21:51 +02:00
parent c87a6e9c6d
commit acfc7ad18d
2 changed files with 2 additions and 4 deletions

View File

@@ -44,6 +44,5 @@ targetFile="/tmp/$package"
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
sudo rpm -ivh "$targetFile"
sudo yum -y install "$targetFile"
rm "$targetFile"

View File

@@ -46,6 +46,5 @@ targetFile="/tmp/$package"
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
sudo rpm -ivh "$targetFile"
sudo yum -y install "$targetFile"
rm "$targetFile"