mirror of https://github.com/apache/cloudstack.git
Merge pull request #1806 from shapeblue/4.8-travis-apt-clean
travis: cleanup apt before installing packagesThis aims at fixing recent Travis failures. * pr/1806: CLOUDSTACK-9584: Fix Travis to cleanup apt repo before pkg installation Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
commit
14b4642ac8
|
|
@ -62,7 +62,8 @@ echo -e "\nCleaning up stale files in /tmp: "
|
|||
sudo find /tmp -type f -mtime +2 | grep -v "`sudo lsof | grep /tmp |awk '{print $9}'|sed -e '1 d' |sort |uniq | tr \\n \|`" | xargs sudo rm -vf
|
||||
|
||||
echo -e "\nUpdating the system: "
|
||||
sudo apt-get -q -y update > /dev/null
|
||||
sudo apt-get -y clean
|
||||
sudo apt-get -y update > /dev/null
|
||||
|
||||
echo -e "\nInstalling MySQL: "
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue