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

Applications Installed via Winget takes 45-minutes to install #3108

Closed
RobFosterNYC opened this issue Mar 26, 2023 · 7 comments
Closed

Applications Installed via Winget takes 45-minutes to install #3108

RobFosterNYC opened this issue Mar 26, 2023 · 7 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author No-Recent-Activity Issue has no recent activity
Milestone

Comments

@RobFosterNYC
Copy link

RobFosterNYC commented Mar 26, 2023

Brief description of your issue

Many applications upgraded via Winget in Microsoft Terminal takes between 30 to 45 minutes to install.
Why does it take so long.
I have taken the same application by manually downloading the update version from its original website download section,
and installed it and it only takes around 5 minutes to install.

But when I update / upgrade applications via Winget, it takes an enormous amount of time.
Very very frustrating.

Steps to reproduce

Update any application via Winget.

Expected behavior

Be installed Quickly without having to wait 45 minutes for any application to install.

Actual behavior

Applications taking an enormous amount of time to install or update is between 30 to 45 minutes.
Its extremely annoying.

Environment

Windows Package Manager v1.4.10173
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Mar 26, 2023
@Trenly
Copy link
Contributor

Trenly commented Mar 26, 2023

Can you provide any of the winget logs from performing an update?

Is the delay mostly before or after it says "Starting package install. . ."?

Have you tried changing the download settings to see if wininet or domakes a difference?

Is it with all packages, or just certain ones? It could be a CDN issue if its just certain packages.

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Triage Issue need to be triaged labels Mar 27, 2023
@stephengillie
Copy link

Hi @RobFosterNYC,

Upgrade is 3 parts:

  • Identify: A list of installed applications is gathered, and their versions compared to the public manifests, to determine if any upgrades are available. This step should take less than 30 seconds - is this taking a significant amount of time?
  • Download: Are the packages downloading in a normal amount of time? Does it take about as long to download the package through a browser as through the package manager? They use the same means so should take the same time.
  • Install: Again, this is using the same means to install package upgrades as running the upgraded package's installer, so should take about the same length of time. Are packages taking significantly longer to install?

The answers to these questions will help to identify which part of the system to focus further diagnosis.

@RobFosterNYC
Copy link
Author

RobFosterNYC commented Mar 27, 2023

Hi @Trenly and @stephengillie
Sorry for the late reply, its a work week, hectic morning and extended stupid work meetings.

Anyways, @Trenly I only have the following in the settings,
`
{
"$schema": "https://aka.ms/winget-settings.schema.json",

// For documentation on these settings, see: https://aka.ms/winget-settings
// "source": {
//    "autoUpdateIntervalInMinutes": 5
// },

}
`

I will add some settings feature from the page you linked as soon as I can, to see if something changed for the better, soon.
I didn't know you could do that. Must have blew right by me without me paying attention. Anyways thanks for this info.

@stephengillie

(1) - NO, The list comes up in around 30-seconds of it doing its thing.
(2) - 50% of the time its a bit slow when its downloading. It depends on the package.
(3) - Here is where I have to wait 30 to 45 minutes.

I have ample RAM on this particular system 32-GB and I am running NVme SSD by Samsung (990-Pro)
All my windows updated are updated. I am running Windows 10. and my internet package is the 1GB/sec package.
So its very fast isp speeds.

.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Mar 27, 2023
@iverbitskiy
Copy link

I got very the same problems. Starting from few days ago apps installation takes enormous amount of time.

@denelon denelon added this to the v.Next-Client milestone Jun 5, 2023
@Smith-Steve
Copy link

Yea, this is definitely still a problem. I was beginning to loose faith. At least it looks like it finishes... eventually.

@denelon
Copy link
Contributor

denelon commented Jul 9, 2024

If anyone is still having this problem, could you try to change the "downloader" to "wininet" in winget settings and confirm if the behavior is different?

@denelon denelon added Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Attention Issue needs attention from Microsoft labels Jul 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the No-Recent-Activity Issue has no recent activity label Jul 16, 2024
Copy link
Contributor

Hello @RobFosterNYC,

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

Template: msftbot/noRecentActivity

@microsoft-github-policy-service microsoft-github-policy-service bot removed this from the v.Next-Client milestone Jul 23, 2024
@denelon denelon added this to the 1.9 Client milestone Jul 29, 2024
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. Needs-Author-Feedback Issue needs attention from issue or PR author No-Recent-Activity Issue has no recent activity
Projects
None yet
Development

No branches or pull requests

6 participants