(CommandList
  children: [
    (Case
      to_match: {($ VSub_Name '$ARCH')}
      arms: [
        (case_arm
          pat_list: [{(amd64)} {(i386)}]
          action: [(C {(default_mirror)} {(http) (Lit_Other ':') (//archive.ubuntu.com/ubuntu)})]
          spids: [7 10 20 -1]
        )
        (case_arm
          pat_list: [{(sparc)}]
          action: [
            (Case
              to_match: {($ VSub_Name '$SUITE')}
              arms: [
                (case_arm
                  pat_list: [{(gutsy)}]
                  action: [
                    (C {(default_mirror)} {(http) (Lit_Other ':') (//archive.ubuntu.com/ubuntu)})
                  ]
                  spids: [34 35 45 -1]
                )
                (case_arm
                  pat_list: [{(Lit_Other '*')}]
                  action: [
                    (C {(default_mirror)} {(http) (Lit_Other ':') (//ports.ubuntu.com/ubuntu-ports)})
                  ]
                  spids: [48 49 59 -1]
                )
              ]
              spids: [27 31 62]
            )
          ]
          spids: [23 24 65 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [(C {(default_mirror)} {(http) (Lit_Other ':') (//ports.ubuntu.com/ubuntu-ports)})]
          spids: [68 69 79 -1]
        )
      ]
      spids: [0 4 81]
    )
    (C {(mirror_style)} {(release)})
    (C {(download_style)} {(apt)})
    (C {(finddebs_style)} {(from-indices)})
    (C {(variants)} {(-)} {(buildd)} {(fakechroot)} {(minbase)})
    (C {(keyring)} {(/usr/share/keyrings/ubuntu-archive-keyring.gpg)})
    (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 117]
        )
      ]
      spids: [-1 144]
    )
    (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:[159])]
              spids: [159]
            )
          ]
          spids: [154 157 164 -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:[171])]
              spids: [171]
            )
          ]
          spids: [167 169 176 -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:[183])]
              spids: [183]
            )
          ]
          spids: [179 181 188 -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:[194])]
              spids: [194]
            )
          ]
          spids: [191 192 199 -1]
        )
      ]
      spids: [147 151 201]
    )
    (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: [214 221]
                        )
                      )
                    }
                  spids: [212]
                )
              ]
              spids: [212]
            )
            (If
              arms: [
                (if_arm
                  cond: [(Sentence child:(C {(doing_variant)} {(-)}) 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: [246 253]
                                )
                              )
                            }
                          spids: [244]
                        )
                      ]
                      spids: [244]
                    )
                  ]
                  spids: [-1 233]
                )
                (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 
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (C {(get_debs)} {(Build-Essential) (Lit_Other ':')} {(yes)})
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [269 276]
                                )
                              )
                            }
                          spids: [267]
                        )
                      ]
                      spids: [267]
                    )
                  ]
                  spids: [257 264]
                )
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (AndOr
                          children: [
                            (C {(doing_variant)} {(fakechroot)})
                            (C {(doing_variant)} {(minbase)})
                          ]
                          op_id: Op_DPipe
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:base)
                          op: Equal
                          rhs: {(DQ (apt))}
                          spids: [296]
                        )
                      ]
                      spids: [296]
                    )
                  ]
                  spids: [280 293]
                )
              ]
              spids: [-1 302]
            )
            (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: [320]
                        )
                      ]
                      spids: [320]
                    )
                  ]
                  spids: [313 317 327 -1]
                )
              ]
              spids: [306 310 330]
            )
          ]
          spids: [209]
        )
      spids: [204 208]
    )
    (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: [361]
                )
              ]
            )
            (SimpleCommand
              words: [{(Lit_Other ':')}]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/available))}
                  spids: [370]
                )
              ]
            )
            (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: [406]
                        )
                      ]
                    )
                    (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 397]
                )
              ]
              spids: [-1 436]
            )
            (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: [454]
                        )
                      ]
                      spids: [452]
                    )
                    (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: [464 468]
                                )
                              )
                            }
                          spids: [462]
                        )
                      ]
                      spids: [460]
                    )
                    (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: [476 486]
                                )
                              )
                            }
                          spids: [474]
                        )
                      ]
                      spids: [472]
                    )
                    (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') ('Status: install ok installed')
                          )
                        }
                      ]
                      redirects: [
                        (Redir
                          op_id: Redir_DGreat
                          fd: -1
                          arg_word: {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/status))}
                          spids: [515]
                        )
                      ]
                    )
                    (C {(touch)} 
                      {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/info/) (${ VSub_Name pkg) (.list))}
                    )
                  ]
                  spids: [449]
                )
              spids: [444 448]
            )
            (C {(x_feign_install)} {(dpkg)})
          ]
          spids: [340]
        )
      spids: [335 339]
    )
    (FuncDef
      name: second_stage_install
      body: 
        (BraceGroup
          children: [
            (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: [578 584]
                            )
                          }
                        )
                      ]
                      negated: False
                    )
                  ]
                  spids: [560]
                )
              spids: [555 559]
            )
            (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: [606 610]
                                              )
                                            }
                                        )
                                    )
                                  spids: [601 612]
                                )
                              )
                            }
                          spids: [599]
                        )
                      ]
                      spids: [599]
                    )
                  ]
                  spids: [596]
                )
              spids: [591 595]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(setup_proc_fakechroot)})]
                  spids: [-1 627]
                )
              ]
              else_action: [(C {(setup_proc)}) (C {(in_target)} {(/sbin/ldconfig)})]
              spids: [633 644]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:DEBIAN_FRONTEND)
                  op: Equal
                  rhs: {(noninteractive)}
                  spids: [648]
                )
              ]
              spids: [648]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:DEBCONF_NONINTERACTIVE_SEEN)
                  op: Equal
                  rhs: {(true)}
                  spids: [652]
                )
              ]
              spids: [652]
            )
            (C {(export)} {(DEBIAN_FRONTEND)} {(DEBCONF_NONINTERACTIVE_SEEN)})
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[664])]
              spids: [664]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:bases) op:Equal rhs:{(7)} spids:[668])]
              spids: [668]
            )
            (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/Etc/UTC)} 
                      {(DQ ($ VSub_Name '$TARGET') (/etc/localtime))}
                    )
                  ]
                  spids: [-1 784]
                )
              ]
              spids: [-1 799]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(install_fakechroot_tools)})]
                  spids: [-1 810]
                )
              ]
              spids: [-1 816]
            )
            (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 929]
                )
              ]
              spids: [-1 937]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[941])]
              spids: [941]
            )
            (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: [946 957]
                      )
                    }
                  spids: [945]
                )
              ]
              spids: [945]
            )
            (C {(info)} {(UNPACKREQ)} {(DQ ('Unpacking required packages...'))})
            (Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (Subshell
                  child: 
                    (Pipeline
                      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: [1007 1011]
                              )
                            }
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 8
                              arg_word: {(1)}
                              spids: [1013]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 1
                              arg_word: {(7)}
                              spids: [1016]
                            )
                          ]
                        )
                        (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} 
                          {(UNPACKREQ)} {(DQ ('Unpacking required packages'))} {(UNPACKING)}
                        )
                      ]
                      negated: False
                    )
                  redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[1037])]
                  spids: [979 1035]
                )
              ]
              negated: False
            )
            (C {(info)} {(CONFREQ)} {(DQ ('Configuring required packages...'))})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(sed)} {(-i)} {(SQ <'/dpkg.*--compare-versions/ s/\\<lt\\>/lt-nl/'>)} 
                      {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/info/initscripts.postinst))}
                    )
                  ]
                  spids: [-1 1059]
                )
              ]
              spids: [-1 1080]
            )
            (SimpleCommand
              words: [{(echo)} {(DQ ('#!/bin/sh\n') ('exit 101'))}]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/policy-rc.d))}
                  spids: [1092]
                )
              ]
            )
            (C {(chmod)} {(755)} {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/policy-rc.d))})
            (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: [1136]
                )
              ]
            )
            (C {(chmod)} {(755)} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other '[')} {(-x)} {(DQ ($ VSub_Name '$TARGET') (/sbin/initctl))} 
                          {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/sbin/initctl))} 
                      {(DQ ($ VSub_Name '$TARGET') (/sbin/initctl.REAL))}
                    )
                    (SimpleCommand
                      words: [
                        {(echo)}
                        {
                          (DQ ('#!/bin/sh\n') ('if [ ') 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar '\\"'>
                            ) (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) (1) 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar '\\"'>
                            ) (' = version ]; then exec /sbin/initctl.REAL ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar '\\$'>
                            ) ('@') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ('; fi\n') ('echo\n') ('echo ') 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar '\\"'>
                            ) ('Warning: Fake initctl called, doing nothing') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>)
                          )
                        }
                      ]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: -1
                          arg_word: {(DQ ($ VSub_Name '$TARGET') (/sbin/initctl))}
                          spids: [1208]
                        )
                      ]
                    )
                    (C {(chmod)} {(755)} {(DQ ($ VSub_Name '$TARGET') (/sbin/initctl))})
                  ]
                  spids: [-1 1169]
                )
              ]
              spids: [-1 1226]
            )
            (C {(setup_dselect_method)} {(apt)})
            (Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (Subshell
                  child: 
                    (Pipeline
                      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: [1272]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 1
                              arg_word: {(7)}
                              spids: [1275]
                            )
                          ]
                        )
                        (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} 
                          {(CONFREQ)} {(DQ ('Configuring required packages'))} {(CONFIGURING)}
                        )
                      ]
                      negated: False
                    )
                  redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[1296])]
                  spids: [1244 1294]
                )
              ]
              negated: False
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[1301])]
              spids: [1301]
            )
            (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: [1307 1318]
                        )
                      )
                    }
                  spids: [1305]
                )
              ]
              spids: [1305]
            )
            (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:[1340])]
              spids: [1340]
            )
            (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: [1346 1348]
                              )
                            }
                          spids: [1345]
                        )
                      ]
                      spids: [1345]
                    )
                  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: [1371 1375]
                                                          )
                                                        )
                                                      } {(DQ ($ VSub_Name '$required'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [1367 1381]
                                            )
                                          )
                                        } {(DQ ($ VSub_Name '$done_predeps'))}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1363 1387]
                              )
                            }
                          spids: [1362]
                        )
                      ]
                      spids: [1362]
                    )
                    (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: [1421 1425]
                            )
                          }
                        )
                      ]
                      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: [1429 1439]
                              )
                            }
                          spids: [1428]
                        )
                      ]
                      spids: [1428]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:done_predeps)
                          op: Equal
                          rhs: {(DQ ($ VSub_Name '$done_predeps') (' ') ($ VSub_Name '$predep'))}
                          spids: [1442]
                        )
                      ]
                      spids: [1442]
                    )
                  ]
                  spids: [1351 1450]
                )
            )
            (Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (Subshell
                  child: 
                    (Pipeline
                      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: [1494 1498]
                              )
                            }
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 8
                              arg_word: {(1)}
                              spids: [1500]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 1
                              arg_word: {(7)}
                              spids: [1503]
                            )
                          ]
                        )
                        (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} 
                          {(UNPACKBASE)} {(DQ ('Unpacking base system'))} {(UNPACKING)}
                        )
                      ]
                      negated: False
                    )
                  redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[1524])]
                  spids: [1462 1522]
                )
              ]
              negated: False
            )
            (C {(info)} {(CONFBASE)} {(DQ ('Configuring the base system...'))})
            (Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (Subshell
                  child: 
                    (Pipeline
                      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: [1579]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 1
                              arg_word: {(7)}
                              spids: [1582]
                            )
                          ]
                        )
                        (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} 
                          {(CONFBASE)} {(DQ ('Configuring base system'))} {(CONFIGURING)}
                        )
                      ]
                      negated: False
                    )
                  redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[1603])]
                  spids: [1547 1601]
                )
              ]
              negated: False
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other '[')} {(-x)} {(DQ ($ VSub_Name '$TARGET') (/sbin/initctl.REAL))} 
                          {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/sbin/initctl.REAL))} 
                      {(DQ ($ VSub_Name '$TARGET') (/sbin/initctl))}
                    )
                  ]
                  spids: [-1 1622]
                )
              ]
              spids: [-1 1638]
            )
            (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon.REAL))} 
              {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))}
            )
            (C {(rm)} {(-f)} {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/policy-rc.d))})
            (C {(progress)} {($ VSub_Name '$bases')} {($ VSub_Name '$bases')} {(CONFBASE)} 
              {(DQ ('Configuring base system'))}
            )
            (C {(info)} {(BASESUCCESS)} {(DQ ('Base system installed successfully.'))})
          ]
          spids: [552]
        )
      spids: [547 551]
    )
  ]
)