trouble downloading updates on MAC OSX
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
I've installed missing/necessary dependencies via macports and edited this script and replaced readlink with greadlink.
Here is what currently happens when I try to download updates:
Here is the rest, not sure why it al fails. Permissions maybe?
Here is what currently happens when I try to download updates:
- Code: Select all
sh-3.2# ./DownloadUpdates.sh
#########################################################################
### WSUS Offline Update Downloader for Linux systems ###
### v. 9.3.1 ###
### ###
### http://www.wsusoffline.net/ ###
### Authors: Tobias Breitling, Stefan Joehnke, Walter Schiessberg ###
### maintained by H. Hullen ###
#########################################################################
usage: dirname path
head: ./DownloadUpdates.sh: No such file or directory
Please select your OS:
[1] Windows Server 2003 [2] Windows Server 2003 64 bit
[3] Windows Vista / Server 2008 [4] Windows Vista / Server 2008 64 bit
[5] Windows 7 [6] Windows 7 / Server 2008 R2 64 bit
[7] Windows 8 [8] Windows 8 / Server 2012 64 bit
[9] Windows 8.1 [10] Windows 8.1 64 bit
[11] All 32 bit [12] All 64 bit
[13] Office 2007 [14] Office 2010 [15] Office 2013
[16] All Office updates (2007 - 2013)
which number?
.
.
.
Download Service Packs? [y/n] y
Download .Net framework? [y/n] y
Download Microsoft Security Essentials files? [y/n] y
Download Microsoft Windows Defender definition files? [y/n] y
Please specify your proxy (default: none, http://[username:password@]<server>:<port>])
Create ISO-Image after download? [y/n] n
head: ./DownloadUpdates.sh: No such file or directory
Your choice
System: w61-x64
Language: enu
Parameter: /dotnet /msse /wddefs
Proxy: none
Do you want to download now? [y/n]
Here is the rest, not sure why it al fails. Permissions maybe?
- Code: Select all
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 w61-x64 enu...
cp: ../static/StaticDownloadLinks-dotnet.txt: No such file or directory
Extracting Windows update catalogue file package.xml...
cp: ../client/wsus/wsusscn2.cab: No such file or directory
package.cab: No such file or directory
rm: package.cab: No such file or directory
./DownloadUpdates.sh: line 551: cd: ../sh: No such file or directory
Determining superseded updates (please be patient, this will take a while)...
failed to load external entity "../xslt/ExtractUpdateRevisionIds.xsl"
warning: failed to load external entity "../xslt/ExtractUpdateRevisionIds.xsl"
cannot parse ../xslt/ExtractUpdateRevisionIds.xsl
failed to load external entity "../xslt/ExtractSupersedingRevisionIds.xsl"
warning: failed to load external entity "../xslt/ExtractSupersedingRevisionIds.xsl"
cannot parse ../xslt/ExtractSupersedingRevisionIds.xsl
failed to load external entity "../xslt/ExtractSupersededUpdateRelations.xsl"
warning: failed to load external entity "../xslt/ExtractSupersededUpdateRelations.xsl"
cannot parse ../xslt/ExtractSupersededUpdateRelations.xsl
failed to load external entity "../xslt/ExtractBundledUpdateRelationsAndFileIds.xsl"
warning: failed to load external entity "../xslt/ExtractBundledUpdateRelationsAndFileIds.xsl"
cannot parse ../xslt/ExtractBundledUpdateRelationsAndFileIds.xsl
grep: ../temp/ValidSupersededRevisionIds.txt: No such file or directory
sort: open failed: ../temp/SupersededFileIds.txt: No such file or directory
failed to load external entity "../xslt/ExtractUpdateCabExeIdsAndLocations.xsl"
warning: failed to load external entity "../xslt/ExtractUpdateCabExeIdsAndLocations.xsl"
cannot parse ../xslt/ExtractUpdateCabExeIdsAndLocations.xsl
Done.
Determining update URLs for w61-x64 enu...
failed to load external entity "../xslt/ExtractDownloadLinks-dotnet-x64-glb.xsl"
warning: failed to load external entity "../xslt/ExtractDownloadLinks-dotnet-x64-glb.xsl"
cannot parse ../xslt/ExtractDownloadLinks-dotnet-x64-glb.xsl
Determining update URLs for win enu...
failed to load external entity "../xslt/ExtractDownloadLinks-win-x86-enu.xsl"
warning: failed to load external entity "../xslt/ExtractDownloadLinks-win-x86-enu.xsl"
cannot parse ../xslt/ExtractDownloadLinks-win-x86-enu.xsl
cat: ../exclude/ExcludeList-win-x86.txt: No such file or directory
***************************************
Found 0 patches...
head: ./DownloadUpdates.sh: No such file or directory
Downloading patches for w61-x64...
Downloading static patches...
wget -nv -N --timeout=120 -i ../temp/StaticUrls-w61-x64-enu.txt -P ../client/w61-x64/enu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-enu.txt -P ../client/win/enu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-glb.txt -P ../client/win/glb
wget -nv -N --timeout=120 -i ../temp/StaticUrls-w61-x64-glb.txt -P ../client/w61-x64/glb
Downloading .Net framework...
wget -nv -N --timeout=120 -i ../temp/StaticUrls-dotnet.txt -P ../client/dotnet
wget -nv -N --timeout=120 -i ../temp/ValidUrls-dotnet-x64.txt -P ../client/dotnet/x64-glb
Creating integrity database for .Net ...
rm: ../dotnet/*.exe: No such file or directory
../dotnet/*.exe: No such file or directory
Creating integrity database for .Net-x64-glb ...
Downloading CPP files...
Creating integrity database for CPP ...
Downloading MSSE files...
Creating integrity database for MSSE ...
Downloading Windows Defender definition files...
Creating integrity database for Windows Defender definition ...
Downloading patches for w61-x64 enu
wget -nv -N --timeout=120 -i ../temp/ValidUrls-w61-x64-enu.txt -P ../client/w61-x64/enu
wget -nv -N --timeout=120 -i ../temp/ValidUrls-win-x64-enu.txt -P ../client/win/enu
wget -nv -N --timeout=120 -i ../temp/ValidUrls-w61-x64-glb.txt -P ../client/w61-x64/glb
head: ./DownloadUpdates.sh: No such file or directory
Validating patches for w61-x64...
Validating static patches...
wget -nv -N --timeout=120 -i ../temp/StaticUrls-w61-x64-enu.txt -P ../client/w61-x64/enu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-enu.txt -P ../client/win/enu
wget -nv -N --timeout=120 -i ../temp/StaticUrls-w61-x64-glb.txt -P ../client/w61-x64/glb
wget -nv -N --timeout=120 -i ../temp/StaticUrls-glb.txt -P ../client/win/glb
Validating patches for w61-x64 enu...
wget -nv -N --timeout=120 -i ../temp/ValidUrls-w61-x64-enu.txt -P ../client/w61-x64/enu
Creating integrity database for w61-x64-enu ...
wget -nv -N --timeout=120 -i ../temp/ValidUrls-w61-x64-glb.txt -P ../client/w61-x64/glb
Creating integrity database for w61-x64-glb ...
wget -nv -N --timeout=120 -i ../temp/ValidUrls-win-x64-enu.txt -P ../client/win/enu
Creating integrity database for win-glb ...
Creating integrity database for WSUS ...
**************************************
0 patches successfully downloaded.
Cleaning up ...
Cleaning up client directory for w61-x64 enu
Cleaning up client directory for w61-x64 glb
Writing builddate.txt file...