Skip to content

Commit 14b4642

Browse files
committed
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>
2 parents b57d0ae + 7da4231 commit 14b4642

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/travis/before_install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ echo -e "\nCleaning up stale files in /tmp: "
6262
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
6363

6464
echo -e "\nUpdating the system: "
65-
sudo apt-get -q -y update > /dev/null
65+
sudo apt-get -y clean
66+
sudo apt-get -y update > /dev/null
6667

6768
echo -e "\nInstalling MySQL: "
6869

0 commit comments

Comments
 (0)