(CommandList
  children: [
    (C {(mirror_style)} {(release)})
    (C {(download_style)} {(apt)})
    (C {(finddebs_style)} {(from-indices)})
    (C {(variants)} {(-)} {(buildd)} {(fakechroot)} {(minbase)})
    (C {(keyring)} {(/usr/share/keyrings/tanglu-archive-keyring.gpg)})
    (C {(default_mirror)} {(http) (Lit_Other ':') (//archive.tanglu.org/tanglu)})
    (If
      arms: [
        (if_arm
          cond: [(Sentence child:(C {(doing_variant)} {(fakechroot)}) terminator:<Op_Semi ';'>)]
          action: [
            (AndOr
              children: [
                (C {(test)} {(DQ ($ VSub_Name '$FAKECHROOT'))} {(Lit_Other '=')} {(DQ (true))})
                (C {(error)} {(1)} {(FAKECHROOTREQ)} 
                  {(DQ ('This variant requires fakechroot environment to be started'))}
                )
              ]
              op_id: Op_DPipe
            )
          ]
          spids: [-1 40]
        )
      ]
      spids: [-1 67]
    )
    (Case
      to_match: {($ VSub_Name '$ARCH')}
      arms: [
        (case_arm
          pat_list: [{(alpha)} {(ia64)}]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:LIBC) op:Equal rhs:{(DQ (libc6.1))} spids:[82])]
              spids: [82]
            )
          ]
          spids: [77 80 87 -1]
        )
        (case_arm
          pat_list: [{(kfreebsd-) (Lit_Other '*')}]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:LIBC) op:Equal rhs:{(DQ (libc0.1))} spids:[94])]
              spids: [94]
            )
          ]
          spids: [90 92 99 -1]
        )
        (case_arm
          pat_list: [{(hurd-) (Lit_Other '*')}]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:LIBC) op:Equal rhs:{(DQ (libc0.3))} spids:[106])]
              spids: [106]
            )
          ]
          spids: [102 104 111 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:LIBC) op:Equal rhs:{(DQ (libc6))} spids:[117])]
              spids: [117]
            )
          ]
          spids: [114 115 122 -1]
        )
      ]
      spids: [70 74 124]
    )
    (FuncDef
      name: work_out_debs
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:required)
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(get_debs)} {(Priority) (Lit_Other ':')} {(required)})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [137 144]
                        )
                      )
                    }
                  spids: [135]
                )
              ]
              spids: [135]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (AndOr
                          children: [(C {(doing_variant)} {(-)}) (C {(doing_variant)} {(fakechroot)})]
                          op_id: Op_DPipe
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:base)
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (C {(get_debs)} {(Priority) (Lit_Other ':')} {(important)})
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [175 182]
                                )
                              )
                            }
                          spids: [173]
                        )
                      ]
                      spids: [173]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:base)
                          op: Equal
                          rhs: {(DQ ($ VSub_Name '$base') (' tanglu-minimal'))}
                          spids: [191]
                        )
                      ]
                      spids: [191]
                    )
                  ]
                  spids: [-1 162]
                )
                (if_arm
                  cond: [(Sentence child:(C {(doing_variant)} {(buildd)}) terminator:<Op_Semi ';'>)]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:base)
                          op: Equal
                          rhs: {(DQ ('apt build-essential'))}
                          spids: [208]
                        )
                      ]
                      spids: [208]
                    )
                  ]
                  spids: [198 205]
                )
                (if_arm
                  cond: [(Sentence child:(C {(doing_variant)} {(minbase)}) terminator:<Op_Semi ';'>)]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:base)
                          op: Equal
                          rhs: {(DQ (apt))}
                          spids: [224]
                        )
                      ]
                      spids: [224]
                    )
                  ]
                  spids: [214 221]
                )
              ]
              spids: [-1 230]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:required)
                          op: Equal
                          rhs: {(DQ ($ VSub_Name '$required') (' binutils'))}
                          spids: [248]
                        )
                      ]
                      spids: [248]
                    )
                  ]
                  spids: [-1 241]
                )
              ]
              spids: [-1 255]
            )
            (Case
              to_match: {($ VSub_Name '$MIRRORS')}
              arms: [
                (case_arm
                  pat_list: [{(https) (Lit_Other ':') (//) (Lit_Other '*')}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:base)
                          op: Equal
                          rhs: {(DQ ($ VSub_Name '$base') (' apt-transport-https ca-certificates'))}
                          spids: [273]
                        )
                      ]
                      spids: [273]
                    )
                  ]
                  spids: [266 270 280 -1]
                )
              ]
              spids: [259 263 283]
            )
          ]
          spids: [132]
        )
      spids: [127 131]
    )
    (FuncDef
      name: first_stage_install
      body: 
        (BraceGroup
          children: [
            (C {(extract)} {($ VSub_Name '$required')})
            (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg))})
            (SimpleCommand
              words: [{(Lit_Other ':')}]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/status))}
                  spids: [314]
                )
              ]
            )
            (SimpleCommand
              words: [{(Lit_Other ':')}]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/available))}
                  spids: [323]
                )
              ]
            )
            (C {(setup_etc)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} 
                          {(DQ ($ VSub_Name '$TARGET') (/etc/fstab))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (SimpleCommand
                      words: [{(echo)} {(SQ <'# UNCONFIGURED FSTAB FOR BASE SYSTEM'>)}]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: -1
                          arg_word: {(DQ ($ VSub_Name '$TARGET') (/etc/fstab))}
                          spids: [359]
                        )
                      ]
                    )
                    (Sentence
                      child: 
                        (C {(chown)} {(0) (Lit_Other ':') (0)} 
                          {(DQ ($ VSub_Name '$TARGET') (/etc/fstab))}
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (C {(chmod)} {(644)} {(DQ ($ VSub_Name '$TARGET') (/etc/fstab))})
                  ]
                  spids: [-1 350]
                )
              ]
              spids: [-1 389]
            )
            (C {(setup_devices)})
            (FuncDef
              name: x_feign_install
              body: 
                (BraceGroup
                  children: [
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:pkg)
                          op: Equal
                          rhs: {(DQ ($ VSub_Number '$1'))}
                          spids: [407]
                        )
                      ]
                      spids: [405]
                    )
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:deb)
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [(C {(debfor)} {($ VSub_Name '$pkg')})]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [417 421]
                                )
                              )
                            }
                          spids: [415]
                        )
                      ]
                      spids: [413]
                    )
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:ver)
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (C {(extract_deb_field)} 
                                          {(DQ ($ VSub_Name '$TARGET') (/) ($ VSub_Name '$deb'))} {(Version)}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [429 439]
                                )
                              )
                            }
                          spids: [427]
                        )
                      ]
                      spids: [425]
                    )
                    (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/info))})
                    (SimpleCommand
                      words: [
                        {(echo)}
                        {
                          (DQ ('Package: ') ($ VSub_Name '$pkg') ('\n') ('Version: ') 
                            ($ VSub_Name '$ver') ('\n') ('Maintainer: unknown\n') ('Status: install ok installed')
                          )
                        }
                      ]
                      redirects: [
                        (Redir
                          op_id: Redir_DGreat
                          fd: -1
                          arg_word: {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/status))}
                          spids: [469]
                        )
                      ]
                    )
                    (C {(touch)} 
                      {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/info/) (${ VSub_Name pkg) (.list))}
                    )
                  ]
                  spids: [402]
                )
              spids: [397 401]
            )
            (C {(x_feign_install)} {(dpkg)})
          ]
          spids: [293]
        )
      spids: [288 292]
    )
    (FuncDef
      name: second_stage_install
      body: 
        (BraceGroup
          children: [
            (C {(setup_dynamic_devices)})
            (FuncDef
              name: x_core_install
              body: 
                (BraceGroup
                  children: [
                    (Pipeline
                      children: [
                        (C {(smallyes)} {(SQ )})
                        (C {(in_target)} {(dpkg)} {(--force-depends)} {(--install)} 
                          {
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [(C {(debfor)} {(DQ ($ VSub_At '$@'))})]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [536 542]
                            )
                          }
                        )
                      ]
                      negated: False
                    )
                  ]
                  spids: [518]
                )
              spids: [513 517]
            )
            (FuncDef
              name: p
              body: 
                (BraceGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:baseprog)
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (ArithSubPart
                                  anode: 
                                    (ArithBinary
                                      op_id: Arith_Plus
                                      left: (ArithWord w:{($ VSub_Name '$baseprog')})
                                      right: 
                                        (ArithWord
                                          w: 
                                            {
                                              (BracedVarSub
                                                token: <VSub_Number 1>
                                                suffix_op: 
                                                  (StringUnary
                                                    op_id: VTest_ColonHyphen
                                                    arg_word: {(1)}
                                                  )
                                                spids: [564 568]
                                              )
                                            }
                                        )
                                    )
                                  spids: [559 570]
                                )
                              )
                            }
                          spids: [557]
                        )
                      ]
                      spids: [557]
                    )
                  ]
                  spids: [554]
                )
              spids: [549 553]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(setup_proc_fakechroot)})]
                  spids: [-1 585]
                )
              ]
              else_action: [(C {(setup_proc)}) (C {(in_target)} {(/sbin/ldconfig)})]
              spids: [591 602]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:DEBIAN_FRONTEND)
                  op: Equal
                  rhs: {(noninteractive)}
                  spids: [606]
                )
              ]
              spids: [606]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:DEBCONF_NONINTERACTIVE_SEEN)
                  op: Equal
                  rhs: {(true)}
                  spids: [610]
                )
              ]
              spids: [610]
            )
            (C {(export)} {(DEBIAN_FRONTEND)} {(DEBCONF_NONINTERACTIVE_SEEN)})
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[622])]
              spids: [622]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:bases) op:Equal rhs:{(7)} spids:[626])]
              spids: [626]
            )
            (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(info)} {(INSTCORE)} {(DQ ('Installing core packages...'))})
            (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(ln)} {(-sf)} {(mawk)} {(DQ ($ VSub_Name '$TARGET') (/usr/bin/awk))})
            (C {(x_core_install)} {(base-passwd)})
            (C {(x_core_install)} {(base-files)})
            (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(x_core_install)} {(dpkg)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} 
                          {(DQ ($ VSub_Name '$TARGET') (/etc/localtime))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(ln)} {(-sf)} {(/usr/share/zoneinfo/UTC)} 
                      {(DQ ($ VSub_Name '$TARGET') (/etc/localtime))}
                    )
                  ]
                  spids: [-1 742]
                )
              ]
              spids: [-1 757]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(install_fakechroot_tools)})]
                  spids: [-1 768]
                )
              ]
              spids: [-1 774]
            )
            (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(x_core_install)} {($ VSub_Name '$LIBC')})
            (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(x_core_install)} {(perl-base)})
            (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(rm)} {(DQ ($ VSub_Name '$TARGET') (/usr/bin/awk))})
            (C {(x_core_install)} {(mawk)})
            (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (If
              arms: [
                (if_arm
                  cond: [(Sentence child:(C {(doing_variant)} {(-)}) terminator:<Op_Semi ';'>)]
                  action: [(C {(x_core_install)} {(debconf)})]
                  spids: [-1 887]
                )
              ]
              spids: [-1 895]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[899])]
              spids: [899]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:bases)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Sentence
                                child: (C {(set)} {(--)} {($ VSub_Name '$required')})
                                terminator: <Op_Semi ';'>
                              )
                              (C {(echo)} {($ VSub_Pound '$#')})
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [904 915]
                      )
                    }
                  spids: [903]
                )
              ]
              spids: [903]
            )
            (C {(info)} {(UNPACKREQ)} {(DQ ('Unpacking required packages...'))})
            (SimpleCommand
              words: [{(exec)}]
              redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[931])]
            )
            (Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (Subshell
                  child: 
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [
                            {(repeatn)}
                            {(5)}
                            {(in_target_failmsg)}
                            {(UNPACK_REQ_FAIL_FIVE)}
                            {
                              (DQ 
                                (
'Failure while unpacking required packages.  This will be attempted up to five times.'
                                )
                              )
                            }
                            {(DQ )}
                            {(dpkg)}
                            {(--status-fd)}
                            {(8)}
                            {(--force-depends)}
                            {(--unpack)}
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [(C {(debfor)} {($ VSub_Name '$required')})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [972 976]
                              )
                            }
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 8
                              arg_word: {(1)}
                              spids: [978]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 1
                              arg_word: {(7)}
                              spids: [981]
                            )
                          ]
                        )
                        (C {(echo)} {(EXITCODE)} {($ VSub_QMark '$?')})
                      ]
                      op_id: Op_DPipe
                    )
                  spids: [944 991]
                )
                (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(UNPACKREQ)} 
                  {(DQ ('Unpacking required packages'))} {(UNPACKING)}
                )
              ]
              negated: False
            )
            (C {(info)} {(CONFREQ)} {(DQ ('Configuring required packages...'))})
            (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))} 
              {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon.REAL))}
            )
            (SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ ('#!/bin/sh\n') ('echo\n') ('echo ') 
                    (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ('Warning: Fake start-stop-daemon called, doing nothing') 
                    (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>)
                  )
                }
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))}
                  spids: [1047]
                )
              ]
            )
            (C {(chmod)} {(755)} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))})
            (C {(setup_dselect_method)} {(apt)})
            (Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (Subshell
                  child: 
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [
                            {(in_target_failmsg)}
                            {(CONF_REQ_FAIL)}
                            {(DQ ('Failure while configuring required packages.'))}
                            {(DQ )}
                            {(dpkg)}
                            {(--status-fd)}
                            {(8)}
                            {(--configure)}
                            {(--pending)}
                            {(--force-configure-any)}
                            {(--force-depends)}
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 8
                              arg_word: {(1)}
                              spids: [1108]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 1
                              arg_word: {(7)}
                              spids: [1111]
                            )
                          ]
                        )
                        (C {(echo)} {(EXITCODE)} {($ VSub_QMark '$?')})
                      ]
                      op_id: Op_DPipe
                    )
                  spids: [1080 1121]
                )
                (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(CONFREQ)} 
                  {(DQ ('Configuring required packages'))} {(CONFIGURING)}
                )
              ]
              negated: False
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[1142])]
              spids: [1142]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:bases)
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Sentence
                                  child: (C {(set)} {(--)} {($ VSub_Name '$base')})
                                  terminator: <Op_Semi ';'>
                                )
                                (C {(echo)} {($ VSub_Pound '$#')})
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [1148 1159]
                        )
                      )
                    }
                  spids: [1146]
                )
              ]
              spids: [1146]
            )
            (C {(info)} {(UNPACKBASE)} {(DQ ('Unpacking the base system...'))})
            (C {(setup_available)} {($ VSub_Name '$required')} {($ VSub_Name '$base')})
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:done_predeps) op:Equal rhs:{(SQ )} spids:[1181])]
              spids: [1181]
            )
            (While
              cond: [
                (Sentence
                  child: 
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:predep)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: (CommandList children:[(C {(get_next_predep)})])
                                left_token: <Left_CommandSub '$('>
                                spids: [1187 1189]
                              )
                            }
                          spids: [1186]
                        )
                      ]
                      spids: [1186]
                    )
                  terminator: <Op_Semi ';'>
                )
              ]
              body: 
                (DoGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:predep)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (C {(without)} 
                                        {
                                          (DQ 
                                            (CommandSubPart
                                              command_list: 
                                                (CommandList
                                                  children: [
                                                    (C {(without)} 
                                                      {
                                                        (DQ 
                                                          (CommandSubPart
                                                            command_list: 
                                                              (CommandList
                                                                children: [
                                                                  (C {(resolve_deps)} 
                                                                    {($ VSub_Name '$predep')}
                                                                  )
                                                                ]
                                                              )
                                                            left_token: <Left_CommandSub '$('>
                                                            spids: [1212 1216]
                                                          )
                                                        )
                                                      } {(DQ ($ VSub_Name '$required'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [1208 1222]
                                            )
                                          )
                                        } {(DQ ($ VSub_Name '$done_predeps'))}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1204 1228]
                              )
                            }
                          spids: [1203]
                        )
                      ]
                      spids: [1203]
                    )
                    (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
                    (Pipeline
                      children: [
                        (C {(smallyes)} {(SQ )})
                        (C {(in_target)} {(dpkg)} {(--force-overwrite)} {(--force-confold)} 
                          {(--skip-same-version)} {(--install)} 
                          {
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [(C {(debfor)} {($ VSub_Name '$predep')})]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [1262 1266]
                            )
                          }
                        )
                      ]
                      negated: False
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:base)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (C {(without)} {(DQ ($ VSub_Name '$base'))} 
                                        {(DQ ($ VSub_Name '$predep'))}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1270 1280]
                              )
                            }
                          spids: [1269]
                        )
                      ]
                      spids: [1269]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:done_predeps)
                          op: Equal
                          rhs: {(DQ ($ VSub_Name '$done_predeps') (' ') ($ VSub_Name '$predep'))}
                          spids: [1283]
                        )
                      ]
                      spids: [1283]
                    )
                  ]
                  spids: [1192 1291]
                )
            )
            (Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (Subshell
                  child: 
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [
                            {(repeatn)}
                            {(5)}
                            {(in_target_failmsg)}
                            {(INST_BASE_FAIL_FIVE)}
                            {
                              (DQ 
                                (
'Failure while installing base packages.  This will be re-attempted up to five times.'
                                )
                              )
                            }
                            {(DQ )}
                            {(dpkg)}
                            {(--status-fd)}
                            {(8)}
                            {(--force-overwrite)}
                            {(--force-confold)}
                            {(--skip-same-version)}
                            {(--unpack)}
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [(C {(debfor)} {($ VSub_Name '$base')})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1335 1339]
                              )
                            }
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 8
                              arg_word: {(1)}
                              spids: [1341]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 1
                              arg_word: {(7)}
                              spids: [1344]
                            )
                          ]
                        )
                        (C {(echo)} {(EXITCODE)} {($ VSub_QMark '$?')})
                      ]
                      op_id: Op_DPipe
                    )
                  spids: [1303 1354]
                )
                (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(UNPACKBASE)} 
                  {(DQ ('Unpacking base system'))} {(UNPACKING)}
                )
              ]
              negated: False
            )
            (C {(info)} {(CONFBASE)} {(DQ ('Configuring the base system...'))})
            (Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (Subshell
                  child: 
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [
                            {(repeatn)}
                            {(5)}
                            {(in_target_failmsg)}
                            {(CONF_BASE_FAIL_FIVE)}
                            {
                              (DQ 
                                (
'Failure while configuring base packages.  This will be re-attempted up to five times.'
                                )
                              )
                            }
                            {(DQ )}
                            {(dpkg)}
                            {(--status-fd)}
                            {(8)}
                            {(--force-confold)}
                            {(--skip-same-version)}
                            {(--configure)}
                            {(-a)}
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 8
                              arg_word: {(1)}
                              spids: [1425]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 1
                              arg_word: {(7)}
                              spids: [1428]
                            )
                          ]
                        )
                        (C {(echo)} {(EXITCODE)} {($ VSub_QMark '$?')})
                      ]
                      op_id: Op_DPipe
                    )
                  spids: [1393 1438]
                )
                (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(CONFBASE)} 
                  {(DQ ('Configuring base system'))} {(CONFIGURING)}
                )
              ]
              negated: False
            )
            (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon.REAL))} 
              {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))}
            )
            (C {(progress)} {($ VSub_Name '$bases')} {($ VSub_Name '$bases')} {(CONFBASE)} 
              {(DQ ('Configuring base system'))}
            )
            (C {(info)} {(BASESUCCESS)} {(DQ ('Base system installed successfully.'))})
          ]
          spids: [506]
        )
      spids: [501 505]
    )
  ]
)