[ubuntu] fix sporadic build fails (#2091)

* fix apt-get update

* Improve diagnostic

* handle "IPC connect call failed"

* Handle not-existing tool

* final refactoring

* remove todo

* remove which
This commit is contained in:
Sergey Dolin
2020-11-25 13:19:51 +05:00
committed by GitHub
parent e81ce0c3d7
commit 1424801fba
5 changed files with 40 additions and 26 deletions

View File

@@ -2,6 +2,6 @@
prefix=/usr/local/bin
for tool in apt apt-get apt-fast;do
for tool in apt apt-get apt-fast apt-key;do
sudo rm -f $prefix/$tool
done