Skip to content

"Failed in attempting to update the source: winget" when using "update" command as non-admin user #4385

Open

Description

@KKire

Brief description of your issue

When using the command winget update as a non-admin terminal I get the error message "Failed in attempting to update the source: winget". This does not happens if I use the same command elevated.

I'm not 100% sure, but this started happening after upgrading to Windows 11. On Windows 10 I did not had this issue and previously I had the exact same issue on clean installation of Windows 11.

image

Steps to reproduce

Type winget update as non-admin privileges

Expected behavior

winget updating the source "winget"

Actual behavior

winget fails to update source winget"

Environment

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

Windows: Windows.Desktop v10.0.22631.3447
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10861.0

Activity

  1. github-actions commented on Apr 17, 2024

    @github-actions

    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!

    Open similar issues:

    Closed similar issues:

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

  2. added
    Issue-Bug
    Command-Upgrade
    and removed
    Needs-Triage
    on Apr 17, 2024
  3. KKire commented on Oct 3, 2024

    @KKire
    Author

    Issue still occurs but now provider error 0x80070005 : unknown error

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UpgradeIssue-Bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions