A Bundle Upgrade

Since bundles are versioned in the same way packages, upgrading a bundle can be done by simply by running gpt-install on the newer bundle. However, there are a lot of things that happen under automatically with this operation. For this reason, the following example shows some switches that can be used to see more details of what GPT is doing.

  1. Download the bundles newfoo-2.0-i686-pc-linux-gnu-bin.tar.gz and newfoo-2.2.3-i686-pc-linux-gnu-bin.tar.gz from the test site.

  2. Run gpt-install newfoo-2.0-i686-pc-linux-gnu-bin.tar.gz.

  3. For the first update use the -noaction switch. This shows what a gpt-install operation does without actually doing it. Run gpt-install -noaction newfoo-2.2.3-i686-pc-linux-gnu-bin.tar.gz. You should see the following:

    bash$ gpt-install -noaction newfoo-2.2.3-i686-pc-linux-gnu-bin.tar.gz 
    The following bundles would be removed
    	newfoo ver: 2.0
    The following bundles would be installed
    	newfoo ver: 2.2.3
    The following packages would be removed
    	globus_ssl_utils_setup-noflavor-pgm ver: 2.0
    	globus_ssl_utils-gcc32-rtl ver: 2.1
    	globus_ssl_utils-gcc32-pgm ver: 2.1
    	globus_openssl-gcc32-rtl ver: 0.1
    	globus_openssl-gcc32-pgm ver: 0.1
    	globus_core_setup-noflavor-pgm ver: 2.0
    	globus_common_setup-noflavor-pgm ver: 2.0
    	globus_common-gcc32-rtl ver: 2.0
    	globus_common-gcc32-pgm ver: 2.0
    The following packages would be installed
    	globus_trusted_ca_42864e48_setup-noflavor-pgm ver: 0.5
    	globus_proxy_utils-gcc32-pgm ver: 0.5
    	globus_openssl_module-gcc32-rtl ver: 0.2
    	globus_openssl-gcc32-rtl ver: 0.10
    	globus_openssl-gcc32-pgm ver: 0.10
    	globus_gsi_sysconfig-gcc32-rtl ver: 0.3
    	globus_gsi_proxy_ssl-gcc32-rtl ver: 0.1
    	globus_gsi_proxy_core-gcc32-rtl ver: 0.3
    	globus_gsi_openssl_error-gcc32-rtl ver: 0.2
    	globus_gsi_credential-gcc32-rtl ver: 0.5
    	globus_gsi_cert_utils-gcc32-rtl ver: 0.4
    	globus_gsi_cert_utils-gcc32-pgm ver: 0.4
    	globus_gsi_callback-gcc32-rtl ver: 0.3
    	globus_common_setup-noflavor-pgm ver: 2.1
    	globus_common-gcc32-rtl ver: 3.5
    	globus_common-gcc32-pgm ver: 3.5
    

    The output shows the bundles and packages that will be added and removed. Bundles are only removed by gpt-install if they are being replaced by a newer version of the bundle. Removed packages are either being replaced by a newer version or removed because they are no longer part of the bundle being updated.

  4. Now you do the real update. For this we use the -verbose switch which shows details of what gpt-install is doing. Run gpt-install -verbose newfoo-2.2.3-i686-pc-linux-gnu-bin.tar.gz. You should see the following:

    bash$ gpt-install -verbose newfoo-2.2.3-i686-pc-linux-gnu-bin.tar.gz 
    globus_ssl_utils_setup-noflavor-pgm successfully removed.
    globus_ssl_utils-gcc32-rtl successfully removed.
    globus_ssl_utils-gcc32-pgm successfully removed.
    globus_openssl-gcc32-rtl successfully removed.
    globus_openssl-gcc32-pgm successfully removed.
    globus_core_setup-noflavor-pgm successfully removed.
    globus_common_setup-noflavor-pgm successfully removed.
    globus_common-gcc32-rtl successfully removed.
    globus_common-gcc32-pgm successfully removed.
    Bundle newfoo removed.
    globus_trusted_ca_42864e48_setup-noflavor-pgm successfully installed.
    globus_proxy_utils-gcc32-pgm successfully installed.
    globus_openssl_module-gcc32-rtl successfully installed.
    globus_openssl-gcc32-rtl successfully installed.
    globus_openssl-gcc32-pgm successfully installed.
    globus_gsi_sysconfig-gcc32-rtl successfully installed.
    globus_gsi_proxy_ssl-gcc32-rtl successfully installed.
    globus_gsi_proxy_core-gcc32-rtl successfully installed.
    globus_gsi_openssl_error-gcc32-rtl successfully installed.
    globus_gsi_credential-gcc32-rtl successfully installed.
    globus_gsi_cert_utils-gcc32-rtl successfully installed.
    globus_gsi_cert_utils-gcc32-pgm successfully installed.
    globus_gsi_callback-gcc32-rtl successfully installed.
    globus_common_setup-noflavor-pgm successfully installed.
    globus_common-gcc32-rtl successfully installed.
    globus_common-gcc32-pgm successfully installed.
    Bundle newfoo successfully installed.
    

    A gpt-install operation without the verbose switch will show only the bundle messages..