cabextract package.xml
Posted: 12.12.2018, 15:50
dear All
I have a strange problem for two months and found now the problem and a dirty solution. Last month I extracted package.xml manually, because I thought it was my mistake with playing around with user rights
I had (after a new download of wsusscn2.cab and extraction of package.cab) every time a break-up of the download script with:
Failure: The file package.xml could not be extracted. The script cannot continue without this file.
cabextract and 7z (also under Windows) complaining that package.cab is not a valid cabinet
When i extracted the full wsusscn2.cab into the tmp directory I could also extract package.cab..........
therefore I change line 57 from 50-superseded-updates.bash
to
and the the December download is running now.
My Linux is Debian-386 (buster)
cabextract 1.9-1 (also tested 1.6-1+b1)
p7zip 16.02+dfsg-6
Herzliche Grüße
Mani
I have a strange problem for two months and found now the problem and a dirty solution. Last month I extracted package.xml manually, because I thought it was my mistake with playing around with user rights
I had (after a new download of wsusscn2.cab and extraction of package.cab) every time a break-up of the download script with:
Failure: The file package.xml could not be extracted. The script cannot continue without this file.
cabextract and 7z (also under Windows) complaining that package.cab is not a valid cabinet
Server2:/tmp/download-updates.BK21KnMq7k# cabextract -F package.xml package.cab
package.cab: no valid cabinets found
All done, errors in processing 1 file(s)
When i extracted the full wsusscn2.cab into the tmp directory I could also extract package.cab..........
therefore I change line 57 from 50-superseded-updates.bash
if cabextract -d "${temp_dir}" -F "package.cab" "../client/wsus/wsusscn2.cab"
to
if cabextract -d "${temp_dir}" "../client/wsus/wsusscn2.cab"
and the the December download is running now.
My Linux is Debian-386 (buster)
cabextract 1.9-1 (also tested 1.6-1+b1)
p7zip 16.02+dfsg-6
Herzliche Grüße
Mani