Actions
Feature #9158
openWait for apt unlocking
Start date:
07/25/2018
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
When one locks apt, there is the following exception:
2018-07-25 10:59:36 (install_deps.py:078) INFO> Update packages list 2018-07-25 10:59:36 (utils.py:044) INFO> Execute command "apt-get update" Чтение списков пакетов… E: Не удалось получить доступ к файлу блокировки /var/lib/apt/lists/lock - open (11: Ресурс временно недоступен) E: Невозможно заблокировать каталог /var/lib/apt/lists/ Traceback (most recent call last): File "/var/lib/klever/workspace/Branches-and-Tags-Processing/src/deploys/bin/deploy-local", line 27, in <module> deploys.local.main() File "/var/lib/klever/workspace/Branches-and-Tags-Processing/src/deploys/deploys/local/__init__.py", line 66, in main getattr(KleverTesting(args, logger), args.action)() File "/var/lib/klever/workspace/Branches-and-Tags-Processing/src/deploys/deploys/local/local.py", line 246, in install self._pre_install() File "/var/lib/klever/workspace/Branches-and-Tags-Processing/src/deploys/deploys/local/local.py", line 123, in _pre_install self._install_or_update_deps() File "/var/lib/klever/workspace/Branches-and-Tags-Processing/src/deploys/deploys/local/local.py", line 90, in _install_or_update_deps self.args.update_packages, self.args.update_python3_packages) File "/var/lib/klever/workspace/Branches-and-Tags-Processing/src/deploys/deploys/install_deps.py", line 79, in install_deps execute_cmd(logger, 'apt-get', 'update') File "/var/lib/klever/workspace/Branches-and-Tags-Processing/src/deploys/deploys/utils.py", line 65, in execute_cmd subprocess.check_call(args, **kwargs) File "/usr/lib/python3.5/subprocess.py", line 271, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '('apt-get', 'update')' returned non-zero exit status 100
We can silently wait for apt unlocking.
No data to display
Actions