Skip to content

feature_request(net6): run LocalAppVeyor on Ubuntu 22 #445

@Kristinita

Description

@Kristinita

1. Summary

I can’t start using LocalAppVeyor on Ubuntu 22.04 LTS (Jammy Jellyfish).

Due to the error message, a possible reason for this — LocalAppVeyor currently not support .NET 6.

#113 — possibly similar issue.

2. Steps to reproduce

  • Part of my .travis.yml:

     before_install:
     - export PATH="$PATH:/home/travis/.dotnet/tools"
    
     # [INFO] .NET 6 is included in Ubuntu 22.04:
     # https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#2204
     install:
     # [INFO] Install the .NET SDK or the .NET Runtime on Ubuntu
     # as described on the official Microsoft technical documentation site:
     # https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#install-the-sdk
     - sudo apt-get install -y dotnet6
     - dotnet tool install -g localappveyor
    
     script:
     - LocalAppVeyor --version

3. Behavior

3.1. Desired

$ LocalAppVeyor --version

LocalAppVeyor
0.5.8 (engine: 0.5.8)

3.2. Current

  • Travis build:

     $ LocalAppVeyor --version
    
     You must install or update .NET to run this application.
    
     App: /home/travis/.dotnet/tools/LocalAppVeyor
    
     Architecture: x64
    
     Framework: 'Microsoft.NETCore.App', version '5.0.0' (x64)
    
     .NET location: /usr/lib/dotnet/dotnet6-6.0.108
    
     The following frameworks were found:
    
       6.0.8 at [/usr/lib/dotnet/dotnet6-6.0.108/shared/Microsoft.NETCore.App]
    
     Learn about framework resolution:
    
     https://aka.ms/dotnet/app-launch-failed
    
     To install missing framework, download:
    
     https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=ubuntu.22.04-x64
    
     The command "LocalAppVeyor --version" exited with 150.

Pay attention to Framework: 'Microsoft.NETCore.App', version '5.0.0' (x64) and framework_version=5.0.0.

4. Not helped

4.1. Microsoft package feed

I tried Microsoft package feed for Ubuntu 22.04:

install:
+ - wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
+ - sudo dpkg -i packages-microsoft-prod.deb
+ - rm packages-microsoft-prod.deb
  - sudo apt-get install -y dotnet6 dotnet-runtime-6.0
  - dotnet tool install -g localappveyor

Same error.

4.2. Snap

I tried to install .NET SDK via Snap:

install:
- - sudo apt-get install -y dotnet6
+ - sudo snap install dotnet-sdk --classic
+ - sudo snap alias dotnet-runtime-60.dotnet dotnet
  - dotnet tool install -g localappveyor

I get a “segmentation fault” bug:

e/travis/.travis/functions: line 109:  3145 Segmentation fault      dotnet tool install -g localappveyor

The command "dotnet tool install -g localappveyor" failed and exited with 139 during .

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions