Forum Discussion

bindumadhava's avatar
bindumadhava
Brass Contributor
Jan 13, 2025
Solved

Windows 11 :: Return Code: 13631746

Hi

Trying to install Cache Node on Windows 11 and it fails with the below error:

 System.Management.Automation.RuntimeException: Failure: MCC failed to install during provisioning command line, please check install from registered task install logs to diagnose issue and retry, Return Code: 13631746

Checked the log "WSL_Mcc_Install_FromRegisteredTask_Transcript_01-13-2025_03-19-26.txt" and last few lines shared below

Get:37 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [224 B]
Fetched 15.2 MB in 2s (7274 kB/s)
Reading package lists...
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1934 (unattended-upgr)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using
 it?
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1934 (unattended-upgr)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using
 it?
./installiotedge.sh: line 352: /etc/docker/daemon.json: No such file or directory
./installiotedge.sh: line 353: /etc/docker/daemon.json: No such file or directory
./installiotedge.sh: line 355: /etc/docker/daemon.json: No such file or directory
Failed to restart docker.service: Unit docker.service not found.
Hit:1 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists...
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1934 (unattended-upgr)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using
 it?
Rules updated
Rules updated (v6)
Rules updated

Haven't faced this error in other installation done on the same type of configuration 

  • hi 

    Thank you for the response. yes, these were followed. We did try few so i am not 100% sure which out of these worked

    1. During the installation of Cache Node, the device was also installing some driver & OS patches in the backend, so not sure if this contributed to the "Could not get lock".
    2. Allowed few additional URLs in our firewall and couple of settings in Zscaler 

3 Replies

  • marty5's avatar
    marty5
    Brass Contributor

    1. Where was the installer extracted to? If the desktop then possibly OneDrive or another process (AV?) is locking the files. Extract to a folder on the root of C:\

    2. Did you remember to run 'Set-ExecutionPolicy Unrestricted' prior to the install?

    • bindumadhava's avatar
      bindumadhava
      Brass Contributor

      hi 

      Thank you for the response. yes, these were followed. We did try few so i am not 100% sure which out of these worked

      1. During the installation of Cache Node, the device was also installing some driver & OS patches in the backend, so not sure if this contributed to the "Could not get lock".
      2. Allowed few additional URLs in our firewall and couple of settings in Zscaler 
      • itwaman's avatar
        itwaman
        Copper Contributor

        hi

        can you please specify the allowed URLs in Zscaler and the settings?

        do you use the Zscaler client on the device hosting the MCC node or using http proxy server name configured when running the provisioning script?

        thanks in advance

Resources