-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Windows Update error 0x80070643 trying to install "2021-11 .NET Core 3.1.21 Update for x64 Client (KB5007885)" #7093
Comments
This issue is also hitting me on Windows 10, tried the same workarounds but no solution. Please fix it asap. |
Tagging @rbhanda for further triage, JFYI i have transferred the other similar issue into SDK repo, maybe it was supposed to stay in this repo |
I also have this problem (.NET Core 3.1.21 for x64 KB5007885), I deleted any new version and then go this site Install (dotnet-sdk-3.1.415-win-x64_8b088c0e40d1317aa1b1b2613a3226b58012e505.exe) to solve the problem The idea is that you must install the version shown by the problem code, and delete the newer and lower versions |
i have same problem . i see on my update history . 2021-11 .NET Core 3.1.21 Update for x64 Client (KB5007885) is installed on 10-11, why does windows update install it again, i am in windows 11 insiders |
Same problem on same OS and VS (2022) configurations. I had the same issue last time, but it went away after a VS update, only to re-occur the next time Windows Update wanted to install these .Net updates. |
Same problem on a Windows 7 machine. I didn't even know I had .NET Core installed! |
Same here (Win11x64).... |
Same here Windows 10 Pro 21H1 build 19043.1415 |
same here, win 11 x64 |
I solved this problem. Uninstall manually all old versions of .NET Runtime 3.1 and install manually new version .NET Runtime 3.1 from https://dotnet.microsoft.com/en-us/download/dotnet/3.1 |
worked fine |
The link you're giving there is for the SDK, not for the core. That won't work. That said, this will not resolve the issue either. Windows will still try to apply patch 3.1.21, even though you have a newer one installed, and it will still fail. |
That statement is most likely not correct as I could fix the install error by basically uninstalling existing products and reinstalling them. The procedure is as follows:
When an installer fails, it will display the actual reason. On my side it was something along lines of |
Didnt' work. I manually downlaoded KB5007885 and KB5007884 and installed them manually and they were fine, but widnows update keeps trying to install them. |
had to uninstall all other v3 .net stuff first, then reinstalled again after a reboot, and after another reboot windows update made its thing and turned green again. |
I kicked all I found. |
I uninstalled all versions of Visual Studio.NET, and then uninstalled everything else with .NET in the name. Then I ran Windows Update, and no errors occurred. |
That's a nice idea but it doesn't actually work. I downloaded the 10 files, even the x86 ones from the Microsoft Catalog. Installed all of them. All of them succeeded. No errors. No issue to fix. Now what? |
But there's no need to install the SDK unless you need it for development, that's my point.
Also, installing version 3.1.22 did not work for me. Windows still tried to update to version 3.1.21.
Den 10. jan. 2022 02.30, fra 02.30, conioh ***@***.***> skrev:
…> > > I also have this problem (.NET Core 3.1.21 for x64 KB5007885), I
deleted any new version and then go this site
> > > Install
([dotnet-sdk-3.1.415-win-x64_8b088c0e40d1317aa1b1b2613a3226b58012e505.exe](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-3.1.415-windows-x64-installer))
to solve the problem
> > > The idea is that you must install the version shown by the
problem code, and delete the newer and lower versions
> >
> >
> > The link you're giving there is for the SDK, not for the core. That
won't work.
> > That said, this will not resolve the issue either. Windows will
still try to apply patch 3.1.21, even though you have a newer one
installed, and it will still fail.
>
> That statement is most likely not correct as I could fix the install
error by basically uninstalling existing products and reinstalling
them.
>
> The procedure is as follows:
>
> * Visit https://www.catalog.update.microsoft.com/
> * Enter the KB... number that fails on auto-update, here for example
`KB5007885`
> * Click `Download` displayed next to the search result to open a
window with all the installers associated with the KB number, one of
these installers fails on auto-update and you need to find out which
one, so ...
> * Download all installers linked in the upcoming window
> * Now try to run all these installers
>
> When an installer fails, it will display the actual reason. On my
side it was something along lines of `Another version is already
installed` hence I uninstalled the associated version followed by a
second try of running the installer ... and guess what, it installed
the product. After running all the installer successfully, update the
Windows Update dialog and hopefully, like in my case, the error is
gone.
That's a nice idea but it doesn't actually work.
I downloaded the 10 files, even the x86 ones from the Microsoft
Catalog. Installed all of them. All of them succeeded. No errors. No
issue to fix.
Now what?
![image](https://user-images.githubusercontent.com/10606081/148709141-2d022f4e-045f-4559-b83f-dd1f57c3b1d5.png)
![image](https://user-images.githubusercontent.com/10606081/148709169-21966084-f92f-4e06-b8fb-faa0479d6547.png)
![image](https://user-images.githubusercontent.com/10606081/148709328-8a88c473-1cad-485a-9658-4adfe7e538a6.png)
--
Reply to this email directly or view it on GitHub:
#7093 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Hello everyone, Thanks a lot for reporting this issue. We have a request if you could share the logs with us for this failure: • Run http://aka.ms/vscollect.exe and share the resulting vslogs.zip that is created in %temp% You can either email them to rbhanda@microsoft.com or attach them here in the comments. |
@rbhanda after an incredible amount of work I managed to make the error in Windows Update go away, but now it installs these versions of .NET SDK and Runtimes (including the Desktop runtime) non-stop. Here it is in the middle of the installation: I'm happy with runtimes 3.0.22 and 5.0.13, but someone somewhere decided that I must also be "updated" to 3.1.21 and 5.0.12. And moments late we're there, with two pointless versions of the runtimes and two SDKs I don't want on my machine. Are the same logs you requests relevant here or do you need something else for this? |
@rbhanda, I'd like to make it clear, since the message may have gotten lost, that currently I'm getting KB5007884 and KB5007885: None of this is expected according to: https://devblogs.microsoft.com/dotnet/net-core-updates-coming-to-microsoft-update/ The only thing that might compatible with that post is installing a 3/5 runtime when 6 is already installed, according to the emphasized part:
But that's a peculiar interpretation. A reasonable interpretation would be "for each X for which there's .NET X installed you'll get the latest .NET X" or "for each (X, Y) for which there's .NET X.Y installed you'll get the latest .NET X.Y" but not "if you have any supported .NET version (for example 6) you'll get 'updates' for all other supported .NET versions (for example, 3 and 5)". Not to mention the rest of the sentence - "... with outdated version of those 3 and 5 and we'll push the SDKs too!" |
Hi @conioh if you have any logs you could share it will be very helpful. I am working with the other team members who will be able to help us here. My apologies for a delayed response. |
I have emailed you both the vslog.zip and WindowsUpdate.log 7 minutes ago, hope you already have it. |
@rbhanda I have sent you both the log you were asking, do you have them now? |
Nice to have found this page!!! I too am having the same issue... |
Windows 11 (10.0.22000.194), x64, same here |
Same for me: |
Hi, i have the same issue with 2021-11 .NET Core 3.1.21 Update for x64 Client (KB5007885) -> Installationsfehler – 0x80070643. |
Hello Everyone, Thank you for reporting this issue. We have root caused it and it seems our December updates were unpublished causing previous November updates to be offered. We expect to publish a solution tomorrow morning, January 11th at 10am PST. |
Thanks in advance :-)
|
☝️Underrated solution.
|
Updating Visual Studio to current version (I'm still using VS2019, so v16.11.8) solved the .NET 5.0.12 and .NET 3.1.21 issues for me. |
I had the same issue. The Problem is that Windows Update wants to install 3.1.21 and 5.0.12 while new versions of the 3.1.x and 5.0.x core sdks where already installed by visual studio installer. You can fix this error by checking the installers that were downloaded by Windows Update in the folder C:\Windows\SoftwareDistribution\Download\Install and run them manually. They will fail but they will tell you, what went wrong by providing you with a logfile. You basically have to uninstall newer versions of the core sdks and run Windows Update again.. |
This did not work for me either, Windows Update determined that it still needed to update the already updated versions, and failed. I have now hidden the failed updates.
This issue has occured for me in at least the past one to two years with various versions of this software.
Hent BlueMail til Android
Den 11. jan. 2022 18.13, fra 18.13, "Niels Hüsken" ***@***.***> skrev:
…I had the same issue. The Problem is that Windows Update wants to
install 3.1.21 and 5.0.12 while new versions of the 3.1.x and 5.0.x
core sdks where already installed by visual studio installer.
You can fix this error by checking the installers that were downloaded
by Windows Update in the folder
C:\Windows\SoftwareDistribution\Download\Install and run them manually.
They will fail but they will tell you, what went wrong by providing you
with a logfile.
You basicaly have to uninstall newer versions of the core sdks and run
the installer manually.
--
Reply to this email directly or view it on GitHub:
#7093 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Hello, |
@rbhanda Thx Rahul - issue is fixed, all updates now installed without problems! (Win11x64) |
Description
Tried to install "update" to 3.1.21 even when I have runtime 3.1.22 installed (from the latest SDK download) or when I don't have .NET 3 at all.
I expect that update to succeed if needed, and in case I have a newer version or don't have .NET 3 at all not to get an "update" at all.
Configuration
What OS and version, and for Linux, what distro?
Windows 11 build 22000.376
What is the architecture (x64, x86, ARM, ARM64)?
x64
Do you know whether it is specific to that configuration?
No.
Regression?
Absolutely.
Other information
The error code is similar to the one mentioned in #7044 but:
The text was updated successfully, but these errors were encountered: