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

cannot install snap base "core22": persistent network error

cannot install snap base "core22": persistent network error

jawad
Long-established Member

Hi, I am installing nodejs snap application,  steps are

1) Simple nodejs application, with simple express server.

2) npm install, and then build its snap application with snapcraft --debug

3) then in virtualControl ctrlX core,  in service mode, i just install from file, uploaded successfully, after that is shows following error 

Error when installing app "jr-node-api": cannot perform the following tasks: - Ensure prerequisites for "jr-node-api" are available (cannot install snap base "core22": persistent network error: Post https://snapstore.boschrexroth.com/v2/snaps/refresh: dial tcp: lookup snapstore.boschrexroth.com: Temporary failure in name resolution)Screenshot_4.png

3 REPLIES 3

Sgilk
Contributor

From your installed apps, it looks like you are using ctrlX OS firmware v1.20 which utilizes Ubuntu core20. The app you are attempting to install uses Ubuntu core22. During the install process, the Virtual CORE then attempts to install core22 as a dependency for your app but cannot access the snap store likely due to a network configuration problem. You technically can install core22 on the core20 based firmware, but I believe there will be conflicts with other apps, as this was not the intention.

You have a couple of options...

  1. Create a new Virtual CORE with ctrlX WORKs v2.2 which will have ctrlX OS firmware v2.2 and Ubuntu core22. You should be able to install the current app here.
  2. Build your app on core20 and install in the existing Virtual CORE

Hello, 

You can also try to simple give internet connection to the core: 

1 set the current date and time 

2 connect the device to internet, in that case it would be able to provide the app autonomously. 

Hello,

well i am having the same error, can you please explain this:
connect the device to internet, in that case it would be able to provide the app autonomously. 

thank you 

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