(command.CommandList
  children: [
    (C {(mirror_style)} {(release)})
    (C {(download_style)} {(apt)})
    (C {(force_md5)})
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:LIBC spids:[11])
          op: Equal
          rhs: {(libc6)}
          spids: [11]
        )
      ]
      spids: [11]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$ARCH'))} {(Lit_Other '=')} 
                      {(DQ (alpha))} {(Lit_Other ']')}
                    )
                    (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$ARCH'))} {(Lit_Other '=')} 
                      {(DQ (ia64))} {(Lit_Other ']')}
                    )
                  ]
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:LIBC spids:[50])
                  op: Equal
                  rhs: {(DQ (libc6.1))}
                  spids: [50]
                )
              ]
              spids: [50]
            )
          ]
          spids: [16777215 47]
        )
      ]
      spids: [16777215 55]
    )
    (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:[67])
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (
'base-files base-passwd bash bsdutils debconf debianutils diff dpkg e2fsprogs fileutils findutils grep gzip hostname libcap1 libc6 libdb2 libdb3 libncurses5 libnewt0 libpam-modules libpam-runtime libpam0g libperl5.6 libpopt0 libreadline4 libstdc++2.10-glibc2.2 login makedev mawk modutils mount ncurses-base ncurses-bin passwd perl-base procps sed shellutils slang1 sysvinit tar textutils util-linux whiptail'
                        )
                      )
                    }
                  spids: [67]
                )
              ]
              spids: [67]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:base spids:[74])
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (
'adduser apt apt-utils at base-config bsdmainutils console-common console-tools console-tools-libs console-data cpio cron dhcp-client ed exim fdutils gettext-base groff-base ifupdown info klogd libident libldap2 liblockfile1 libpcre3 libsasl7 libwrap0 logrotate mailx man-db manpages modconf nano net-tools netbase netkit-inetd netkit-ping nvi ppp pppconfig pppoe pppoeconf libpcap0 sysklogd tasksel tcpd telnet'
                        )
                      )
                    }
                  spids: [74]
                )
              ]
              spids: [74]
            )
            (command.FuncDef
              name: without_package
              body: 
                (command.BraceGroup
                  children: [
                    (command.Pipeline
                      children: [
                        (C {(echo)} {(DQ ($ VSub_Number '$2'))})
                        (C {(tr)} {(SQ <' '>)} {(SQ <'\\n'>)})
                        (C {(grep)} {(-v)} {(DQ ('^') ($ VSub_Number '$1') (Lit_Other '$'))})
                        (C {(tr)} {(SQ <'\\n'>)} {(SQ <' '>)})
                      ]
                      negated: F
                    )
                  ]
                  spids: [86]
                )
              spids: [81 85]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[136])
                  op: Equal
                  rhs: {(iptables)}
                  spids: [136]
                )
              ]
              spids: [136]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$ARCH')}
              arms: [
                (case_arm
                  pat_list: [{(DQ (alpha))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:required spids:[154])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (libc6))} 
                                          {(DQ ($ VSub_DollarName '$required'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [156 166]
                                ) (' libc6.1')
                              )
                            }
                          spids: [154]
                        )
                      ]
                      spids: [154]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[171])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$base') (' setserial aboot pciutils'))}
                          spids: [171]
                        )
                      ]
                      spids: [171]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[178])
                          op: Equal
                          rhs: {(DQ (ipchains))}
                          spids: [178]
                        )
                      ]
                      spids: [178]
                    )
                  ]
                  spids: [148 151 184 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (arm))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[193])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$base') (' setserial libgpmg1'))}
                          spids: [193]
                        )
                      ]
                      spids: [193]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[200])
                          op: Equal
                          rhs: {(DQ ('ipchains iptables'))}
                          spids: [200]
                        )
                      ]
                      spids: [200]
                    )
                  ]
                  spids: [187 190 206 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (i386))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:required spids:[215])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (libperl5.6))} 
                                          {(DQ ($ VSub_DollarName '$required'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [217 227]
                                ) (' mbr')
                              )
                            }
                          spids: [215]
                        )
                      ]
                      spids: [215]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[232])
                          op: Equal
                          rhs: 
                            {
                              (DQ ($ VSub_DollarName '$base') 
                                (' lilo pciutils setserial syslinux psmisc pcmcia-cs')
                              )
                            }
                          spids: [232]
                        )
                      ]
                      spids: [232]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[239])
                          op: Equal
                          rhs: {(DQ ('ipchains iptables'))}
                          spids: [239]
                        )
                      ]
                      spids: [239]
                    )
                  ]
                  spids: [209 212 245 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (ia64))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:required spids:[254])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (libc6))} 
                                          {(DQ ($ VSub_DollarName '$required'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [256 266]
                                ) (' libc6.1 gcc-2.96-base')
                              )
                            }
                          spids: [254]
                        )
                      ]
                      spids: [254]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[271])
                          op: Equal
                          rhs: 
                            {
                              (DQ ($ VSub_DollarName '$base') 
                                (' elilo efibootmgr dosfstools libparted1.4 parted')
                              )
                            }
                          spids: [271]
                        )
                      ]
                      spids: [271]
                    )
                  ]
                  spids: [248 251 278 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (m68k))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[287])
                          op: Equal
                          rhs: 
                            {
                              (DQ ($ VSub_DollarName '$base') 
                                (
' atari-bootstrap atari-fdisk amiga-fdisk eject mac-fdisk pmac-fdisk-cross setserial vmelilo'
                                )
                              )
                            }
                          spids: [287]
                        )
                      ]
                      spids: [287]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[294])
                          op: Equal
                          rhs: {(DQ (ipchains))}
                          spids: [294]
                        )
                      ]
                      spids: [294]
                    )
                  ]
                  spids: [281 284 300 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (powerpc))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[309])
                          op: Equal
                          rhs: 
                            {
                              (DQ ($ VSub_DollarName '$base') 
                                (
' quik mac-fdisk amiga-fdisk psmisc powerpc-utils setserial pciutils hfsutils yaboot pcmcia-cs'
                                )
                              )
                            }
                          spids: [309]
                        )
                      ]
                      spids: [309]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[316])
                          op: Equal
                          rhs: {(DQ ('ipchains iptables'))}
                          spids: [316]
                        )
                      ]
                      spids: [316]
                    )
                  ]
                  spids: [303 306 322 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (sparc))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[331])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$base') (' silo eject pciutils sparc-utils'))}
                          spids: [331]
                        )
                      ]
                      spids: [331]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[338])
                          op: Equal
                          rhs: {(DQ ('ipchains iptables'))}
                          spids: [338]
                        )
                      ]
                      spids: [338]
                    )
                  ]
                  spids: [325 328 344 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (mips))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[353])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$base') (' dvhtool pciutils setserial'))}
                          spids: [353]
                        )
                      ]
                      spids: [353]
                    )
                  ]
                  spids: [347 350 363 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (mipsel))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[372])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$base') (' delo pciutils setserial'))}
                          spids: [372]
                        )
                      ]
                      spids: [372]
                    )
                  ]
                  spids: [366 369 382 16777215]
                )
                (case_arm
                  pat_list: [{(DQ (hppa))}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[391])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$base') (' palo libstdc++3 gcc-3.0-base'))}
                          spids: [391]
                        )
                      ]
                      spids: [391]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:required spids:[398])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ ('libstdc++2.10-glibc2.2'))} 
                                          {(DQ ($ VSub_DollarName '$required'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [400 410]
                                )
                              )
                            }
                          spids: [398]
                        )
                      ]
                      spids: [398]
                    )
                  ]
                  spids: [385 388 414 16777215]
                )
                (case_arm
                  pat_list: [{(s390)} {(s390x)}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[431])
                          op: Equal
                          rhs: {(DQ ($ VSub_DollarName '$base') (' s390-tools telnetd devfsd'))}
                          spids: [431]
                        )
                      ]
                      spids: [431]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[438])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (console-tools))} 
                                          {(DQ ($ VSub_DollarName '$base'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [440 450]
                                )
                              )
                            }
                          spids: [438]
                        )
                      ]
                      spids: [438]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[454])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (console-tools-libs))} 
                                          {(DQ ($ VSub_DollarName '$base'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [456 466]
                                )
                              )
                            }
                          spids: [454]
                        )
                      ]
                      spids: [454]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[470])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (fdutils))} 
                                          {(DQ ($ VSub_DollarName '$base'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [472 482]
                                )
                              )
                            }
                          spids: [470]
                        )
                      ]
                      spids: [470]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[486])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (ppp))} 
                                          {(DQ ($ VSub_DollarName '$base'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [488 498]
                                )
                              )
                            }
                          spids: [486]
                        )
                      ]
                      spids: [486]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[502])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (pppconfig))} 
                                          {(DQ ($ VSub_DollarName '$base'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [504 514]
                                )
                              )
                            }
                          spids: [502]
                        )
                      ]
                      spids: [502]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[518])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (pppoe))} 
                                          {(DQ ($ VSub_DollarName '$base'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [520 530]
                                )
                              )
                            }
                          spids: [518]
                        )
                      ]
                      spids: [518]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:base spids:[534])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(without_package)} {(DQ (pppoeconf))} 
                                          {(DQ ($ VSub_DollarName '$base'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [536 546]
                                )
                              )
                            }
                          spids: [534]
                        )
                      ]
                      spids: [534]
                    )
                  ]
                  spids: [417 420 550 16777215]
                )
                (case_arm pat_list:[{(Lit_Other '*')}] spids:[553 554 561 16777215])
              ]
              spids: [141 145 564]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:base spids:[568])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$base') (' ') ($ VSub_DollarName '$IPFWTOOL'))}
                  spids: [568]
                )
              ]
              spids: [568]
            )
          ]
          spids: [63]
        )
      spids: [58 62]
    )
    (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: [{(echo)}]
              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 640]
                )
              ]
              spids: [16777215 679]
            )
            (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:[697])
                          op: Equal
                          rhs: {(DQ ($ VSub_Number '$1'))}
                          spids: [697]
                        )
                      ]
                      spids: [695]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:deb spids:[705])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [(C {(debfor)} {($ VSub_DollarName '$pkg')})]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [707 711]
                                )
                              )
                            }
                          spids: [705]
                        )
                      ]
                      spids: [703]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:ver spids:[717])
                          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: [719 729]
                                )
                              )
                            }
                          spids: [717]
                        )
                      ]
                      spids: [715]
                    )
                    (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: [692]
                )
              spids: [687 691]
            )
            (C {(x_feign_install)} {(dpkg)})
          ]
          spids: [583]
        )
      spids: [578 582]
    )
    (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: [821 827]
                            )
                          }
                        )
                      ]
                      negated: F
                    )
                  ]
                  spids: [803]
                )
              spids: [798 802]
            )
            (command.FuncDef
              name: p
              body: 
                (command.BraceGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:baseprog spids:[842])
                          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: [849 853]
                                              )
                                            }
                                        )
                                    )
                                  spids: [844 855]
                                )
                              )
                            }
                          spids: [842]
                        )
                      ]
                      spids: [842]
                    )
                  ]
                  spids: [839]
                )
              spids: [834 838]
            )
            (C {(setup_proc)})
            (C {(in_target)} {(/sbin/ldconfig)})
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:DEBIAN_FRONTEND spids:[872])
                  op: Equal
                  rhs: {(Noninteractive)}
                  spids: [872]
                )
              ]
              spids: [872]
            )
            (C {(export)} {(DEBIAN_FRONTEND)})
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:baseprog spids:[882])
                  op: Equal
                  rhs: {(0)}
                  spids: [882]
                )
              ]
              spids: [882]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:bases spids:[886])
                  op: Equal
                  rhs: {(40)}
                  spids: [886]
                )
              ]
              spids: [886]
            )
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (C {(info)} {(INSTCORE)} {(DQ ('Installing core packages...'))})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (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')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (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 999]
                )
              ]
              spids: [16777215 1014]
            )
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (C {(x_core_install)} {($ VSub_DollarName '$LIBC')})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (C {(x_core_install)} {(perl-base)})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (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')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (C {(x_core_install)} {(debconf)})
            (C {(info)} {(UNPACKREQ)} {(DQ ('Unpacking required packages...'))})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (C {(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)} {(--force-depends)} {(--unpack)} 
                  {
                    (word_part.CommandSubPart
                      command_list: 
                        (command.CommandList
                          children: [(C {(debfor)} {($ VSub_DollarName '$required')})]
                        )
                      left_token: <Left_CommandSub '$('>
                      spids: [1181 1185]
                    )
                  }
                )
              ]
              negated: F
            )
            (command.Sentence child:(C {(p)} {(10)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (C {(info)} {(CONFREQ)} {(DQ ('Configuring required packages...'))})
            (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.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (C {(in_target_failmsg)} {(CONF_REQ_FAIL)} 
                  {(DQ ('Failure while configuring required packages.'))} {(DQ )} {(dpkg)} {(--configure)} {(--pending)} {(--force-configure-any)} {(--force-depends)}
                )
              ]
              negated: F
            )
            (command.Sentence child:(C {(p)} {(10)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} 
                          {(DQ ($ VSub_DollarName '$TARGET') (/etc/exim/exim.conf))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(mkdir)} {(-p)} {(DQ ($ VSub_DollarName '$TARGET') (/etc/exim))})
                    (C {(touch)} {(DQ ($ VSub_DollarName '$TARGET') (/etc/exim/exim.conf))})
                  ]
                  spids: [16777215 1356]
                )
              ]
              spids: [16777215 1377]
            )
            (C {(info)} {(INSTBASE)} {(DQ ('Installing base packages...'))})
            (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (C {(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)} {(--force-auto-select)} {(--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: [1444 1448]
                    )
                  }
                )
              ]
              negated: F
            )
            (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/sendmail))})
            (C {(ln)} {(-sf)} {(/bin/true)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/sendmail))})
            (command.Pipeline
              children: [
                (C {(smallyes)} {(SQ )})
                (C {(repeatn)} {(5)} {(in_target_failmsg)} {(CONF_BASE_FAIL_FIVE)} 
                  {
                    (DQ ('Failure while configuring base packages.  This will be attempted 5 times.'))
                  } {(DQ )} {(dpkg)} {(--force-confold)} {(--skip-same-version)} {(--configure)} {(-a)}
                )
              ]
              negated: F
            )
            (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/sendmail))})
            (C {(ln)} {(-sf)} {(exim)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/sendmail))})
            (command.Sentence child:(C {(p)} {(9)}) terminator:<Op_Semi ';'>)
            (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (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')} {(INSTBASE)} 
              {(DQ ('Installing base system'))}
            )
            (C {(info)} {(BASESUCCESS)} {(DQ ('Base system installed successfully.'))})
          ]
          spids: [795]
        )
      spids: [790 794]
    )
  ]
)