Open-source Languages & Tools for z/OS

 View Only

 conda install of Git 2.41 showing unexpected results

Alfred Sau's profile image
Alfred Sau posted 01-24-2024 10:33

Hi,

Installing Git see below for output display;

# conda install -c https://conda.anaconda.org/zoss-appdev git --override-channels                
Collecting package metadata (repodata.json):   done                                              
Solving environment:   done                                                                      
                                                                                                 
## Package Plan ##                                                                               
                                                                                                 
  environment location: /VTEAA/usr/lpp/Rocket/miniconda                                          
                                                                                                 
  added / updated specs: 

    - git               

The following packages will be downloaded:                                                                    
                                                                                                              
    package                    |            build                                                             
    ---------------------------|-----------------                                                             
    git-2.41.0                 |          pl532_4        70.9 MB  https://conda.anaconda.org/zoss-appdev      
    openssl-3.1.0              |                7        10.6 MB  https://conda.anaconda.org/zoss-appdev      
    perl-5.32.1                |               13        14.5 MB  https://conda.anaconda.org/zoss-appdev      
    ------------------------------------------------------------                                              
                                           Total:        96.0 MB                                              
                                                                                                              
The following NEW packages will be INSTALLED:                                                                 
                                                                                                              
  git                zoss-appdev/zos-z::git-2.41.0-pl532_4                                                    
  perl               zoss-appdev/zos-z::perl-5.32.1-13                                                        
                                                                                                              
The following packages will be UPDATED:                                                                       
                                                                                                              
  openssl              api/repo/defaults::openssl-1.1.1k-11 --> zoss-appdev::openssl-3.1.0-7    


Proceed (Ýy¨/n)? y                                                 
                                                                   
                                                                   
Downloading and Extracting Packages                                
git-2.41.0           | 70.9 MB   |            |   0%               
perl-5.32.1          | 14.5 MB   |            |   0% -ÝA           
                                                                   
openssl-3.1.0        | 10.6 MB   |            |   0% -ÝA-ÝA        
                                                                   
openssl-3.1.0        | 10.6 MB   | ########## | 100% -ÝA-ÝA        
                                                                   
openssl-3.1.0        | 10.6 MB   | ########## | 100% -ÝA-ÝA        
perl-5.32.1          | 14.5 MB   | ########## | 100% -ÝA           
                                                     -ÝA           
                                                     -ÝA           
                                                                   
                                                     -ÝA-ÝA        
Preparing transaction:   done                                      
Verifying transaction:   done                                      
Executing transaction:   done                                      
#     

It seems the git 2.41 package was not installed from the output shown. When I issue a git --version command I get the following;

# git --version            
git version 2.14.4_zos_b09 

What can be the issue here? Is it possibly due to lack of space to accommodate the extraction of the 70.9MB git2.41 package?

thanks

Alexander Klochkov's profile image
ROCKETEER Alexander Klochkov

Hi Alfred Sau,

Most likely it's because of PATH env var.

Can post the output of the following commands:

type git

env | sort

Thanks,

Alexander

Alfred Sau's profile image
Alfred Sau

I've found the issue. We have a symbolic link in place that points to the current V2.1 4 path.