Error if .net frameworks included

Error if .net frameworks included

Postby p0p0v » 13.08.2018, 19:33

Hi
If i check in generator "include C++ runtime & .net frameworks"
i get :

Code: Select all
--2018-08-13 21:22:35--  http://download.microsoft.com/download/b/9/5/b95136c0-58a0-48df-821a-d05319a86852/enu_NETFX/amd64_ndp472-kb4054530-x86-x64-allos-deu_exe/ndp472-kb4054530-x
86-x64-allos-deu.exe
Reusing existing connection to download.microsoft.com:80.
HTTP request sent, awaiting response... 304 Not Modified
File '../client/dotnet/ndp472-kb4054530-x86-x64-allos-deu.exe' not modified on server. Omitting download.


ERROR: Download failure for w63-x64 glb.

Note: To better help understanding this error, you can select and copy the last messages from this window using the context menu (right mouse click in the window).
Для продолжения нажмите любую клавишу . . .


if i uncheck this - everything is OK.
p0p0v
 
Posts: 3
Joined: 13.08.2018, 19:26

Re: Error if .net frameworks included

Postby Dalai » 13.08.2018, 20:11

Please post the contents of wsusoffline\log\download.log - the last download run should be enough. If the file is too large to post it, please upload it somewhere and post a link to it (IIRC attachments are not supported in this forum).

Regards
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00

Re: Error if .net frameworks included

Postby p0p0v » 13.08.2018, 22:01

Thank you,

I run another time:

Code: Select all
--2018-08-13 23:51:34--  http://download.microsoft.com/download/b/9/5/b95136c0-58a0-48df-821a-d05319a86852/enu_NETFX/amd64_ndp472-kb4054530-x86-x64-allos-deu_exe/ndp472-kb4054530-x
86-x64-allos-deu.exe
Reusing existing connection to download.microsoft.com:80.
HTTP request sent, awaiting response... 304 Not Modified
File '../client/dotnet/ndp472-kb4054530-x86-x64-allos-deu.exe' not modified on server. Omitting download.


ERROR: Download failure for w61 glb.


log:
Code: Select all

13.08.2018 23:50:10,92 - Info: Starting WSUS Offline Update download (v. 11.4) for w61 glb
13.08.2018 23:50:11,16 - Info: Option /includedotnet detected
13.08.2018 23:50:11,57 - Info: Option /verify detected
13.08.2018 23:50:11,86 - Info: Option /exitonerror detected
13.08.2018 23:50:12,39 - Info: Set time zone to LOC-3:00
13.08.2018 23:50:13,78 - Info: Preserved custom language and architecture additions and removals
13.08.2018 23:50:18,67 - Info: Updated static and exclude definitions for download and update
13.08.2018 23:50:19,05 - Info: Restored custom language and architecture additions and removals
13.08.2018 23:50:19,57 - Info: Downloaded/validated mkisofs tool
13.08.2018 23:50:19,82 - Info: Verified integrity of Windows Update catalog file
13.08.2018 23:50:44,52 - Info: Downloaded/validated most recent Windows Update catalog file
13.08.2018 23:51:26,35 - Info: Verified digital file signature of Windows Update catalog file
13.08.2018 23:51:33,56 - Info: Created integrity database for Windows Update catalog file
13.08.2018 23:51:33,94 - Warning: Integrity database ..\client\md\hashes-dotnet.txt not found
13.08.2018 23:51:34,94 - Error: Download failure for w61 glb


how i can get or generate hashes-dotnet.txt ?
p0p0v
 
Posts: 3
Joined: 13.08.2018, 19:26

Re: Error if .net frameworks included

Postby p0p0v » 13.08.2018, 22:39

Thank you for help
seach on forum by phrase "hashes-dotnet.txt" doesnt work (
but google found another topic with same problem wich was solved:

viewtopic.php?f=3&t=8217#p26321
p0p0v
 
Posts: 3
Joined: 13.08.2018, 19:26

Re: Error if .net frameworks included

Postby Dalai » 13.08.2018, 22:40

Thanks. The file hashes-dotnet.txt will be generate the next time WSUS Offline downloads everything successfully. Unfortunately the download.log doesn't contain anything useful relating to the error. Please take a look at the CMD window opened by WSUS Offline, scroll around in it and try to find the error (most probably by wget). Something like error 404 or 503 or something like that - I know it's not easy if you don't know what you're looking for. If you don't feel confident enough to find it yourself, copy the full contents (not just the last portion) of the CMD window and post it here. (And yes, I know it's tedious to copy large portions from a CMD window, I've done it quite often over the years.)

Regards
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00

Re: Error if .net frameworks included

Postby Dalai » 13.08.2018, 22:44

p0p0v wrote:but google found another topic with same problem wich was solved:

viewtopic.php?f=3&t=8217#p26321

Yes, but the issue there is long solved, the admin updated static lists weeks ago. Meaning that it shouldn't be responsible for the error you're experiencing. However, it doesn't hurt to check the URLs in the static list files of your WSUS Offline repository (see wsusoffline\static\StaticDownloadLinks-dotnet.txt).

Regards
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00

Re: Error if .net frameworks included

Postby hbuhrmester » 14.08.2018, 06:47

Please also check the file modification date of the file wsusoffline\static\StaticDownloadLinks-dotnet.txt. The file was updated on the server about four weeks ago, and it should be automatically downloaded by WSUS Offline Update.

http://trac.wsusoffline.net/trac.fcgi/b ... dotnet.txt


But in rare cases, the update of the static download definitions may fail. The pattern seems to include:

  • New users with a fresh installation of WSUS Offline Update.

  • The archive wsusoffline114.zip was unpacked with the Windows utility "Zip compressed folders".

    Apparently, this utility does not preserve the file modification dates of the extracted files. Then the local file may appear to be newer than the update on the server. Since wget uses timestamping for all downloads, it will not fetch the update.

  • Unpacking the archive wsusoffline114.zip with WinRAR or the free 7-Zip may solve this problem.


We once had this problem with the download of the Sysinternals utilities Autologon, Sigcheck and Streams: The URLs were changed, but reverted back after just two weeks. The static download file StaticDownloadLinks-sysinternals.txt was changed accordingly, but in some cases, the patches were not applied. Then the download of the utilities failed with an Error 404 Not Found.

There are two logfiles, which show this pattern:

First the update of the file StaticDownloadLinks-sysinternals.txt was skipped with the message:

Code: Select all
Server file no newer than local file `../static/StaticDownloadLinks-sysinternals.txt' -- not retrieving.


Then the download of all three utilities Autologon, Sigcheck and Streams failed with an Error 404 Not Found.

viewtopic.php?f=3&t=5439
viewtopic.php?f=3&t=5440


One user solved this problem with:

not sure what the issue was
installed winrar, redownloaded WSUS, unzipped it.....now working...thx

viewtopic.php?f=3&t=5420

again the fix for me was REDOWNLOAD, use winrar to open....problem solved

viewtopic.php?f=3&t=5390
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: Error if .net frameworks included

Postby hbuhrmester » 14.11.2018, 10:18

Ergänzungen

Der Bug wird durch die Windows Utility Compressed Folders und das falsche Änderungsdatum der extrahierten Dateien hervorgerufen.

Der genaue Ablauf ist aber komplizierter, als ich ursprünglich angenommen hatte. Wenn man einfach ein beliebiges Archiv mit Compressed Folders entpackt, dann stimmt das Änderungsdatum der extrahierten Dateien noch. Anscheinend sind auch nur Windows XP, Server 2003 und Vista betroffen. Das vollständige Bild enthält die folgenden Schritte:

  1. Das Archiv wsusoffline115.zip wird mit dem Internet Explorer heruntergeladen. Die Datei wird dabei mit einem alternativen Datenstrom vom Typ Zone.Identifier gekennzeichnet. Der Inhalt des Datenstroms ist:

    Code: Select all
    [ZoneTransfer]
    ZoneID=3

  2. Das Archiv wird mit der Windows Utility Compressed Folders entpackt, indem Alle extrahieren... aus dem Kontextmenü gewählt wird. Dabei wird der alternative Datenstrom in alle extrahierten Dateien kopiert. Gleichzeitig wird das Änderungsdatum der Dateien auf das aktuelle Datum gesetzt.

    Wenn man nun den UpdateGenerator.exe öffnet, bekommt man eine Sicherheitsabfrage, ob man die Datei auch wirklich ausführen möchte. Auch für alle anderen Dateien bekommt man eine Sicherheitswarnung beim Öffnen. Dies stört den automatischen Ablauf der Skripte in WSUS Offline Update.

  3. Die alternativen Datenströme werden deshalb mit Sysinternals Streams wieder entfernt. Dies wurde mit der Version 10.0.1 vom 10.09.2015 eingeführt:

    - DownloadUpdates.cmd script will now delete NTFS alternate data streams from new or updated script files (Thanks to "blackerking", "boco" and "aker")

    Streams ändert das Änderungsdatum der Dateien aber nicht erneut.



Man kann das auch mit einem Archiv nachvollziehen, das noch keinen alternativen Datenstrom enthält. Dazu gibt man in der Eingabeaufforderung ein:

Code: Select all
notepad wsusoffline115.zip:Zone.Identifier


Das öffnet Notepad.exe mit einem leeren, alternativen Datenstrom. Als Inhalt gibt man ein:

Code: Select all
[ZoneTransfer]<CR><LF>
ZoneID=3<CR><LF>


<CR><LF> steht hier für die Zeilenenden unter Windows. Die Datei muss also mit einer Leerzeile enden. Die Gesamtlänge des alternativen Datenstroms muss 26 Byte betragen.

Dann wird die Datei mit Compressed Folders entpackt wie beschrieben.



Workaround

Es gibt auch einen einfachen Workaround: Nach dem Download des Archivs muss man erst den Zone.Identifier löschen, bevor man es entpackt. Dazu öffnet man das Eigenschaften-Fenster für das Archiv. Unten steht der Hinweis:

"Sicherheit: Die Datei stammt von einem anderen Computer. Der Zugriff wurde aus Sicherheitsgründen eventuell geblockt."

Daneben steht die Taste Zulassen, mit der man den Zone.Identifier löschen und damit die Sicherheits-Warnungen verhindern kann. Auch die extrahierten Dateien haben wieder das richtige Änderungsdatum.



Referenzen

When you extract a compressed file that you downloaded from the Internet, the file's modified date changes to the date that you extracted it
https://support.microsoft.com/en-us/hel ... the-intern

Why don’t the file timestamps on an extracted file match the ones stored in the ZIP file?
https://blogs.msdn.microsoft.com/oldnew ... 0/?p=10743

How to Unblock Files Downloaded from Internet?
https://www.winhelponline.com/blog/bulk ... -internet/


7-Zip kopiert den Zone-Identifier dagegen nicht in die extrahierten Dateien, obwohl manche das für einen Bug halten. Es ist im Grunde genommen aber egal, wenn nur das Änderungsdatum der extrahierten Dateien erhalten bleibt:

Bug #1649 Zone Identifiers of unzipped files.
https://sourceforge.net/p/sevenzip/bugs/1649/
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: Error if .net frameworks included

Postby Dalai » 14.11.2018, 16:34

Danke für die Erinnerung, hbuhrmester :). Ich wollte das eigentlich schon vor längerer Zeit hier ergänzen, weil sich bei/durch Borncity zusätzliche Infos ergeben haben. Siehe auch mein Kommentar dort. Der deckt sich mit deinen Ausführungen, mit dem Zusatz, dass es alle Windows-Versionen betrifft.

Grüße
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00


Return to Download

Who is online

Users browsing this forum: No registered users and 47 guests

cron