Fixed an issue where packages were failing to install due to dpkg error.
This commit is contained in:
Родитель
d2e9fc7e60
Коммит
039c966b01
|
@ -85,6 +85,7 @@ InstallGPUDrivers() {
|
|||
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG} -O /tmp/${CUDA_REPO_PKG}
|
||||
dpkg -i /tmp/${CUDA_REPO_PKG}
|
||||
rm -f /tmp/${CUDA_REPO_PKG}
|
||||
dpkg --force-all --configure -a
|
||||
apt-get -y update
|
||||
apt-get -y install linux-tools-generic linux-cloud-tools-generic
|
||||
apt-get -y install cuda-drivers
|
||||
|
|
|
@ -52,6 +52,7 @@ InstallFIO() {
|
|||
if [[ $DISTRO =~ "Ubuntu" ]];
|
||||
then
|
||||
LogMsg "Detected UBUNTU"
|
||||
dpkg --force-all --configure -a
|
||||
apt-get update
|
||||
apt-get install -y wget sysstat blktrace bc
|
||||
mount -t debugfs none /sys/kernel/debug
|
||||
|
|
|
@ -48,6 +48,7 @@ InstallIPERF3()
|
|||
then
|
||||
|
||||
LogMsg "Detected Ubuntu"
|
||||
ssh ${1} "dpkg --force-all --configure -a"
|
||||
ssh ${1} "apt-get update"
|
||||
ssh ${1} "apt-get -y install iperf3 sysstat bc"
|
||||
if [ $IPversion -eq 6 ]; then
|
||||
|
|
|
@ -49,6 +49,7 @@ InstallLAGSCOPE() {
|
|||
then
|
||||
LogMsg "Detected UBUNTU"
|
||||
LogMsg "Configuring ${1} for lagscope test..."
|
||||
ssh ${1} "dpkg --force-all --configure -a"
|
||||
ssh ${1} "apt-get update"
|
||||
ssh ${1} "apt-get -y install libaio1 sysstat git bc make gcc"
|
||||
ssh ${1} "rm -rf lagscope"
|
||||
|
|
|
@ -49,6 +49,7 @@ InstallNTTTCP() {
|
|||
then
|
||||
LogMsg "Detected UBUNTU"
|
||||
LogMsg "Configuring ${1} for ntttcp test..."
|
||||
ssh ${1} "dpkg --force-all --configure -a"
|
||||
ssh ${1} "apt-get update"
|
||||
ssh ${1} "apt-get -y install libaio1 sysstat git bc make gcc"
|
||||
ssh ${1} "git clone https://github.com/Microsoft/ntttcp-for-linux.git"
|
||||
|
|
Загрузка…
Ссылка в новой задаче