diff --git a/.gitlab-ci-ubuntu.sh b/.gitlab-ci-ubuntu.sh index fc591b2f2c3fc431c56a8cff8072ac5994b984c1..422e5ed11994ef1b9e92364e42a5694fda50170d 100755 --- a/.gitlab-ci-ubuntu.sh +++ b/.gitlab-ci-ubuntu.sh @@ -80,7 +80,9 @@ if [ "${brn}" == "ubuntu1604" ] || [ "${brn}" == "ubuntu1704" ]; then # (compare packages in O/S before and after installation of meta-package) apt list --installed > tmp0.txt dpkg-query -Wf '${binary:Package} ${Installed-Size}\n' > tmp0s.txt - if ! apt-get -qy install ./${deb64} > tmplog.txt; then cat tmplog.txt; echo "ERROR! ${deb64} could not be installed"; exit 1; else echo "${deb64} has been installed"; fi + if ! apt-get -qy install ./${deb64} > tmplog.txt; then cat tmplog.txt; echo "ERROR! ${deb64} could not be installed"; exit 1; else mv tmplog.txt ./${dep64}.installation-log.txt; echo "${deb64} has been installed"; fi + ###if ! apt-get -qy install ./${deb64}; then echo "ERROR! ${deb64} could not be installed"; exit 1; else echo "${deb64} has been installed"; fi + ###if ! apt-get -qy install ./${deb64} | tee ./${dep64}.installation-log.txt; then echo "ERROR! ${deb64} could not be installed"; exit 1; else echo "${deb64} has been installed"; fi apt list --installed > tmp1.txt dpkg-query -Wf '${binary:Package} ${Installed-Size}\n' > tmp1s.txt (! diff tmp0.txt tmp1.txt ) | grep "^>" | grep -v heposlibs | awk '{split($2,p,"/"); print p[1]}' | sort -u > ./${dep64}.dependencies-installed.txt # apt list gives e.g. "pkg/xenial"