From 540f10e2670070fccb0692052b01a02fe4d5daa1 Mon Sep 17 00:00:00 2001 From: Zhebrikov Date: Fri, 1 Dec 2023 16:55:16 +0900 Subject: [PATCH] 12345 --- install.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install.py b/install.py index 0e67e51..21992e9 100644 --- a/install.py +++ b/install.py @@ -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')