(command.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/debian-archive-keyring.gpg)})
    (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 34]
        )
      ]
      spids: [16777215 61]
    )
    (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:[76])
                  op: Equal
                  rhs: {(DQ (libc6.1))}
                  spids: [76]
                )
              ]
              spids: [76]
            )
          ]
          spids: [71 74 81 16777215]
        )
        (case_arm
          pat_list: [{(kfreebsd-) (Lit_Other '*')}]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:LIBC spids:[88])
                  op: Equal
                  rhs: {(DQ (libc0.1))}
                  spids: [88]
                )
              ]
              spids: [88]
            )
          ]
          spids: [84 86 93 16777215]
        )
        (case_arm
          pat_list: [{(hurd-) (Lit_Other '*')}]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:LIBC spids:[100])
                  op: Equal
                  rhs: {(DQ (libc0.3))}
                  spids: [100]
                )
              ]
              spids: [100]
            )
          ]
          spids: [96 98 105 16777215]
        )
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:LIBC spids:[111])
                  op: Equal
                  rhs: {(DQ (libc6))}
                  spids: [111]
                )
              ]
              spids: [111]
            )
          ]
          spids: [108 109 116 16777215]
        )
      ]
      spids: [64 68 118]
    )
    (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:[129])
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (word_part.CommandSubPart
                          command_list: 
                            (command.CommandList
                              children: [(C {(get_debs)} {(Priority) (Lit_Other ':')} {(required)})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [131 138]
                        )
                      )
                    }
                  spids: [129]
                )
              ]
              spids: [129]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.AndOr
                          ops: [Op_DPipe]
                          children: [(C {(doing_variant)} {(-)}) (C {(doing_variant)} {(fakechroot)})]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[167])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(get_debs)} {(Priority) (Lit_Other ':')} {(important)})
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [169 176]
                                )
                              )
                            }
                          spids: [167]
                        )
                      ]
                      spids: [167]
                    )
                  ]
                  spids: [16777215 156]
                )
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(doing_variant)} {(buildd)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[190])
                          op: Equal
                          rhs: {(DQ ('apt build-essential'))}
                          spids: [190]
                        )
                      ]
                      spids: [190]
                    )
                  ]
                  spids: [180 187]
                )
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(doing_variant)} {(minbase)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[206])
                          op: Equal
                          rhs: {(DQ (apt))}
                          spids: [206]
                        )
                      ]
                      spids: [206]
                    )
                  ]
                  spids: [196 203]
                )
              ]
              spids: [16777215 212]
            )
            (command.If
              arms: [
                (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:required spids:[230])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$required') (' binutils'))}
                          spids: [230]
                        )
                      ]
                      spids: [230]
                    )
                  ]
                  spids: [16777215 223]
                )
              ]
              spids: [16777215 237]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$MIRRORS')}
              arms: [
                (case_arm
                  pat_list: [{(https) (Lit_Other ':') (//) (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[255])
                          op: Equal
                          rhs: 
                            {
                              (DQ ($ VSub_DollarName '$base') (' apt-transport-https ca-certificates'))
                            }
                          spids: [255]
                        )
                      ]
                      spids: [255]
                    )
                  ]
                  spids: [248 252 262 16777215]
                )
              ]
              spids: [241 245 265]
            )
          ]
          spids: [126]
        )
      spids: [121 125]
    )
    (command.FuncDef
      name: first_stage_install
      body: 
        (command.BraceGroup
          children: [
            (command.Case
              to_match: {(DQ ($ VSub_DollarName '$CODENAME'))}
              arms: [
                (case_arm
                  pat_list: [
                    {(etch)}
                    {(etch-m68k)}
                    {(jessie)}
                    {(jessie-kfreebsd)}
                    {(lenny)}
                    {(squeeze)}
                    {(wheezy)}
                  ]
                  spids: [287 300 302 16777215]
                )
                (case_arm
                  pat_list: [{(Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:EXTRACT_DEB_TAR_OPTIONS spids:[309])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$EXTRACT_DEB_TAR_OPTIONS') (' -k'))}
                          spids: [309]
                        )
                      ]
                      spids: [309]
                    )
                    (C {(setup_merged_usr)})
                  ]
                  spids: [305 306 319 16777215]
                )
              ]
              spids: [278 284 322]
            )
            (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 380]
                )
              ]
              spids: [16777215 419]
            )
            (C {(setup_devices)})
          ]
          spids: [275]
        )
      spids: [270 274]
    )
    (command.FuncDef
      name: second_stage_install
      body: 
        (command.BraceGroup
          children: [
            (C {(setup_dynamic_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:[450])
                          op: Equal
                          rhs: {(DQ ($ VSub_Number '$1'))}
                          spids: [450]
                        )
                      ]
                      spids: [448]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:deb spids:[458])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [(C {(debfor)} {($ VSub_DollarName '$pkg')})]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [460 464]
                                )
                              )
                            }
                          spids: [458]
                        )
                      ]
                      spids: [456]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:ver spids:[470])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(in_target)} {(dpkg-deb)} {(-f)} 
                                          {(DQ ($ VSub_DollarName '$deb'))} {(Version)}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [472 484]
                                )
                              )
                            }
                          spids: [470]
                        )
                      ]
                      spids: [468]
                    )
                    (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') ('Maintainer: unknown\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: [445]
                )
              spids: [440 444]
            )
            (C {(x_feign_install)} {(dpkg)})
            (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: [568 574]
                            )
                          }
                        )
                      ]
                      negated: F
                    )
                  ]
                  spids: [550]
                )
              spids: [545 549]
            )
            (command.FuncDef
              name: p
              body: 
                (command.BraceGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:baseprog spids:[589])
                          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: [596 600]
                                              )
                                            }
                                        )
                                    )
                                  spids: [591 602]
                                )
                              )
                            }
                          spids: [589]
                        )
                      ]
                      spids: [589]
                    )
                  ]
                  spids: [586]
                )
              spids: [581 585]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(doing_variant)} {(fakechroot)})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(setup_proc_fakechroot)})]
                  spids: [16777215 617]
                )
              ]
              else_action: [(C {(setup_proc)}) (C {(in_target)} {(/sbin/ldconfig)})]
              spids: [623 634]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:DEBIAN_FRONTEND spids:[638])
                  op: Equal
                  rhs: {(noninteractive)}
                  spids: [638]
                )
              ]
              spids: [638]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:DEBCONF_NONINTERACTIVE_SEEN spids:[642])
                  op: Equal
                  rhs: {(true)}
                  spids: [642]
                )
              ]
              spids: [642]
            )
            (C {(export)} {(DEBIAN_FRONTEND)} {(DEBCONF_NONINTERACTIVE_SEEN)})
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:baseprog spids:[654])
                  op: Equal
                  rhs: {(0)}
                  spids: [654]
                )
              ]
              spids: [654]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:bases spids:[658])
                  op: Equal
                  rhs: {(7)}
                  spids: [658]
                )
              ]
              spids: [658]
            )
            (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-passwd)})
            (C {(x_core_install)} {(base-files)})
            (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.SimpleCommand
              words: [{(exec)}]
              redirects: [(redir.Redir op:<Redir_GreatAnd '7>&'> fd:7 arg_word:{(1)})]
            )
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (command.Subshell
                  child: 
                    (command.AndOr
                      ops: [Op_DPipe]
                      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: [1004 1008]
                              )
                            }
                          ]
                          redirects: [
                            (redir.Redir
                              op: <Redir_GreatAnd '8>&'>
                              fd: 8
                              arg_word: {(1)}
                            )
                            (redir.Redir
                              op: <Redir_GreatAnd '1>&'>
                              fd: 1
                              arg_word: {(7)}
                            )
                          ]
                        )
                        (C {(echo)} {(EXITCODE)} {($ VSub_QMark '$?')})
                      ]
                    )
                  spids: [976 1023]
                )
                (C {(dpkg_progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} 
                  {(UNPACKREQ)} {(DQ ('Unpacking required packages'))} {(UNPACKING)}
                )
              ]
              negated: F
            )
            (C {(info)} {(CONFREQ)} {(DQ ('Configuring required packages...'))})
            (command.SimpleCommand
              words: [{(echo)} {(DQ ('#!/bin/sh\n') ('exit 101'))}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/policy-rc.d))}
                )
              ]
            )
            (C {(chmod)} {(755)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/policy-rc.d))})
            (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.AndOr
                      ops: [Op_DPipe]
                      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 {(echo)} {(EXITCODE)} {($ VSub_QMark '$?')})
                      ]
                    )
                  spids: [1139 1180]
                )
                (C {(dpkg_progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} 
                  {(CONFREQ)} {(DQ ('Configuring required packages'))} {(CONFIGURING)}
                )
              ]
              negated: F
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:baseprog spids:[1201])
                  op: Equal
                  rhs: {(0)}
                  spids: [1201]
                )
              ]
              spids: [1201]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:bases spids:[1205])
                  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: [1207 1218]
                        )
                      )
                    }
                  spids: [1205]
                )
              ]
              spids: [1205]
            )
            (C {(info)} {(UNPACKBASE)} {(DQ ('Unpacking the base system...'))})
            (C {(setup_available)} {($ VSub_DollarName '$required')} {($ VSub_DollarName '$base')})
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:done_predeps spids:[1240])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [1240]
                )
              ]
              spids: [1240]
            )
            (command.WhileUntil
              keyword: <KW_While while>
              cond: [
                (command.Sentence
                  child: 
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:predep spids:[1245])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [(C {(get_next_predep)})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1246 1248]
                              )
                            }
                          spids: [1245]
                        )
                      ]
                      spids: [1245]
                    )
                  terminator: <Op_Semi ';'>
                )
              ]
              body: 
                (command.DoGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:predep spids:[1262])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(without)} 
                                        {
                                          (DQ 
                                            (word_part.CommandSubPart
                                              command_list: 
                                                (command.CommandList
                                                  children: [
                                                    (C {(without)} 
                                                      {
                                                        (DQ 
                                                          (word_part.CommandSubPart
                                                            command_list: 
                                                              (command.CommandList
                                                                children: [
                                                                  (C {(resolve_deps)} 
                                                                    {($ VSub_DollarName '$predep')}
                                                                  )
                                                                ]
                                                              )
                                                            left_token: <Left_CommandSub '$('>
                                                            spids: [1271 1275]
                                                          )
                                                        )
                                                      } {(DQ ($ VSub_DollarName '$required'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [1267 1281]
                                            )
                                          )
                                        } {(DQ ($ VSub_DollarName '$done_predeps'))}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1263 1287]
                              )
                            }
                          spids: [1262]
                        )
                      ]
                      spids: [1262]
                    )
                    (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
                    (command.Pipeline
                      children: [
                        (C {(smallyes)} {(SQ )})
                        (C {(in_target)} {(dpkg)} {(--force-overwrite)} {(--force-confold)} 
                          {(--skip-same-version)} {(--install)} 
                          {
                            (word_part.CommandSubPart
                              command_list: 
                                (command.CommandList
                                  children: [(C {(debfor)} {($ VSub_DollarName '$predep')})]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [1321 1325]
                            )
                          }
                        )
                      ]
                      negated: F
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[1328])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(without)} {(DQ ($ VSub_DollarName '$base'))} 
                                        {(DQ ($ VSub_DollarName '$predep'))}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1329 1339]
                              )
                            }
                          spids: [1328]
                        )
                      ]
                      spids: [1328]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:done_predeps spids:[1342])
                          op: Equal
                          rhs: 
                            {
                              (DQ ($ VSub_DollarName '$done_predeps') (' ') 
                                ($ VSub_DollarName '$predep')
                              )
                            }
                          spids: [1342]
                        )
                      ]
                      spids: [1342]
                    )
                  ]
                  spids: [1251 1350]
                )
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$base'))} {(Lit_Other ']')})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Pipeline
                      children: [
                        (C {(smallyes)} {(SQ )})
                        (command.Subshell
                          child: 
                            (command.AndOr
                              ops: [Op_DPipe]
                              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: [1410 1414]
                                      )
                                    }
                                  ]
                                  redirects: [
                                    (redir.Redir
                                      op: <Redir_GreatAnd '8>&'>
                                      fd: 8
                                      arg_word: {(1)}
                                    )
                                    (redir.Redir
                                      op: <Redir_GreatAnd '1>&'>
                                      fd: 1
                                      arg_word: {(7)}
                                    )
                                  ]
                                )
                                (C {(echo)} {(EXITCODE)} {($ VSub_QMark '$?')})
                              ]
                            )
                          spids: [1378 1429]
                        )
                        (C {(dpkg_progress)} {($ VSub_DollarName '$baseprog')} 
                          {($ VSub_DollarName '$bases')} {(UNPACKBASE)} {(DQ ('Unpacking base system'))} {(UNPACKING)}
                        )
                      ]
                      negated: F
                    )
                    (C {(info)} {(CONFBASE)} {(DQ ('Configuring the base system...'))})
                    (command.Pipeline
                      children: [
                        (C {(smallyes)} {(SQ )})
                        (command.Subshell
                          child: 
                            (command.AndOr
                              ops: [Op_DPipe]
                              children: [
                                (command.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.Redir
                                      op: <Redir_GreatAnd '8>&'>
                                      fd: 8
                                      arg_word: {(1)}
                                    )
                                    (redir.Redir
                                      op: <Redir_GreatAnd '1>&'>
                                      fd: 1
                                      arg_word: {(7)}
                                    )
                                  ]
                                )
                                (C {(echo)} {(EXITCODE)} {($ VSub_QMark '$?')})
                              ]
                            )
                          spids: [1468 1513]
                        )
                        (C {(dpkg_progress)} {($ VSub_DollarName '$baseprog')} 
                          {($ VSub_DollarName '$bases')} {(CONFBASE)} {(DQ ('Configuring base system'))} {(CONFIGURING)}
                        )
                      ]
                      negated: F
                    )
                  ]
                  spids: [16777215 1367]
                )
              ]
              spids: [16777215 1533]
            )
            (C {(mv)} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon.REAL))} 
              {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))}
            )
            (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/policy-rc.d))})
            (C {(progress)} {($ VSub_DollarName '$bases')} {($ VSub_DollarName '$bases')} {(CONFBASE)} 
              {(DQ ('Configuring base system'))}
            )
            (C {(info)} {(BASESUCCESS)} {(DQ ('Base system installed successfully.'))})
          ]
          spids: [433]
        )
      spids: [428 432]
    )
  ]
)