FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
08-18-2023 11:18 AM
Hello Community,
I am trying to generate a snap from this source https://git.giaever.org/joachimmg/home-assistant-snap/src/master/snap/snapcraft.yaml
As a first step, it tries to install deadsnakes-ppa package repository. But, it always encounters an issue of failed to install GPG key.
I am using Ctrlx Works V1.20.0 App development environment.
I have tried the same on Ubuntu 20.04 based Virutal Machine on Virtual Box. It works fine there. I suspect the error in Ctrlx Works V1.20.0 App development environment is because of proxy.
I have tried to set proxy for snap through these commands.
sudo snap set system proxy.http="http://10.0.2.2:3128"
sudo snap set system proxy.https="http://10.0.2.2:3128"
But, still the error persists. Have anyone encountered such issues before? Please, let me know how to fix this.
Thanks & Regards
Solved! Go to Solution.
08-23-2023 10:38 AM - edited 08-23-2023 10:39 AM
Update:
I have tried a work around of manually installing the repository and then invoking snapcraft build tool. This works and I can build the snap.
However, the real cause of the error and its solution is not yet clear.
08-23-2023 03:19 PM
Hello,
I gave a look around and seems a common problem with snapcraft. (this is also a recent feature).
https://github.com/snapcore/snapcraft/issues/4224