(command.CommandList
  children: [
    (command.Case
      to_match: {($ VSub_DollarName '$ARCH')}
      arms: [
        (case_arm
          pat_list: [{(amd64)} {(i386)} {(powerpc)} {(sparc)}]
          action: [(C {(default_mirror)} {(http) (Lit_Other ':') (//archive.ubuntu.com/ubuntu)})]
          spids: [7 14 24 16777215]
        )
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [(C {(default_mirror)} {(http) (Lit_Other ':') (//ports.ubuntu.com/ubuntu-ports)})]
          spids: [27 28 38 16777215]
        )
      ]
      spids: [0 4 40]
    )
    (C {(mirror_style)} {(release)})
    (C {(download_style)} {(apt)})
    (C {(finddebs_style)} {(from-indices)})
    (C {(variants)} {(-)} {(buildd)} {(fakechroot)})
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (C {(doing_variant)} {(fakechroot)})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(test)} {(DQ ($ VSub_DollarName '$FAKECHROOT'))} {(Lit_Other '=')} {(DQ (true))})
                (C {(error)} {(1)} {(FAKECHROOTREQ)} 
                  {(DQ ('This variant requires fakechroot environment to be started'))}
                )
              ]
            )
          ]
          spids: [16777215 70]
        )
      ]
      spids: [16777215 97]
    )
    (command.Case
      to_match: {($ VSub_DollarName '$ARCH')}
      arms: [
        (case_arm
          pat_list: [{(alpha)} {(ia64)}]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:LIBC spids:[112])
                  op: Equal
                  rhs: {(DQ (libc6.1))}
                  spids: [112]
                )
              ]
              spids: [112]
            )
          ]
          spids: [107 110 117 16777215]
        )
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:LIBC spids:[123])
                  op: Equal
                  rhs: {(DQ (libc6))}
                  spids: [123]
                )
              ]
              spids: [123]
            )
          ]
          spids: [120 121 128 16777215]
        )
      ]
      spids: [100 104 130]
    )
    (command.FuncDef
      name: work_out_debs
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:required spids:[141])
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (word_part.CommandSubPart
                          command_list: 
                            (command.CommandList
                              children: [(C {(get_debs)} {(Priority) (Lit_Other ':')} {(required)})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [143 150]
                        )
                      )
                    }
                  spids: [141]
                )
              ]
              spids: [141]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(command.Sentence child:(C {(doing_variant)} {(-)}) terminator:<Op_Semi ';'>)]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[173])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(get_debs)} {(Priority) (Lit_Other ':')} {(important)})
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [175 182]
                                )
                              )
                            }
                          spids: [173]
                        )
                      ]
                      spids: [173]
                    )
                  ]
                  spids: [16777215 162]
                )
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(doing_variant)} {(buildd)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.FuncDef
                      name: add
                      body: 
                        (command.BraceGroup
                          children: [
                            (command.Sentence
                              child: 
                                (command.If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (command.Sentence
                                          child: 
                                            (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$ARCH'))} 
                                              {(Lit_Other '=')} {(DQ ($ VSub_Number '$1'))} {(Lit_Other ']')}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (command.Sentence
                                          child: 
                                            (C {(eval)} 
                                              {
                                                (DQ ($ VSub_Number '$2') ('=') 
                                                  (word_part.EscapedLiteralPart
                                                    token: <Lit_EscapedChar '\\"'>
                                                  ) (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ($ VSub_Number '$2') (' ') 
                                                  ($ VSub_Number '$3') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>)
                                                )
                                              }
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [16777215 229]
                                    )
                                  ]
                                  spids: [16777215 245]
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          spids: [210]
                        )
                      spids: [205 209]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[252])
                          op: Equal
                          rhs: 
                            {
                              (DQ ('apt binutils cpio cpp cpp-4.1 dpkg-dev g++ g++-4.1 gcc gcc-4.1 ') 
                                (${ VSub_Name LIBC) ('-dev libdb4.4 libgdbm3 libstdc++6 libstdc++6-4.1-dev linux-libc-dev make patch perl perl-modules')
                              )
                            }
                          spids: [252]
                        )
                      ]
                      spids: [252]
                    )
                    (C {(add)} {(ia64)} {(base)} {(DQ (libunwind7-dev))})
                    (C {(add)} {(sparc)} {(base)} {(DQ (lib64gcc1))})
                    (C {(add)} {(sparc)} {(base)} {(DQ (libc6-dev-sparc64))})
                    (C {(add)} {(sparc)} {(base)} {(DQ (libc6-sparc64))})
                  ]
                  spids: [186 193]
                )
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[317])
                          op: Equal
                          rhs: {(DQ (apt))}
                          spids: [317]
                        )
                      ]
                      spids: [317]
                    )
                  ]
                  spids: [307 314]
                )
              ]
              spids: [16777215 323]
            )
          ]
          spids: [138]
        )
      spids: [133 137]
    )
    (command.FuncDef
      name: first_stage_install
      body: 
        (command.BraceGroup
          children: [
            (C {(extract)} {($ VSub_DollarName '$required')})
            (C {(mkdir)} {(-p)} {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg))})
            (command.SimpleCommand
              words: [{(Lit_Other ':')}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/status))}
                )
              ]
            )
            (command.SimpleCommand
              words: [{(Lit_Other ':')}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/available))}
                )
              ]
            )
            (C {(setup_etc)})
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} 
                          {(DQ ($ VSub_DollarName '$TARGET') (/etc/fstab))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.SimpleCommand
                      words: [{(echo)} {(SQ <'# UNCONFIGURED FSTAB FOR BASE SYSTEM'>)}]
                      redirects: [
                        (redir.Redir
                          op: <Redir_Great '>'>
                          fd: 16777215
                          arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/etc/fstab))}
                        )
                      ]
                    )
                    (command.Sentence
                      child: 
                        (C {(chown)} {(0) (Lit_Other ':') (0)} 
                          {(DQ ($ VSub_DollarName '$TARGET') (/etc/fstab))}
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (C {(chmod)} {(644)} {(DQ ($ VSub_DollarName '$TARGET') (/etc/fstab))})
                  ]
                  spids: [16777215 390]
                )
              ]
              spids: [16777215 429]
            )
            (C {(setup_devices)})
            (command.FuncDef
              name: x_feign_install
              body: 
                (command.BraceGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:pkg spids:[447])
                          op: Equal
                          rhs: {(DQ ($ VSub_Number '$1'))}
                          spids: [447]
                        )
                      ]
                      spids: [445]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:deb spids:[455])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [(C {(debfor)} {($ VSub_DollarName '$pkg')})]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [457 461]
                                )
                              )
                            }
                          spids: [455]
                        )
                      ]
                      spids: [453]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:ver spids:[467])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(extract_deb_field)} 
                                          {
                                            (DQ ($ VSub_DollarName '$TARGET') (/) 
                                              ($ VSub_DollarName '$deb')
                                            )
                                          } {(Version)}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [469 479]
                                )
                              )
                            }
                          spids: [467]
                        )
                      ]
                      spids: [465]
                    )
                    (C {(mkdir)} {(-p)} {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/info))})
                    (command.SimpleCommand
                      words: [
                        {(echo)}
                        {
                          (DQ ('Package: ') ($ VSub_DollarName '$pkg') ('\n') ('Version: ') 
                            ($ VSub_DollarName '$ver') ('\n') ('Status: install ok installed')
                          )
                        }
                      ]
                      redirects: [
                        (redir.Redir
                          op: <Redir_DGreat '>>'>
                          fd: 16777215
                          arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/status))}
                        )
                      ]
                    )
                    (C {(touch)} 
                      {
                        (DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/info/) (${ VSub_Name pkg) 
                          (.list)
                        )
                      }
                    )
                  ]
                  spids: [442]
                )
              spids: [437 441]
            )
            (C {(x_feign_install)} {(dpkg)})
          ]
          spids: [333]
        )
      spids: [328 332]
    )
    (command.FuncDef
      name: second_stage_install
      body: 
        (command.BraceGroup
          children: [
            (command.FuncDef
              name: x_core_install
              body: 
                (command.BraceGroup
                  children: [
                    (command.Pipeline
                      children: [
                        (C {(smallyes)} {(SQ )})
                        (C {(in_target)} {(dpkg)} {(--force-depends)} {(--install)} 
                          {
                            (word_part.CommandSubPart
                              command_list: 
                                (command.CommandList
                                  children: [(C {(debfor)} {(DQ ($ VSub_At '$@'))})]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [571 577]
                            )
                          }
                        )
                      ]
                      negated: F
                    )
                  ]
                  spids: [553]
                )
              spids: [548 552]
            )
            (command.FuncDef
              name: p
              body: 
                (command.BraceGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:baseprog spids:[592])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.ArithSubPart
                                  anode: 
                                    (arith_expr.ArithBinary
                                      op_id: Arith_Plus
                                      left: (arith_expr.ArithWord w:{($ VSub_DollarName '$baseprog')})
                                      right: 
                                        (arith_expr.ArithWord
                                          w: 
                                            {
                                              (word_part.BracedVarSub
                                                token: <VSub_Number 1>
                                                suffix_op: 
                                                  (suffix_op.StringUnary
                                                    op_id: VTest_ColonHyphen
                                                    arg_word: {(1)}
                                                  )
                                                spids: [599 603]
                                              )
                                            }
                                        )
                                    )
                                  spids: [594 605]
                                )
                              )
                            }
                          spids: [592]
                        )
                      ]
                      spids: [592]
                    )
                  ]
                  spids: [589]
                )
              spids: [584 588]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(setup_proc_fakechroot)})]
                  spids: [16777215 620]
                )
              ]
              else_action: [(C {(setup_proc)}) (C {(in_target)} {(/sbin/ldconfig)})]
              spids: [626 637]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:DEBIAN_FRONTEND spids:[641])
                  op: Equal
                  rhs: {(noninteractive)}
                  spids: [641]
                )
              ]
              spids: [641]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:DEBCONF_NONINTERACTIVE_SEEN spids:[645])
                  op: Equal
                  rhs: {(true)}
                  spids: [645]
                )
              ]
              spids: [645]
            )
            (C {(export)} {(DEBIAN_FRONTEND)} {(DEBCONF_NONINTERACTIVE_SEEN)})
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:baseprog spids:[657])
                  op: Equal
                  rhs: {(0)}
                  spids: [657]
                )
              ]
              spids: [657]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:bases spids:[661])
                  op: Equal
                  rhs: {(7)}
                  spids: [661]
                )
              ]
              spids: [661]
            )
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(info)} {(INSTCORE)} {(DQ ('Installing core packages...'))})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(ln)} {(-sf)} {(mawk)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/bin/awk))})
            (C {(x_core_install)} {(base-files)} {(base-passwd)})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(x_core_install)} {(dpkg)})
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} 
                          {(DQ ($ VSub_DollarName '$TARGET') (/etc/localtime))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(ln)} {(-sf)} {(/usr/share/zoneinfo/UTC)} 
                      {(DQ ($ VSub_DollarName '$TARGET') (/etc/localtime))}
                    )
                  ]
                  spids: [16777215 774]
                )
              ]
              spids: [16777215 789]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(install_fakechroot_tools)})]
                  spids: [16777215 800]
                )
              ]
              spids: [16777215 806]
            )
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(x_core_install)} {($ VSub_DollarName '$LIBC')})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(x_core_install)} {(perl-base)})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (C {(rm)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/bin/awk))})
            (C {(x_core_install)} {(mawk)})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTCORE)} 
              {(DQ ('Installing core packages'))}
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(command.Sentence child:(C {(doing_variant)} {(-)}) terminator:<Op_Semi ';'>)]
                  action: [(C {(x_core_install)} {(debconf)})]
                  spids: [16777215 919]
                )
              ]
              spids: [16777215 927]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:baseprog spids:[931])
                  op: Equal
                  rhs: {(0)}
                  spids: [931]
                )
              ]
              spids: [931]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:bases spids:[935])
                  op: Equal
                  rhs: 
                    {
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (command.Sentence
                                child: (C {(set)} {(--)} {($ VSub_DollarName '$required')})
                                terminator: <Op_Semi ';'>
                              )
                              (C {(echo)} {($ VSub_Pound '$#')})
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [936 947]
                      )
                    }
                  spids: [935]
                )
              ]
              spids: [935]
            )
            (C {(info)} {(UNPACKREQ)} {(DQ ('Unpacking required packages...'))})
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (command.Subshell
                  child: 
                    (command.Pipeline
                      children: [
                        (command.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)}
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [(C {(debfor)} {($ VSub_DollarName '$required')})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [997 1001]
                              )
                            }
                          ]
                          redirects: [
                            (redir.Redir
                              op: <Redir_GreatAnd '8>&'>
                              fd: 8
                              arg_word: {(1)}
                            )
                            (redir.Redir
                              op: <Redir_GreatAnd '1>&'>
                              fd: 1
                              arg_word: {(7)}
                            )
                          ]
                        )
                        (C {(dpkg_progress)} {($ VSub_DollarName '$baseprog')} 
                          {($ VSub_DollarName '$bases')} {(UNPACKREQ)} {(DQ ('Unpacking required packages'))} {(UNPACKING)}
                        )
                      ]
                      negated: F
                    )
                  redirects: [(redir.Redir op:<Redir_GreatAnd '7>&'> fd:7 arg_word:{(1)})]
                  spids: [969 1025]
                )
              ]
              negated: F
            )
            (C {(info)} {(CONFREQ)} {(DQ ('Configuring required packages...'))})
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(sed)} {(-i)} {(SQ <'/dpkg.*--compare-versions/ s/\\<lt\\>/lt-nl/'>)} 
                      {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/info/initscripts.postinst))}
                    )
                    (C {(rm)} 
                      {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/info/libdevmapper1)) 
                        (Lit_Other '*') (.postinst)
                      }
                    )
                  ]
                  spids: [16777215 1049]
                )
              ]
              spids: [16777215 1085]
            )
            (C {(mv)} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))} 
              {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon.REAL))}
            )
            (command.SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ ('#!/bin/sh\n') ('echo\n') ('echo ') 
                    (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ('Warning: Fake start-stop-daemon called, doing nothing') 
                    (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>)
                  )
                }
              ]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))}
                )
              ]
            )
            (C {(chmod)} {(755)} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))})
            (C {(setup_dselect_method)} {(apt)})
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (command.Subshell
                  child: 
                    (command.Pipeline
                      children: [
                        (command.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.Redir
                              op: <Redir_GreatAnd '8>&'>
                              fd: 8
                              arg_word: {(1)}
                            )
                            (redir.Redir
                              op: <Redir_GreatAnd '1>&'>
                              fd: 1
                              arg_word: {(7)}
                            )
                          ]
                        )
                        (C {(dpkg_progress)} {($ VSub_DollarName '$baseprog')} 
                          {($ VSub_DollarName '$bases')} {(CONFREQ)} {(DQ ('Configuring required packages'))} {(CONFIGURING)}
                        )
                      ]
                      negated: F
                    )
                  redirects: [(redir.Redir op:<Redir_GreatAnd '7>&'> fd:7 arg_word:{(1)})]
                  spids: [1147 1197]
                )
              ]
              negated: F
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:baseprog spids:[1204])
                  op: Equal
                  rhs: {(0)}
                  spids: [1204]
                )
              ]
              spids: [1204]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:bases spids:[1208])
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (word_part.CommandSubPart
                          command_list: 
                            (command.CommandList
                              children: [
                                (command.Sentence
                                  child: (C {(set)} {(--)} {($ VSub_DollarName '$base')})
                                  terminator: <Op_Semi ';'>
                                )
                                (C {(echo)} {($ VSub_Pound '$#')})
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [1210 1221]
                        )
                      )
                    }
                  spids: [1208]
                )
              ]
              spids: [1208]
            )
            (C {(info)} {(UNPACKBASE)} {(DQ ('Unpacking the base system...'))})
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (command.Subshell
                  child: 
                    (command.Pipeline
                      children: [
                        (command.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)}
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [(C {(debfor)} {($ VSub_DollarName '$base')})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1276 1280]
                              )
                            }
                          ]
                          redirects: [
                            (redir.Redir
                              op: <Redir_GreatAnd '8>&'>
                              fd: 8
                              arg_word: {(1)}
                            )
                            (redir.Redir
                              op: <Redir_GreatAnd '1>&'>
                              fd: 1
                              arg_word: {(7)}
                            )
                          ]
                        )
                        (C {(dpkg_progress)} {($ VSub_DollarName '$baseprog')} 
                          {($ VSub_DollarName '$bases')} {(UNPACKBASE)} {(DQ ('Unpacking base system'))} {(UNPACKING)}
                        )
                      ]
                      negated: F
                    )
                  redirects: [(redir.Redir op:<Redir_GreatAnd '7>&'> fd:7 arg_word:{(1)})]
                  spids: [1244 1304]
                )
              ]
              negated: F
            )
            (C {(info)} {(CONFBASE)} {(DQ ('Configuring the base system...'))})
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (command.Subshell
                  child: 
                    (command.Pipeline
                      children: [
                        (command.SimpleCommand
                          words: [
                            {(repeatn)}
                            {(5)}
                            {(in_target_failmsg)}
                            {(CONF_BASE_FAIL_FIVE)}
                            {
                              (DQ 
                                (
'Failure while configuring base packages.  This will be attempted 5 times.'
                                )
                              )
                            }
                            {(DQ )}
                            {(dpkg)}
                            {(--status-fd)}
                            {(8)}
                            {(--force-confold)}
                            {(--skip-same-version)}
                            {(--configure)}
                            {(-a)}
                          ]
                          redirects: [
                            (redir.Redir
                              op: <Redir_GreatAnd '8>&'>
                              fd: 8
                              arg_word: {(1)}
                            )
                            (redir.Redir
                              op: <Redir_GreatAnd '1>&'>
                              fd: 1
                              arg_word: {(7)}
                            )
                          ]
                        )
                        (C {(dpkg_progress)} {($ VSub_DollarName '$baseprog')} 
                          {($ VSub_DollarName '$bases')} {(CONFBASE)} {(DQ ('Configuring base system'))} {(CONFIGURING)}
                        )
                      ]
                      negated: F
                    )
                  redirects: [(redir.Redir op:<Redir_GreatAnd '7>&'> fd:7 arg_word:{(1)})]
                  spids: [1329 1383]
                )
              ]
              negated: F
            )
            (C {(mv)} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon.REAL))} 
              {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))}
            )
            (C {(progress)} {($ VSub_DollarName '$bases')} {($ VSub_DollarName '$bases')} {(CONFBASE)} 
              {(DQ ('Configuring base system'))}
            )
            (C {(info)} {(BASESUCCESS)} {(DQ ('Base system installed successfully.'))})
          ]
          spids: [545]
        )
      spids: [540 544]
    )
  ]
)