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

Workload instalation doesn't respect rollback file #27402

Open
rmarinho opened this issue Aug 24, 2022 · 4 comments
Open

Workload instalation doesn't respect rollback file #27402

rmarinho opened this issue Aug 24, 2022 · 4 comments

Comments

@rmarinho
Copy link
Member

rmarinho commented Aug 24, 2022

Describe the bug

I was trying to reinstall some workloads using a rollback file. I had other workload install (tizen) that wasn't specified on the rollback file but it was still trying to install it, since theres no msi for it it was failing to install all the workloads.

To Reproduce

  • Install tizen workload
  • Try then updated workloads using maui rollback file
dotnet workload install maui `
>>   --from-rollback-file https://aka.ms/dotnet/maui/net6.0.json `
>>   --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-6bb76b3f/nuget/v3/index.json `
>>   --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-1026ad55/nuget/v3/index.json `
>>   --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json `
>>   --source https://api.nuget.org/v3/index.json `
>>   --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-531f715f/nuget/v3/index.json `
>>   --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-3f6c45a2/nuget/v3/index.json --skip-sign-check --verbosity diagnostic

Exceptions (if any)

Workload installation failed: One or more errors occurred. (samsung.tizen.sdk.msi.x64::7.0.400-preview.2.6 is not found in NuGet feeds https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-6bb76b3f/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-1026ad55/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json;https://api.nuget.org/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-531f715f/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-3f6c45a2/nuget/v3/index.json".)

https://gist.github.com/rmarinho/7566a727676c9f1a464f79153786095e

Further technical details

  • VS 17.3.2
PS C:\Users\rumar> dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.400
 Commit:    7771abd614

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22000
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\PROGRAM FILES\DOTNET\sdk\6.0.400\

global.json file:
  Not found

Host:
  Version:      6.0.8
  Architecture: x64
  Commit:       55fb7ef977

.NET SDKs installed:
  6.0.400 [C:\PROGRAM FILES\DOTNET\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.8 [C:\PROGRAM FILES\DOTNET\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.8 [C:\PROGRAM FILES\DOTNET\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.8 [C:\PROGRAM FILES\DOTNET\shared\Microsoft.WindowsDesktop.App]
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Aug 24, 2022
@joeloff
Copy link
Member

joeloff commented Aug 24, 2022

How did Tizen get installed in the first place? If you're using a global install and copying the workload/manifests into Program files, it's going to get picked up by workload commands. Can you sent me the installation logs for workloads? There may be more detailed information. They should be in your %temp% folder.

@rmarinho
Copy link
Member Author

It was installed using these steps here . But should the installation respect the rollback file ?

@marcpopMSFT
Copy link
Member

@Redth to provide support for tizen.

@marcpopMSFT marcpopMSFT added this to the Discussion milestone Aug 31, 2022
@marcpopMSFT marcpopMSFT removed the untriaged Request triage from a team member label Oct 12, 2022
@marcpopMSFT
Copy link
Member

Is this still and issue or can it be closed? CC @Redth

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

No branches or pull requests

3 participants