提交 54521ae0 编写于 作者: L Lukáš Doktor

Merge pull request #892 from lmr/software-manager-apt-allow-unauthenticated

software_manager: Add --allow-unauthenticated to apt options
......@@ -648,7 +648,7 @@ class AptBackend(DpkgBackend):
"""
super(AptBackend, self).__init__()
executable = utils_path.find_command('apt-get')
self.base_command = executable + ' -y'
self.base_command = executable + ' --yes --allow-unauthenticated'
self.repo_file_path = '/etc/apt/sources.list.d/avocado.list'
cmd_result = process.run('apt-get -v | head -1',
ignore_status=True,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册