Dear Community User! We are updating our platform to a new system.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

No connection to snap store

No connection to snap store

SimonG
Member

initial situation: 

Wrote a app in go like in the sdk sample-go on WSL Ubuntu 18.04 with VS Code.

It was running fine.

 

We have made an update to Ubuntu Core 20. 

I wanted to install the same go-app after the update, but then this message appears.

SimonG_7-1651237856248.png

I decide to setup a WSL Ubuntu 20.04.4 LTS.

 

While build the go snap I got: 

/usr/bin/bash: snapcraft: command not found
/usr/bin/bash: snapcraft: command not found
Der Terminalprozess "/usr/bin/bash '-c', 'snapcraft --target-arch='arm64';snapcraft clean'" konnte nicht gestartet werden (Exitcode: 127).

 

Thought that something happend while I setup the Ubuntu 20.04.4 LTS on WSL.

I start to setup again with:

sudo apt update

sudo apt upgrade

sudo apt install ssh zip unzip git curl cifs-utils apt-transport-https ca-certificates openssh-client

sudo apt install crossbuild-essential-arm64 cmake snapcraft gcc gdb

Then this message appears.

 

SimonG_6-1651237283266.png

Connection to the internet is fine. 

SimonG_3-1651236707633.png

Firewall is also inactive

SimonG_1-1651236642730.png

SimonG_2-1651236652307.png

 

what else can it be?

 

 

1 REPLY 1

nickH
Community Moderator
Community Moderator

Hi, 

the error you got from the ctrlX CORE, shows that you tried to install an app you build for base: core18 at a ctrlX CORE (V1.12 or newer) with core20 as its system app. 

So you have to build your app for base: core20 (e.g. snapcraft.yaml of a sample in the SDK). To do that you need a App Build Environment which is a Ubuntu 20.04 Linux operating system with a special set of software packages and certain settings.

There are different ways to setup such a development environment. See this documentation on the different possibilities and how to setup one. Recommended is to setup the build in App Build Environment of ctrlX WORKS (V1.14). But you could also set up an App Build Environment manually using qemu (see this Video). 

WSL2 is not one of the possibilities, because it isn't an ideal environment for working with Snapcraft. See more here

 

Best regards, 

Nick

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist