From 11b6532fd675b1333b42b4f56d28172d01ed2b27 Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Tue, 11 Jun 2019 08:16:02 -0500 Subject: [PATCH] Update apt-cyg database This is an attempt to fix OpenPLC installation on some windows hosts. Apparently apt-cyg incorrectly assumes some packages to be installed when in fact they are not. These lines will force all packages to be reinstalled --- background_installer.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/background_installer.sh b/background_installer.sh index 5d4c683..96bc023 100755 --- a/background_installer.sh +++ b/background_installer.sh @@ -138,8 +138,10 @@ if [ "$1" == "win" ]; then cp ./utils/apt-cyg/apt-cyg ./ cp ./utils/apt-cyg/wget.exe /bin install apt-cyg /bin + apt-cyg update apt-cyg install lynx rm -f /bin/wget.exe + apt-cyg remove wget gcc-core gcc-g++ git pkg-config automake autoconf libtool make python2 python2-pip sqlite3 apt-cyg install wget gcc-core gcc-g++ git pkg-config automake autoconf libtool make python2 python2-pip sqlite3 lynx -source https://bootstrap.pypa.io/get-pip.py > get-pip.py python get-pip.py