Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kristinita opened this issue Aug 29, 2022 · 0 comments
Open

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

Kristinita opened this issue Aug 29, 2022 · 0 comments

Comments

@Kristinita
Copy link
Contributor

Kristinita commented Aug 29, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant