Bug 1143412 - Make sure that we run "apt-get update". Otherwise, the install of packages will fail r=nalexander

This commit is contained in:
Sylvestre Ledru 2015-03-16 14:29:53 +01:00
Родитель c636a9e348
Коммит 61bd88c38b
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -94,7 +94,8 @@ class DebianBootstrapper(BaseBootstrapper):
# "Troubleshooting Ubuntu" at
# http://developer.android.com/sdk/installing/index.html?pkg=tools.
self.run_as_root(['dpkg', '--add-architecture', 'i386'])
# self.apt_update()
# After adding a new arch, the list of packages has to be updated
self.run_as_root(['apt-get', 'update'])
self.apt_install(*self.mobile_android_packages)
# 2. The user may have an external Android SDK (in which case we save