-
Brief description of your issuePrompts "Do you agree to all the source agreements terms" even when doing a There also needs to be a way to accept the terms via config, or parameter to avoid breaking non-interactive use. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@nascentt, there is an There is an These are listed in help for the command Link to Microsoft Docs for upgrade command: https://docs.microsoft.com/windows/package-manager/winget/upgrade One you have accepted a source agreement, you shouldn't be prompted again unless the source agreement changes. Can you confirm if you are being prompted after accepting the source level agreement? |
Beta Was this translation helpful? Give feedback.
-
EDIT: had the same argument twice 😕 It's --accept-source-agreements and --accept-package-agreements Is there a solution when the app is from ms store?
|
Beta Was this translation helpful? Give feedback.
-
winget upgrade --all --accept-source-agreements --accept-package-agreements worked for me to upgrade all installed packages |
Beta Was this translation helpful? Give feedback.
-
we need a permanent flag to accept every future package agreement. Similar to what "choco feature enable -n=allowGlobalConfirmation" does. Typing "winget upgrade --all --include-unknown --accept-source-agreements --accept-package-agreements" for a "Just do it"-prompt is brutal... |
Beta Was this translation helpful? Give feedback.
@nascentt, there is an
--accept-package-agreements
parameter for package level agreements.There is an
--accept-source-agreements
parameter for source level agreements.These are listed in help for the command
winget upgrade -?
Link to Microsoft Docs for upgrade command: https://docs.microsoft.com/windows/package-manager/winget/upgrade
One you have accepted a source agreement, you shouldn't be prompted again unless the source agreement changes.
Can you confirm if you are being prompted after accepting the source level agreement?