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

[Package Issue]: cannot upgrade rstudio.quarto with winget upgrade rstudio.quarto #67560

Closed
2 tasks done
eitsupi opened this issue Jul 26, 2022 · 7 comments · Fixed by #67566
Closed
2 tasks done

[Package Issue]: cannot upgrade rstudio.quarto with winget upgrade rstudio.quarto #67560

eitsupi opened this issue Jul 26, 2022 · 7 comments · Fixed by #67566
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@eitsupi
Copy link
Contributor

eitsupi commented Jul 26, 2022

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

The winget upgrade quarto command does not install the latest version of quarto.

Steps to reproduce

winget install quarto -v 1.0.36
winget upgrade quarto

Actual behavior

The winget upgrade quarto command does not install the latest version of quarto.

Expected behavior

Installing the latest version, which was listed by winget upgrade.

Environment

winget --info
Windows パッケージ マネージャー v1.2.11601
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.795
パッケージ: Microsoft.DesktopAppInstaller v1.17.11601.0

Screenshots and Logs

No response

@eitsupi eitsupi added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jul 26, 2022
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jul 26, 2022
@cderv
Copy link
Contributor

cderv commented Jul 26, 2022

Thanks for the report, I'll have a look.

@cderv
Copy link
Contributor

cderv commented Jul 26, 2022

@eitsupi is this the type of issue you are getting microsoft/winget-cli#1191 ?
What I got on my side seems related to this issue.

@eitsupi
Copy link
Contributor Author

eitsupi commented Jul 26, 2022

Perhaps it has to do with the fact that quarto is installed in the user directory during manual installation and in the system directory when installed with winget?

@Trenly
Copy link
Contributor

Trenly commented Jul 26, 2022

Can you attach the logs from running winget upgrade rstudio.quarto --verbose-logs?
Also, what is the output you get from running winget list quarto ?

@eitsupi
Copy link
Contributor Author

eitsupi commented Jul 26, 2022

Can you attach the logs from running winget upgrade rstudio.quarto --verbose-logs?
Also, what is the output you get from running winget list quarto ?

❯ winget upgrade rstudio.quarto --verbose-logs
適用可能な更新は見つかりませんでした。

❯ winget list quarto
名前   ID             バージョン 利用可能 ソース
------------------------------------------------
Quarto RStudio.quarto 1.0.36     1.0.37   winget

I used to manually install quarto in my user directory, so that could be a possible influence?

@cderv
Copy link
Contributor

cderv commented Jul 26, 2022

I get the same No applicable update found.

> winget upgrade rstudio.quarto --verbose-logs
Aucune mise à jour applicable trouvée.
> winget list quarto
Nom    ID             Version Disponible Source
-----------------------------------------------
Quarto RStudio.quarto 1.0.36  1.0.37     winget

@cderv
Copy link
Contributor

cderv commented Jul 26, 2022

The log of Winget give use more information

[CLI ] Starting installer selection.
2022-07-26 11:14:01.700 [CLI ] Installer [X64,wix,User,en-US] not applicable: Installer scope does not match currently installed scope: User != Machine

So I probably need to update the Scope key in the manisfest

cderv added a commit to cderv/winget-pkgs that referenced this issue Jul 26, 2022
@denelon denelon removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Jul 26, 2022
@ghost ghost closed this as completed in #67566 Jul 26, 2022
ghost pushed a commit that referenced this issue Jul 26, 2022
* rstudio.quarto does not need Scope option in the manifest

This prevents correct update. fix  #67560

* Only update the last version manifest
@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

4 participants