Launching instance...
Cannot find package listed in 'build-packages': dotnet-sdk-8.0
I don’t know how to fix it. I upgraded to Ubuntu 23.10, so this package exists in its repositories and available. But somehow snapcraft does not use OS repositories?
As I understand snapcraft plugin dotnet does not support build-snaps.
When I change build-packages to build-snaps and update it like this.
build-snaps:
dotnet-sdk-8.0.100
It seems like it does not see dotnet.
Environment validation failed for part 'app': 'dotnet' not found and part 'app' does not depend on a part named 'dotnet-deps' that would satisfy the dependency.
It writes
Cannot find package listed in 'build-packages': dotnet-sdk
However if I change it to previous version
build-packages:
- dotnet-sdk-7.0
it finds it, but I will have to downgrade to previous .Net version.
According to documentation .Net 8 from Ubuntu feed is available since 23.10 (in 23.04 only .Net 7 is available) . My assumption that snapcraft uses some virtualization to build and did not update it to latest Ubuntu ?
Seems like I’m unable to check with core18.
Multipass writes that virtualization have to be enabled.
When I enable it on my Ubuntu virtual machine, VmWare says that host does not support it.
I also tried to use dump plugin with prebuilt binaries, but it also does not work. It writes that it verifies dlls and unable to recognize them. And on Windows it does not do this check and produces .snap file. But on Windows it still can’t find .net-8 as stage-packages packages…
Do you know if devs of snapcraft have bug tracker or something. If they add support for .Net 8, i’ll just wait, if not - ill be considering downgrade to .Net 7.
launch failed: KVM support is not enabled on this machine. Please ensure the following:
1. The system’s CPU supports virtualization.
2. Virtualization is enabled in the system BIOS.
3. The KVM kernel modules are loaded.
Ill try in the evening to do it on wsl-2 and write resutls. Probably inside wsl-2 it will recognize virtualization.