Package not found snap error

I just build and published ros2 packages in snap repo with the hlep of github action without any error. Here is the link just for testing. But now when i install the package ‘turtlebot’ in my raspberry pi with arm64 architecture and desktop amd64 system. Both is showing same error:

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Package 'turtlebot3_navigation2' not found: "package 'turtlebot3_navigation2' not found, searching: ['/snap/turtlebot/5/opt/ros/foxy']"

Here is the snapcraft yml file:

name: turtlebot
version: '0.1'
summary: ROS2 Turtlebot3
description: |
  This example launches a ROS2 Turtlebo3.

grade: devel
confinement: strict
base: core20

architectures:
  - build-on: amd64
    run-on: [amd64, arm64]

parts:
  turtlebot:
    plugin: colcon
    source: .
    source-subdir: turtlebot3_navigation2, turtlebot3_cartographer
        build-packages: [make, gcc, g++]
        stage-packages: [ros-foxy-ros2launch]

apps:
  turtlebot3-cartographer:
    command: opt/ros/foxy/bin/ros2 launch turtlebot3_cartographer cartographer.launch.py
    plugs: [network, network-bind]
    extensions: [ros2-foxy]
  turtlebot3-navigation2:
    command: opt/ros/foxy/bin/ros2 launch turtlebot3_navigation2 navigation2.launch.py
    plugs: [network, network-bind]
    extensions: [ros2-foxy]

This seems more like a snapcraft packaging issue within your particular snap, so I moved this post to the #snapcraft category for you to hopefully get more folks’ eyes on it

@artivis any insight here?

Hi @DineshLama,
It’s difficult to troubleshoot without the actual code, is this turtlebot3_navigation2 package publicly available somewhere? My first guess would be about missing/erroneous install rules.

It happens that we also built a snap for the TurtleBot3 for ROS Melodic. You can find the snap config file here and our turtlebot3c package here in case that helps.