Automatic Update of WSUS OU - 7.5 downgrades to 7.4.2

Automatic Update of WSUS OU - 7.5 downgrades to 7.4.2

Postby philippg » 30.10.2012, 18:19

i have just downloaded version 7.5
when starting UpdateGenerator.exe and clicking on "start" i get a message: "a newer version is available: 7.4.2"

in other words:
it tries to "downgrade".
it seems something was wrong with the version comparison?

update:
the version checking is implemented in "CheckOUVersion.cmd".
it pulls the following text file from the web:
Code: Select all
http://download.wsusoffline.net/StaticDownloadLink-recent.txt

and as of today it still has the following contents:
Code: Select all
http://download.wsusoffline.net/wsusoffline742.zip


so it either has not been updated on the web server or my system is pulling it from some proxy that is still holding the old contents.
philippg
 

Re: Automatic Update of WSUS OU - 7.5 downgrades to 7.4.2

Postby harry » 30.10.2012, 21:19

I can't reproduce that.
Code: Select all
D:\TEMP>wget -N http://download.wsusoffline.net/StaticDownloadLink-recent.txt
--2012-10-30 21:04:56--  http://download.wsusoffline.net/StaticDownloadLink-recent.txt
Resolving download.wsusoffline.net... 81.3.27.18
Connecting to download.wsusoffline.net|81.3.27.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50 [text/plain]
Saving to: `StaticDownloadLink-recent.txt'

100%[============================================================================================================>] 50          --.-K/s   in 0s

2012-10-30 21:04:56 (1.06 MB/s) - `StaticDownloadLink-recent.txt' saved [50/50]

The downloaded file has the timestamp 2012-10-10 11:01:33 and the content:
Code: Select all
http://download.wsusoffline.net/wsusoffline75.zip
harry
 
Posts: 737
Joined: 29.10.2009, 17:02

Re: Automatic Update of WSUS OU - 7.5 downgrades to 7.4.2

Postby aker » 30.10.2012, 22:12

Could you delete that file and start UpdateGenerator normally and run a download.
If it says, your version is out of date, there may be a problem on your computer / network (cache, proxy ...)
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Automatic Update of WSUS OU - 7.5 downgrades to 7.4.2

Postby philippg » 30.10.2012, 22:22

well, in my browser i did SHIFT-F5.
and now it's showing the most recent, updated contents.

and in turn also the wsusoffline no longer tries to downgrade.

conclusion:
either the web content has been updated just recently (withing the last 2 hours or so) or my local network has refreshed the proxy cache by my SHIFT-F5.

anyways: i would suggest to implement some real "version comparison" instead of just doing a plain and simple string comparison.
right now there's a risk of such accidental downgrades when assuming that all local strings != "StaticDownloadLink-recent.txt" would be outdated.
philippg
 


Return to Download

Who is online

Users browsing this forum: No registered users and 235 guests