Skip to content

Problem trying to install dotnet on armv7l using snap #5400

Description

@GlenCooper

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: linux

20201020T165254Z: mrbtc@i420nod:~/Apps/DotNET$ sudo snap install dotnet-sdk --classic
[sudo] password for mrbtc: 
sudo: snap: command not found
20201020T165303Z: mrbtc@i420nod:~/Apps/DotNET$ sudo apt update
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:2 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease                            
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal InRelease                                        
Hit:4 http://ppa.launchpad.net/lightningnetwork/ppa/ubuntu focal InRelease
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [111 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [98.3 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [107 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Sources [313 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en [155 kB]
Fetched 785 kB in 3s (235 kB/s)                              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
20201020T165320Z: mrbtc@i420nod:~/Apps/DotNET$ sudo apt install snapd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  apparmor libfuse2 liblzo2-2 squashfs-tools
Suggested packages:
  apparmor-profiles-extra apparmor-utils fuse zenity | kdialog
The following NEW packages will be installed:
  apparmor libfuse2 liblzo2-2 snapd squashfs-tools
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.5 MB of archives.
After this operation, 83.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/main armhf apparmor armhf 2.13.3-7ubuntu5.1 [426 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal/main armhf libfuse2 armhf 2.9.9-3 [71.9 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal/main armhf liblzo2-2 armhf 2.10-2 [44.4 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal/main armhf squashfs-tools armhf 1:4.4-1 [113 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main armhf snapd armhf 2.46.1+20.04 [19.9 MB]
Fetched 20.5 MB in 3s (7,249 kB/s)
Preconfiguring packages ...
Selecting previously unselected package apparmor.
(Reading database ... 57089 files and directories currently installed.)
Preparing to unpack .../apparmor_2.13.3-7ubuntu5.1_armhf.deb ...
Unpacking apparmor (2.13.3-7ubuntu5.1) ...
Selecting previously unselected package libfuse2:armhf.
Preparing to unpack .../libfuse2_2.9.9-3_armhf.deb ...
Unpacking libfuse2:armhf (2.9.9-3) ...
Selecting previously unselected package liblzo2-2:armhf.
Preparing to unpack .../liblzo2-2_2.10-2_armhf.deb ...
Unpacking liblzo2-2:armhf (2.10-2) ...
Selecting previously unselected package squashfs-tools.
Preparing to unpack .../squashfs-tools_1%3a4.4-1_armhf.deb ...
Unpacking squashfs-tools (1:4.4-1) ...
Selecting previously unselected package snapd.
Preparing to unpack .../snapd_2.46.1+20.04_armhf.deb ...
Unpacking snapd (2.46.1+20.04) ...
Setting up liblzo2-2:armhf (2.10-2) ...
Setting up libfuse2:armhf (2.9.9-3) ...
Setting up apparmor (2.13.3-7ubuntu5.1) ...
Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service → /lib/systemd/system/apparmor.service.
Setting up squashfs-tools (1:4.4-1) ...
Setting up snapd (2.46.1+20.04) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.apparmor.service → /lib/systemd/system/snapd.apparmor.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.autoimport.service → /lib/systemd/system/snapd.autoimport.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.core-fixup.service → /lib/systemd/system/snapd.core-fixup.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.recovery-chooser-trigger.service → /lib/systemd/system/snapd.recovery-chooser-trigger.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.seeded.service → /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/cloud-final.service.wants/snapd.seeded.service → /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /lib/systemd/system/snapd.service.
Created symlink /etc/systemd/system/timers.target.wants/snapd.snap-repair.timer → /lib/systemd/system/snapd.snap-repair.timer.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /lib/systemd/system/snapd.socket.
Created symlink /etc/systemd/system/final.target.wants/snapd.system-shutdown.service → /lib/systemd/system/snapd.system-shutdown.service.
snapd.failure.service is a disabled or a static unit, not starting it.
snapd.snap-repair.service is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
Processing triggers for systemd (245.4-4ubuntu3.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
20201020T165421Z: mrbtc@i420nod:~/Apps/DotNET$ dotnet
-bash: dotnet: command not found
20201020T165452Z: mrbtc@i420nod:~/Apps/DotNET$ sudo snap install dotnet-sdk --classic
error: snap "dotnet-sdk" is not available on stable but is available to install on the following
       channels:

       edge       snap install --edge dotnet-sdk

       Please be mindful pre-release channels may include features not completely tested or
       implemented. Get more information with 'snap info dotnet-sdk'.
20201020T165501Z: mrbtc@i420nod:~/Apps/DotNET$ sudo snap install --edge dotnet-sdk --classic
2020-10-20T16:56:06Z INFO Waiting for automatic snapd restart...
dotnet-sdk (edge) 5.0.100-preview.3.20216.6 from Microsoft .NET Core (dotnetcore✓) installed
20201020T165642Z: mrbtc@i420ndotnet
/snap/dotnet-sdk/81/snap/command-chain/snapcraft-runner: 3: exec: /snap/dotnet-sdk/81/dotnet: not found
20201020T165647Z: mrbtc@i420nod:~/Apps/DotNET$ dotnet
/snap/dotnet-sdk/81/snap/command-chain/snapcraft-runner: 3: exec: /snap/dotnet-sdk/81/dotnet: not found
20201020T165651Z: mrbtc@i420nod:~/Apps/DotNET$ 

20201020T165651Z: mrbtc@i420nod:~/Apps/DotNET$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal
20201020T165846Z: mrbtc@i420nod:~/Apps/DotNET$ uname -a
Linux i420nod 4.14.111-139 #1 SMP PREEMPT Tue Apr 16 17:31:00 UTC 2019 armv7l armv7l armv7l GNU/Linux
20201020T165849Z: mrbtc@i420nod:~/Apps/DotNET$ 

I'm giving up. I'm tired. Any suggestions here would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions