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]: GNU.Emacs does not register as installed after successful installation #133066

Closed
2 tasks done
xgqt opened this issue Jan 7, 2024 · 3 comments
Closed
2 tasks done
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@xgqt
Copy link

xgqt commented Jan 7, 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

GNU.Emacs does not register as installed after successful installation.

This is a dusplicate of resolved issue #88443 (comment) but the issue was not fixed. If this package is still left broken I think it would be better to delete it.

Steps to reproduce

winget install --source winget --verbose GNU.Emacs
winget list

Actual behavior

GNU.Emacs is not on the list.
Because of this then a installation is requested GNU.Emacs will be always reinstalled.

Expected behavior

GNU.Emacs registers in the system as installed application.

Environment

-> winget --info
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.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

Screenshots and Logs

None

@xgqt xgqt added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jan 7, 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 Jan 7, 2024
@xgqt
Copy link
Author

xgqt commented Jan 8, 2024

We could work around this by explicitly adding some record that GNU Emacs was installed always after the provided installers succeeds but I do not know winget and do not know if this is possible now. WDYT?

@microsoft microsoft deleted a comment from github-actions bot Jan 8, 2024
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 8, 2024
@stephengillie
Copy link
Collaborator

Since #136062 is merged, I'll assume this is complete. If this is in error, please @ me and I'll reopen.

@neerolyte
Copy link

neerolyte commented Sep 14, 2024

@stephengillie The reported issue still occurs on 29.4:

PS C:\> winget install GNU.Emacs
Found GNU Emacs [GNU.Emacs] Version 29.4
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://ftp.gnu.org/gnu/emacs/windows/emacs-29/emacs-29.4-installer.exe
  ██████████████████████████████  69.5 MB / 69.5 MB
Successfully verified installer hash
Starting package install...
Successfully installed
PS C:\> winget list | select-string emacs
PS C:\> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

3 participants