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]: YuzuEmu.Yuzu.Mainline #106171

Closed
2 tasks done
Clockwork-Muse opened this issue May 7, 2023 · 2 comments
Closed
2 tasks done

[Package Issue]: YuzuEmu.Yuzu.Mainline #106171

Clockwork-Muse opened this issue May 7, 2023 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@Clockwork-Muse
Copy link

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 yuzu package is in a further subdirectory, and does not match the PATH entry (preventing command-line use)

Steps to reproduce

winget install YuzuEmu.Yuzu.Mainline

Actual behavior

The package installs, and creates an entry in PATH pointing to C:\Users\<username>\AppData\Local\Microsoft\WinGet\Packages\YuzuEmu.Yuzu.Mainline_Microsoft.Winget.Source_<some hash>, but the actual installed files/binary are in a further subdirectory yuzu-windows-msvc. The subdirectory is the direct contents of the release archive.

The subfolder is present in releases back to 1409, which is the original version packaged, so this issue is likely present for all historical packages.

Expected behavior

The package install directory is the directory of the entry in PATH.

Environment

Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1555
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

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


### Screenshots and Logs

2023-05-07 14:39:10.688 [CORE] WinGet, version [1.4.10173], activity [{6C41FF97-E8D2-4BEF-ADC1-F7F10819A2B7}]
2023-05-07 14:39:10.688 [CORE] OS: Windows.Desktop v10.0.22621.1555
2023-05-07 14:39:10.688 [CORE] Command line Args: winget install YuzuEmu.Yuzu.Mainline
2023-05-07 14:39:10.688 [CORE] Package: Microsoft.DesktopAppInstaller v1.19.10173.0
2023-05-07 14:39:10.688 [CORE] IsCOMCall:0; Caller: winget-cli
2023-05-07 14:39:10.690 [CLI ] WinGet invoked with arguments: 'install' 'YuzuEmu.Yuzu.Mainline'
2023-05-07 14:39:10.690 [CLI ] Found subcommand: install
2023-05-07 14:39:10.690 [CLI ] Leaf command to execute: root:install
2023-05-07 14:39:10.692 [CLI ] Executing command: install
2023-05-07 14:39:10.697 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2023-05-07 14:39:10.697 [REPO] Default source requested, multiple sources available, adding all to source references.
2023-05-07 14:39:10.697 [REPO] Adding to source references msstore
2023-05-07 14:39:10.697 [REPO] Adding to source references winget
2023-05-07 14:39:10.697 [REPO] Multiple sources available, creating aggregated source.
2023-05-07 14:39:10.697 [REPO] Adding to aggregated source: msstore
2023-05-07 14:39:10.697 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-05-07 14:39:10.757 [REPO] Response status: 200
2023-05-07 14:39:10.757 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-05-07 14:39:10.767 [REPO] Response status: 200
2023-05-07 14:39:10.767 [REPO] Adding to aggregated source: winget
2023-05-07 14:39:10.772 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-05-07 14:39:10.772 [CORE] Found matching extension.
2023-05-07 14:39:10.786 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.507.2127.68_neutral__8wekyb3d8bbwe\Public\index.db'
2023-05-07 14:39:10.786 [SQL ] Opening SQLite connection #1: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.507.2127.68_neutral__8wekyb3d8bbwe\Public\index.db' [1, 40]
2023-05-07 14:39:10.787 [REPO] Opened SQLite Index with version [1.6], last write [2023-05-07 13:26:42.000]
2023-05-07 14:39:11.065 [REPO] Creating PredefinedInstalledSource with filter [None]
2023-05-07 14:39:11.065 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2023-05-07 14:39:11.065 [SQL ] Opening SQLite connection #2: ':memory:' [6, 0]
2023-05-07 14:39:11.092 [REPO] Reading MSI UpgradeCodes
2023-05-07 14:39:11.097 [REPO] Examining ARP entries for Machine | X64
2023-05-07 14:39:11.110 [REPO] Examining ARP entries for Machine | X86
2023-05-07 14:39:11.125 [REPO] Reading MSI UpgradeCodes
2023-05-07 14:39:11.130 [REPO] Examining ARP entries for User | X64
2023-05-07 14:39:11.440 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users<username>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2023-05-07 14:39:11.440 [SQL ] Opening SQLite connection #3: 'C:\Users<username>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2023-05-07 14:39:11.441 [REPO] Opened SQLite Index with version [1.3], last write [2023-03-15 17:30:32.000]
2023-05-07 14:39:11.466 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2023-05-07 14:39:11.477 [REPO] Response status: 200
2023-05-07 14:39:11.480 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users<username>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-05-07 14:39:11.480 [SQL ] Opening SQLite connection #4: 'C:\Users<username>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-05-07 14:39:11.480 [REPO] Opened SQLite Index with version [1.3], last write [2023-05-07 14:36:36.000]
2023-05-07 14:39:11.655 [CLI ] Found one app. App id: YuzuEmu.Yuzu.Mainline App name: Yuzu Mainline
2023-05-07 14:39:11.657 [REPO] Downloading manifest
2023-05-07 14:39:11.657 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/y/YuzuEmu/Yuzu/Mainline/1420/c74e-YuzuEmu.Yuzu.Mainline.yaml
2023-05-07 14:39:11.666 [CORE] Download hash: 60229c22d4fe12bc52c172d7f695c0268d33eb3239d2da9b606a887c92336588
2023-05-07 14:39:11.666 [CORE] Download completed.
2023-05-07 14:39:11.667 [CLI ] Starting installer selection.
2023-05-07 14:39:11.667 [CLI ] Completed installer selection.
2023-05-07 14:39:11.667 [CLI ] Manifest fields: Name [Yuzu Mainline], Version [1420]
2023-05-07 14:39:11.673 [CLI ] Generated temp download path: C:\Users<username>\AppData\Local\Temp\WinGet\YuzuEmu.Yuzu.Mainline.1420\c386816246b0b356c26b4a17e99a9aad266125247bbbde87fe28a22800f23c5a
2023-05-07 14:39:11.674 [CORE] Downloading to path: C:\Users<username>\AppData\Local\Temp\WinGet\YuzuEmu.Yuzu.Mainline.1420\c386816246b0b356c26b4a17e99a9aad266125247bbbde87fe28a22800f23c5a
2023-05-07 14:39:11.674 [CORE] DeliveryOptimization downloading from url: https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-1420/yuzu-windows-msvc-20230504-2506594c5.zip
2023-05-07 14:39:19.287 [CORE] Download completed.
2023-05-07 14:39:19.476 [CORE] Started applying motw to C:\Users<username>\AppData\Local\Temp\WinGet\YuzuEmu.Yuzu.Mainline.1420\c386816246b0b356c26b4a17e99a9aad266125247bbbde87fe28a22800f23c5a with zone: 3
2023-05-07 14:39:19.477 [CORE] Finished applying motw
2023-05-07 14:39:19.477 [CLI ] Installer hash verified
2023-05-07 14:39:19.478 [CORE] Started applying motw to C:\Users<username>\AppData\Local\Temp\WinGet\YuzuEmu.Yuzu.Mainline.1420\c386816246b0b356c26b4a17e99a9aad266125247bbbde87fe28a22800f23c5a with zone: 2
2023-05-07 14:39:19.479 [CORE] Finished applying motw
2023-05-07 14:39:19.479 [CLI ] Successfully renamed downloaded installer. Path: C:\Users<username>\AppData\Local\Temp\WinGet\YuzuEmu.Yuzu.Mainline.1420\yuzu-windows-msvc-20230504-2506594c5.zip
2023-05-07 14:39:19.479 [CLI ] Extracting archive to: C:\Users<username>\AppData\Local\Temp\WinGet\YuzuEmu.Yuzu.Mainline.1420\extracted
2023-05-07 14:39:26.510 [CLI ] Successfully extracted archive
2023-05-07 14:39:26.513 [CORE] Moving directory to: C:\Users<username>\AppData\Local\Microsoft\WinGet\Packages\YuzuEmu.Yuzu.Mainline_Microsoft.Winget.Source_8wekyb3d8bbwe\yuzu-windows-msvc
2023-05-07 14:39:26.515 [CORE] Portable install executed in user mode. Adding package directory to PATH.
2023-05-07 14:39:26.515 [CLI ] Target directory already exists in PATH registry: C:\Users<username>\AppData\Local\Microsoft\WinGet\Packages\YuzuEmu.Yuzu.Mainline_Microsoft.Winget.Source_8wekyb3d8bbwe
2023-05-07 14:39:26.519 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users<username>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-05-07 14:39:26.519 [SQL ] Opening SQLite connection #5: 'C:\Users<username>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-05-07 14:39:26.519 [REPO] Opened SQLite Index with version [1.3], last write [2023-05-07 14:36:36.000]
2023-05-07 14:39:26.544 [CLI ] Removing installer: C:\Users<username>\AppData\Local\Temp\WinGet\YuzuEmu.Yuzu.Mainline.1420\extracted
2023-05-07 14:39:26.544 [CLI ] Leaf command succeeded: root:install

@Clockwork-Muse Clockwork-Muse added the Issue-Bug It either shouldn't be doing this or needs an investigation. label May 7, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label May 7, 2023
@Trenly
Copy link
Contributor

Trenly commented May 7, 2023

Does this occurr when using the latest preview release of winget (v1.5.1081-preview)?

There was a known CLI issue that should be patched in the preview -

@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label May 8, 2023
@Clockwork-Muse
Copy link
Author

Yes, this seems to be (likely - yuzu won't start in the VM) fixed with the preview version.

@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
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

No branches or pull requests

4 participants