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

Agreements in Dependency terminates immediately #4233

Closed
Trenly opened this issue Mar 6, 2024 · 0 comments · Fixed by #4594
Closed

Agreements in Dependency terminates immediately #4233

Trenly opened this issue Mar 6, 2024 · 0 comments · Fixed by #4594
Labels
Dependencies Related to package level dependencies Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@Trenly
Copy link
Contributor

Trenly commented Mar 6, 2024

Brief description of your issue

When installing a package, one of it's dependencies may have an agreement which must be viewed and agreed to. When --accept-package-agreements is not specified, the context will terminate immediately even if interactivity is not disabled

Steps to reproduce

winget install Microsoft.ServiceFabricSDK

Expected behavior

The boolean prompt to be shown asking whether or not the user agrees to the shown agreements

Actual behavior

The prompt is currently not shown and the context terminates

WinGet-2024-03-06-09-17-52.790.log

Found Microsoft Azure Service Fabric SDK [Microsoft.ServiceFabricSDK] Version 7.0.1949.9590
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
      Microsoft.VCRedist.2015+.x64
      Microsoft.ServiceFabricRuntime
Agreements for Microsoft Azure Service Fabric [Microsoft.ServiceFabricRuntime] Version 10.0.1949.9590
Version: 10.0.1949.9590
Publisher: Microsoft Corporation
Publisher Url: https://github.com/microsoft/service-fabric
Publisher Support Url: https://github.com/microsoft/service-fabric/issues
Author: Microsoft Corporation
Homepage: https://github.com/microsoft/service-fabric
License: MIT License
License Url: https://github.com/microsoft/service-fabric/blob/master/LICENSE
Copyright: Copyright (c) Microsoft Corporation. All rights reserved.
Copyright Url: https://github.com/microsoft/service-fabric/blob/master/LICENSE
Agreements:
  End User License Agreement (EULA): https://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm

Package agreements were not agreed to. Operation cancelled.

Environment

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget --info
Windows Package Manager v1.7.10582
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19041.4046
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10582.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Enabled
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Mar 6, 2024
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Dependencies Related to package level dependencies and removed Needs-Triage Issue need to be triaged labels Mar 6, 2024
@denelon denelon added this to the 1.8 Client milestone Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Related to package level dependencies Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants