[wpkg-users] WPKG 1.1.0 reboot loop during upgrade

Mark Cooke M.P.Cooke at bham.ac.uk
Tue Jul 7 13:40:17 CEST 2009


Hi all,

I have just provoked a slightly unexpected behaviour with v1.1.0 of wpkg.js

Conditions:

1. Package requires a reboot after it is installed or upgraded (removed &
re-installed).  I have the reboot condition set in the install/upgrade
section for specific exit conditions.

2. WPKG Check conditions between the existing version and updated version
are the same.

3. To do the upgrade, I just increased the revision from 1 to 2.


WPKG logs indicate a successful upgrade, with an immediate reboot.  However,
on the next reboot, the revision check fails.  The implication is that
requesting an immediate reboot during an upgrade causes a reboot before
wpkg.xml has been rewritten with the successful revision data.

Is this a bug, or am I misunderstanding ?

---
Log:-

-Start Update-----------------------------------------   
WPKG 1.1 AS \                      
Run started:  07/07/2009 12:29:07.67                              
Running from: \\theserver\WPKG                                 
------------------------------------------------------   
Checking profile file                                    
Checking host file                                       
Running Test Version 1.1.0-Rel (07/07/2009 12:29:11.78)
------------------------------------------------------   
Package 'MIT Kerberos' (mitkerberos322): Already installed but version
mismatch.
Installed revision: '1'
Available revision: '2'.
Preparing upgrade.
Installing 'MIT Kerberos' (mitkerberos322)...
Command '"%SOFTWARE%\MITKerberos\KFW\3.2.2\install.bat"' returned  exit code
[0]. This exit code requires an immediate reboot.
Command in installation of MIT Kerberos returned exit code [0]. This exit
code requires an immediate reboot.
System reboot in progress!
------------------------------------------------------    
-Start Update-----------------------------------------   
WPKG 1.1 AS \                      
Run started:  07/07/2009 12:31:40.46                              
Running from: \\theserver\WPKG                                 
------------------------------------------------------   
Checking profile file                                    
Checking host file                                       
Running Test Version 1.1.0-Rel (07/07/2009 12:31:44.85)           
------------------------------------------------------   
Package 'MIT Kerberos' (mitkerberos322): Already installed but version
mismatch.
Installed revision: '1'
Available revision: '2'.
Preparing upgrade.
Installing 'MIT Kerberos' (mitkerberos322)...
Command '"%SOFTWARE%\MITKerberos\KFW\3.2.2\install.bat"' returned  exit code
[0]. This exit code requires an immediate reboot.
Command in installation of MIT Kerberos returned exit code [0]. This exit
code requires an immediate reboot.
System reboot in progress!
------------------------------------------------------    

Thanks,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mitkerberos322.xml
Type: text/xml
Size: 989 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20090707/6862dab1/attachment-0001.xml>


More information about the wpkg-users mailing list