This commit is contained in:
parent 36c2c3085e
commit 540f10e267
1 changed files with 11 additions and 0 deletions

View File

@ -87,6 +87,15 @@ def main():
#
#добавим в список дистрибутивов новый дебиановкий репозиторий
execute_command('echo -e "\ndeb [trusted=yes] https://mirror.yandex.ru/debian/ buster main contrib non-free" >> /etc/apt/sources.list')
execute_command('gpg --keyserver keyserver.ubuntu.com --recv-key 648ACFD622F3D138')
execute_command('gpg -a --export 648ACFD622F3D138 | sudo apt-key add - ')
execute_command('gpg --keyserver keyserver.ubuntu.com --recv-key 0E98404D386FA1D9')
execute_command('gpg -a --export 0E98404D386FA1D9 | sudo apt-key add - ')
execute_command('gpg --keyserver keyserver.ubuntu.com --recv-key DCC9EFBF77E11517')
execute_command('gpg -a --export DCC9EFBF77E11517 | sudo apt-key add - ')
#обновим списки пакетов
execute_command('apt update')
@ -96,6 +105,8 @@ def main():
#теперь установим snap
execute_command('apt install snapd')
execute_command('sudo ln -s /var/lib/snapd/snap /snap')
#следом установим snap-store
execute_command('snap install snap-store')