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]: GitExtensionsTeam.GitExtensions #153130

Open
2 tasks done
NN--- opened this issue May 11, 2024 · 3 comments
Open
2 tasks done

[Package Issue]: GitExtensionsTeam.GitExtensions #153130

NN--- opened this issue May 11, 2024 · 3 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@NN---
Copy link

NN--- commented May 11, 2024

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

Cannot install GitExtensions when Microsoft.Git package is installed.
GitExtensions is dependent on Git.Git which cannot be installed if Microsoft.Git present.

Steps to reproduce

winget install Microsoft.Git
winget install GitExtensionsTeam.GitExtensions

Actual behavior

Cannot install

Expected behavior

Installing everything successfully

Environment

Windows Package Manager (Preview) v1.8.924-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3527
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.924.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                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Screenshots and Logs

Found Git Extensions [GitExtensionsTeam.GitExtensions] Version 4.2.1
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.DotNet.DesktopRuntime.6 [>= 6.0.9]
      Git.Git
(1/1) Found Git [Git.Git] Version 2.45.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
Installer failed with exit code: 1
@NN--- NN--- added the Issue-Bug It either shouldn't be doing this or needs an investigation. label May 11, 2024
@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 11, 2024
@Trenly
Copy link
Contributor

Trenly commented May 11, 2024

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage This work item needs to be triaged by a member of the core team. label May 11, 2024
@YehezkelShB
Copy link
Member

Give #175501, I'd expect that today this isn't an issue anymore as winget detects Git.Git as installed when Microsoft.Git is installed. Of course, if the other bug is fixed, this will become a problem again

@YehezkelShB
Copy link
Member

I'm not sure why microsoft/winget-cli#3007 is a blocker. It might give a clearer error message, but won't solve the issue here as much as I can see. The solution to this issue seems to be to have GitExtensionsTeam.GitExtensions declaring Microsoft.Git as an alternative dependency instead of Git.Git, or if Microsoft.Git can declare that it is an alternative to Git.Git (which might be part of what Negative Dependencies will implement eventually but it isn't mentioned there right now)

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

3 participants