No updates for Office 2010 / 2007

No updates for Office 2010 / 2007

Postby WSUShumri » 23.08.2016, 15:09

Hi all!

I use WSUSoffline for some months no to stay away from the M$-Update tools taking hours to complete (OK, I block lots of telemetry servers via my router :-) ), works fine under Windows 7. But I wanted to do the downloads in the future under Linux (opensuse) and so I started to day by downloading the updates for Win 7, worked fine.

But afterwards I wanted to add the updates for Office 2007 and Office 2010 (language deu), in both cases it downloaded 0 (zero) updates. As I was convinced this could not be correct, I chose now ALL Office versions:

Code: Select all
#########################################################################
###         WSUS Offline Update Downloader for Linux systems          ###
###                             v. 10.7.3                             ###
###                                                                   ###
###   http://www.wsusoffline.net/                                     ###
###   Authors: Tobias Breitling, Stefan Joehnke, Walter Schiessberg   ###
###   maintained by H. Hullen                                         ###
#########################################################################
  Your choice
  System: ofc
  Language: deu
  Parameter:       
  Proxy: none


...and now it's downloading 910 patches.

What's wrong with the selective download for 2007 and 2010?

Many thanks in advance and kind regards

humri
WSUShumri
 

Re: No updates for Office 2010 / 2007

Postby hbuhrmester » 23.08.2016, 18:07

The script DownloadUpdates.sh tries too many things in parallel:
  • If it is called without command-line arguments, it will start an interactive setup.
  • If it is called with an update and language, it will only download patches for that Office/Windows version.
  • If the built-in list "ofc" is used, it will recursively call itself with each of the updates.

This makes it difficult to understand the flow of control and the internal processing of parameters. Last time I tried, I came to the conclusion:

TL;DR
There are several major omissions in the processing of parameters, if the interactive setup is used. "ofc" for dynamic office updates is not used, and the language locales are not defined.

viewtopic.php?f=9&t=5131#p17411


It works better, if you pass the update and language directly on the command-line:
Code: Select all
./DownloadUpdates.sh o2k7 deu
./DownloadUpdates.sh o2k10 deu

Still, 910 patches are far too much. It should be less than 300 patches for all Office updates. I assume, that superseded updates are not evaluated correctly.
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: No updates for Office 2010 / 2007

Postby WSUShumri » 24.08.2016, 10:12

Hello!

Many thanks fro the quick reply!

I tried now (on the same WSUS directory I updated yesterday via GUI) the CL update:

Code: Select all
linux123:/home/user/desktop/wsusoffline/sh # ./DownloadUpdates.sh o2k7 deu

#########################################################################
###         WSUS Offline Update Downloader for Linux systems          ###
###                             v. 10.7.3                             ###
###                                                                   ###
###   http://www.wsusoffline.net/                                     ###
###   Authors: Tobias Breitling, Stefan Joehnke, Walter Schiessberg   ###
###   maintained by H. Hullen                                         ###
#########################################################################
 
#########################################################################
###         WSUS Offline Update Downloader for Linux systems          ###
###                             v. 10.7.3                             ###
###                                                                   ###
###   http://www.wsusoffline.net/                                     ###
###   Authors: Tobias Breitling, Stefan Joehnke, Walter Schiessberg   ###
###   maintained by H. Hullen                                         ###
#########################################################################
 
#########################################################################
###         WSUS Offline Update Downloader for Linux systems          ###
###                             v. 10.7.3                             ###
###                                                                   ###
###   http://www.wsusoffline.net/                                     ###
###   Authors: Tobias Breitling, Stefan Joehnke, Walter Schiessberg   ###
###   maintained by H. Hullen                                         ###
#########################################################################
  Your choice
  System: ofc
  Language: deu
  Parameter:       
  Proxy:

Thank you - now I start working!
Downloading most recent Windows Update Agent and catalog file...
wget -nv -N --timeout=120 -i ../static/StaticDownloadLinks-wsus.txt -P ../client/wsus
Determining static URLs for ofc ...
Determining static URLs for o2k7 ...
Extracting Windows update catalogue file package.xml...
Found valid list of superseded updates...
Determining update URLs for ofc ...
Determining dynamic update urls for ofc...
Determining dynamic update urls for ofc (please be patient, this will take a while)...
Determining dynamic update urls for ofc (please be patient, this will take a while)...

***************************************
Found 910 patches...

 
#########################################################################
###         WSUS Offline Update Downloader for Linux systems          ###
###                             v. 10.7.3                             ###
###                                                                   ###
###   http://www.wsusoffline.net/                                     ###
###   Authors: Tobias Breitling, Stefan Joehnke, Walter Schiessberg   ###
###   maintained by H. Hullen                                         ###
#########################################################################
Downloading patches for ofc...
Downloading static patches...
wget -nv -N --timeout=120 -i ../temp/StaticUrls-ofc-deu.txt -P ../client/ofc/deu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-deu.txt -P ../client/win/deu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-glb.txt -P ../client/win/glb
wget -nv -N --timeout=120 -i ../temp/StaticUrls-ofc-glb.txt -P ../client/ofc/glb
wget -nv -N --timeout=120 -i ../temp/StaticUrls-o2k7-deu.txt -P ../client/o2k7/deu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-o2k7-glb.txt -P ../client/o2k7/glb
Downloading patches for ofc deu
wget -nv -N --timeout=120 -i ../temp/ValidUrls-ofc-deu.txt -P ../client/ofc/deu
wget -nv -N --timeout=120 -i ../temp/ValidUrls-win-x86-deu.txt -P ../client/win/deu
wget -nv -N --timeout=120 -i ../temp/ValidUrls-ofc-glb.txt -P ../client/ofc/glb
 
#########################################################################   
###         WSUS Offline Update Downloader for Linux systems          ###
###                             v. 10.7.3                             ###
###                                                                   ###
###   http://www.wsusoffline.net/                                     ###
###   Authors: Tobias Breitling, Stefan Joehnke, Walter Schiessberg   ###
###   maintained by H. Hullen                                         ###
#########################################################################
Validating patches for ofc...
Validating static patches...
wget -nv -N --timeout=120 -i ../temp/StaticUrls-ofc-deu.txt -P ../client/ofc/deu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-deu.txt -P ../client/win/deu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-ofc-glb.txt -P ../client/ofc/glb
wget -nv -N --timeout=120 -i ../temp/StaticUrls-glb.txt -P ../client/win/glb
wget -nv -N --timeout=120 -i ../temp/StaticUrls-o2k7-deu.txt -P ../client/o2k7/deu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-o2k7-glb.txt -P ../client/o2k7/glb
Creating integrity database for o2k7 deu...
Validating patches for ofc deu...
wget -nv -N --timeout=120 -i ../temp/ValidUrls-ofc-deu.txt -P ../client/ofc/deu
Creating integrity database for ofc-deu ...
wget -nv -N --timeout=120 -i ../temp/ValidUrls-ofc-glb.txt -P ../client/ofc/glb
Creating integrity database for ofc-glb ...
wget -nv -N --timeout=120 -i ../temp/ValidUrls-win-x86-deu.txt -P ../client/win/deu
Creating integrity database for win-glb ...
Creating integrity database for WSUS ...
**************************************
910 patches successfully downloaded.

Cleaning up ...
Cleaning up client directory for ofc deu
Cleaning up client directory for ofc glb
Cleaning up client directory for win deu
Writing builddate.txt file...


But again (still?) I have these 910 patches. Should I start with a fresh WSUS from the scratch?
WSUShumri
 

Re: No updates for Office 2010 / 2007

Postby hbuhrmester » 24.08.2016, 14:55

I don't think, this will change much, since the script still calculates the number of 910 updates.
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59


Return to Linux

Who is online

Users browsing this forum: No registered users and 35 guests