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

WINGET UPGRADE - Package contracts have not been agreed. Operation cancelled. #4350

Closed
Novogumiguel opened this issue Apr 5, 2024 · 6 comments
Milestone

Comments

@Novogumiguel
Copy link

Brief description of your issue

Estou tentando fazer uma atualização pelo winget em um notebook, mas fica dando esse aviso "Os contratos de pacote não foram concordados. Operação cancelada." e não encontro nada sobre na internet...

image

image

Steps to reproduce

winget update

Expected behavior

esperava atualizar o que tem disponivel

Actual behavior

da um erro com o aviso mencionado acima e cancela

Environment

Gerenciador de Pacotes do Windows v1.7.10861
Copyright (c) Microsoft Corporation. Todos os direitos reservados.

Windows: Windows.Desktop v10.0.22621.3374
Arquitetura do Sistema: X64
Pacote: Microsoft.DesktopAppInstaller v1.22.10861.0
Copy link

github-actions bot commented Apr 5, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Apr 5, 2024
@Trenly
Copy link
Contributor

Trenly commented Apr 5, 2024

@Novogumiguel - Some packages require acceptance of their terms and conditions. When using --all winget runs without interaction, so the prompts are not shown. To avoid this error, use --accept-package-agreements which will automatically accept the agreements.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Apr 5, 2024
@Novogumiguel
Copy link
Author

Deu erro de comando desconhecido primo :c

@Trenly
Copy link
Contributor

Trenly commented Apr 5, 2024

It gave an unknown command error cousin :c

Can you provide the log file?

@Novogumiguel
Copy link
Author

tentei novamente agora, devo ter digitado errado.. agora deu certo.. muito obrigado

image

image

@Trenly
Copy link
Contributor

Trenly commented Apr 5, 2024

Glad it's working!

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

3 participants