(CommandList children: [ (C {(default_mirror)} {(http) (Lit_Other ':') (//old-releases.ubuntu.com/ubuntu)}) (C {(mirror_style)} {(release)}) (C {(download_style)} {(apt)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:LIBC) op:Equal rhs:{(libc6)} spids:[15])] spids: [15] ) (FuncDef name: work_out_debs body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:required) op: Equal rhs: { (DQ ( 'base-files base-passwd bash bsdutils coreutils libacl1 libattr1 debconf debconf-i18n liblocale-gettext-perl libtext-iconv-perl libtext-wrapi18n-perl libtext-charwidth-perl debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2 libss2 libuuid1 findutils grep gzip hostname libcap1 libc6 libdb1-compat libdb3 libncurses5 libnewt0.51 libpam-modules libpam-runtime libpam0g libpopt0 login makedev mawk modutils mount ncurses-base ncurses-bin passwd perl-base procps sed slang1a-utf8 lsb-base initscripts sysvinit sysv-rc tar util-linux zlib1g whiptail libgcc1 gcc-3.3-base libstdc++5' ) ) } spids: [28] ) ] spids: [28] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:base) op: Equal rhs: { (DQ ( 'adduser alsa-base alsa-utils apt apt-utils aptitude at base-config bind9-host bsdmainutils bzip2 console-common console-data console-tools cpio cramfsprogs cron dash dbus-1 dhcp3-client dhcp3-common discover1 discover1-data dmsetup dnsutils dosfstools ed eject evms evms-ncurses fdutils file ftp gettext-base gnupg groff-base hdparm hotplug ifrename ifupdown info initrd-tools iproute iptables iputils-arping iputils-ping iputils-tracepath jfsutils klogd less libasound2 libatm1 libbz2-1.0 libconsole libdb4.2 libdevmapper1.00 libdiscover1 libdns16 libevms-2.3 libexpat1 libfribidi0 libgc1 libgcrypt7 libgdbm3 libgnutls10 libgpg-error0 libgpmg1 libidn11 libisc7 libiw27 libldap2 liblockfile1 liblwres1 liblzo1 libmagic1 libncursesw5 libopencdk8 libparted1.6-0 libpcap0.7 libpcap0.8 libreiserfs0.3-0 libsasl2 libsigc++-1.2-5c102 libssl0.9.7 libtasn1-2 libusb-0.1-4 libwrap0 locales logrotate lshw lsof ltrace lvm-common lvm10 lvm2 mailx man-db manpages mdadm mii-diag mime-support module-init-tools mtr-tiny mutt nano net-tools netbase netcat netkit-inetd ntp ntpdate openssh-client parted pciutils popularity-contest postfix postfix-tls ppp pppconfig pppoeconf psmisc python python2.3 reiser4progs reiserfsprogs reportbug rsync strace sudo sysklogd tcpd tcpdump telnet time ubuntu-base udev usbutils vim vim-common w3m wget wireless-tools xfsprogs' ) ) } spids: [35] ) ] spids: [35] ) (FuncDef name: without_package body: (BraceGroup children: [ (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: False ) ] spids: [47] ) spids: [42 46] ) (FuncDef name: subst_package body: (BraceGroup children: [ (Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Number '$3'))}) (C {(tr)} {(SQ <' '>)} {(SQ <'\\n'>)}) (C {(sed)} { (DQ ('s/^') ($ VSub_Number '$1') (Lit_Other '$') (/) ($ VSub_Number '$2') (/)) } ) (C {(tr)} {(SQ <'\\n'>)} {(SQ <' '>)}) ] negated: False ) ] spids: [101] ) spids: [96 100] ) (Case to_match: {($ VSub_Name '$ARCH')} arms: [ (case_arm pat_list: [{(DQ (i386))}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:required) op: Equal rhs: {(DQ ($ VSub_Name '$required') (' libc6-i686'))} spids: [165] ) ] spids: [165] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:base) op: Equal rhs: {(DQ ($ VSub_Name '$base') (' dmidecode memtest86+ libreadline4'))} spids: [172] ) ] spids: [172] ) ] spids: [160 162 179 -1] ) (case_arm pat_list: [{(DQ (powerpc))}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:required) op: Equal rhs: {(DQ ($ VSub_Name '$required') (' libreadline4'))} spids: [188] ) ] spids: [188] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:base) op: Equal rhs: { (DQ ($ VSub_Name '$base') (' hfsplus hfsutils libhfsp0 mac-fdisk pmac-fdisk powerpc-utils') ) } spids: [195] ) ] spids: [195] ) ] spids: [183 185 202 -1] ) (case_arm pat_list: [{(DQ (amd64))}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:base) op: Equal rhs: {(DQ ($ VSub_Name '$base') (' dmidecode libreadline4'))} spids: [211] ) ] spids: [211] ) ] spids: [206 208 218 -1] ) (case_arm pat_list:[{(Lit_Other '*')}] spids:[221222229-1]) ] spids: [152 156 232] ) ] spids: [24] ) spids: [19 23] ) (FuncDef name: install_debs body: (BraceGroup children: [(C {(first_stage_install)}) (C {(second_stage_install)})] spids: [242] ) spids: [237 241] ) (FuncDef name: first_stage_install body: (BraceGroup children: [ (C {(extract)} {($ VSub_Name '$required')}) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg))}) (SimpleCommand words: [{(Lit_Other ':')}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/status))} spids: [279] ) ] ) (SimpleCommand words: [{(echo)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/available))} spids: [288] ) ] ) (C {(setup_etc)}) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} {(DQ ($ VSub_Name '$TARGET') (/etc/fstab))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(SQ <'# UNCONFIGURED FSTAB FOR BASE SYSTEM'>)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ ($ VSub_Name '$TARGET') (/etc/fstab))} spids: [324] ) ] ) (Sentence child: (C {(chown)} {(0) (Lit_Other ':') (0)} {(DQ ($ VSub_Name '$TARGET') (/etc/fstab))} ) terminator: <Op_Semi ';'> ) (C {(chmod)} {(644)} {(DQ ($ VSub_Name '$TARGET') (/etc/fstab))}) ] spids: [-1 315] ) ] spids: [-1 354] ) (C {(setup_devices)}) (FuncDef name: x_feign_install body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:pkg) op: Equal rhs: {(DQ ($ VSub_Number '$1'))} spids: [372] ) ] spids: [370] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:deb) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [(C {(debfor)} {($ VSub_Name '$pkg')})] ) left_token: <Left_CommandSub '$('> spids: [382 386] ) ) } spids: [380] ) ] spids: [378] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:ver) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(extract_deb_field)} {(DQ ($ VSub_Name '$TARGET') (/) ($ VSub_Name '$deb'))} {(Version)} ) ] ) left_token: <Left_CommandSub '$('> spids: [394 404] ) ) } spids: [392] ) ] spids: [390] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/info))}) (SimpleCommand words: [ {(echo)} { (DQ ('Package: ') ($ VSub_Name '$pkg') ('\n') ('Version: ') ($ VSub_Name '$ver') ('\n') ('Status: install ok installed') ) } ] redirects: [ (Redir op_id: Redir_DGreat fd: -1 arg_word: {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/status))} spids: [433] ) ] ) (C {(touch)} {(DQ ($ VSub_Name '$TARGET') (/var/lib/dpkg/info/) (${ VSub_Name pkg) (.list))} ) ] spids: [367] ) spids: [362 366] ) (C {(x_feign_install)} {(dpkg)}) ] spids: [258] ) spids: [253 257] ) (FuncDef name: second_stage_install body: (BraceGroup children: [ (FuncDef name: x_core_install body: (BraceGroup children: [ (Pipeline children: [ (C {(smallyes)} {(SQ )}) (C {(in_target)} {(dpkg)} {(--force-depends)} {(--install)} { (CommandSubPart command_list: (CommandList children: [(C {(debfor)} {(DQ ($ VSub_At '$@'))})] ) left_token: <Left_CommandSub '$('> spids: [496 502] ) } ) ] negated: False ) ] spids: [478] ) spids: [473 477] ) (FuncDef name: p body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:baseprog) op: Equal rhs: { (DQ (ArithSubPart anode: (ArithBinary op_id: Arith_Plus left: (ArithWord w:{($ VSub_Name '$baseprog')}) right: (ArithWord w: { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(1)} ) spids: [524 528] ) } ) ) spids: [519 530] ) ) } spids: [517] ) ] spids: [517] ) ] spids: [514] ) spids: [509 513] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:DEBIAN_FRONTEND) op: Equal rhs: {(noninteractive)} spids: [538] ) ] spids: [538] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:DEBCONF_NONINTERACTIVE_SEEN) op: Equal rhs: {(true)} spids: [542] ) ] spids: [542] ) (C {(export)} {(DEBIAN_FRONTEND)} {(DEBCONF_NONINTERACTIVE_SEEN)}) (C {(setup_proc)}) (C {(in_target)} {(/sbin/ldconfig)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[563])] spids: [563] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:bases) op:Equal rhs:{(7)} spids:[567])] spids: [567] ) (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} {(DQ ('Installing core packages'))} ) (C {(info)} {(INSTCORE)} {(DQ ('Installing core packages...'))}) (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} {(DQ ('Installing core packages'))} ) (C {(ln)} {(-sf)} {(mawk)} {(DQ ($ VSub_Name '$TARGET') (/usr/bin/awk))}) (C {(x_core_install)} {(base-files)} {(base-passwd)}) (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} {(DQ ('Installing core packages'))} ) (C {(x_core_install)} {(dpkg)}) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} {(DQ ($ VSub_Name '$TARGET') (/etc/localtime))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(ln)} {(-sf)} {(/usr/share/zoneinfo/UTC)} {(DQ ($ VSub_Name '$TARGET') (/etc/localtime))} ) ] spids: [-1 680] ) ] spids: [-1 695] ) (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} {(DQ ('Installing core packages'))} ) (C {(x_core_install)} {($ VSub_Name '$LIBC')}) (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} {(DQ ('Installing core packages'))} ) (C {(x_core_install)} {(perl-base)}) (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} {(DQ ('Installing core packages'))} ) (C {(rm)} {(DQ ($ VSub_Name '$TARGET') (/usr/bin/awk))}) (C {(x_core_install)} {(mawk)}) (Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(INSTCORE)} {(DQ ('Installing core packages'))} ) (C {(x_core_install)} {(debconf)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[805])] spids: [805] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bases) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (Sentence child: (C {(set)} {(--)} {($ VSub_Name '$required')}) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_Pound '$#')}) ] ) left_token: <Left_CommandSub '$('> spids: [811 822] ) ) } spids: [809] ) ] spids: [809] ) (C {(info)} {(UNPACKREQ)} {(DQ ('Unpacking required packages...'))}) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (Subshell child: (Pipeline children: [ (SimpleCommand words: [ {(repeatn)} {(5)} {(in_target_failmsg)} {(UNPACK_REQ_FAIL_FIVE)} { (DQ ( 'Failure while unpacking required packages. This will be attempted up to five times.' ) ) } {(DQ )} {(dpkg)} {(--status-fd)} {(8)} {(--force-depends)} {(--unpack)} { (CommandSubPart command_list: (CommandList children: [(C {(debfor)} {($ VSub_Name '$required')})] ) left_token: <Left_CommandSub '$('> spids: [870 874] ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 8 arg_word: {(1)} spids: [876] ) (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(7)} spids: [879] ) ] ) (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(UNPACKREQ)} {(DQ ('Unpacking required packages'))} {(UNPACKING)} ) ] negated: False ) redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[899])] spids: [844 897] ) ] negated: False ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[904])] spids: [904] ) (C {(info)} {(CONFREQ)} {(DQ ('Configuring required packages...'))}) (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon.REAL))} ) (SimpleCommand words: [ {(echo)} { (DQ ('#!/bin/sh\n') ('echo\n') ('echo ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ('Warning: Fake start-stop-daemon called, doing nothing') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ) } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))} spids: [944] ) ] ) (C {(chmod)} {(755)} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))}) (C {(setup_dselect_method)} {(apt)}) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (Subshell child: (Pipeline children: [ (SimpleCommand words: [ {(in_target_failmsg)} {(CONF_REQ_FAIL)} {(DQ ('Failure while configuring required packages.'))} {(DQ )} {(dpkg)} {(--status-fd)} {(8)} {(--configure)} {(--pending)} {(--force-configure-any)} {(--force-depends)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 8 arg_word: {(1)} spids: [1006] ) (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(7)} spids: [1009] ) ] ) (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(CONFREQ)} {(DQ ('Configuring required packages'))} {(CONFIGURING)} ) ] negated: False ) redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[1029])] spids: [980 1027] ) ] negated: False ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[1034])] spids: [1034] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bases) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (Sentence child: (C {(set)} {(--)} {($ VSub_Name '$base')}) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_Pound '$#')}) ] ) left_token: <Left_CommandSub '$('> spids: [1040 1051] ) ) } spids: [1038] ) ] spids: [1038] ) (C {(info)} {(UNPACKBASE)} {(DQ ('Unpacking the base system...'))}) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (Subshell child: (Pipeline children: [ (SimpleCommand words: [ {(repeatn)} {(5)} {(in_target_failmsg)} {(INST_BASE_FAIL_FIVE)} { (DQ ( 'Failure while installing base packages. This will be re-attempted up to five times.' ) ) } {(DQ )} {(dpkg)} {(--status-fd)} {(8)} {(--force-auto-select)} {(--force-overwrite)} {(--force-confold)} {(--skip-same-version)} {(--unpack)} { (CommandSubPart command_list: (CommandList children: [(C {(debfor)} {($ VSub_Name '$base')})] ) left_token: <Left_CommandSub '$('> spids: [1105 1109] ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 8 arg_word: {(1)} spids: [1111] ) (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(7)} spids: [1114] ) ] ) (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(UNPACKBASE)} {(DQ ('Unpacking base system'))} {(UNPACKING)} ) ] negated: False ) redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[1134])] spids: [1073 1132] ) ] negated: False ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:baseprog) op:Equal rhs:{(0)} spids:[1139])] spids: [1139] ) (C {(info)} {(CONFBASE)} {(DQ ('Configuring the base system...'))}) (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/sendmail))} {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/sendmail.REAL))} ) (C {(ln)} {(-s)} {(/bin/true)} {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/sendmail))}) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (Subshell child: (Pipeline children: [ (SimpleCommand words: [ {(repeatn)} {(5)} {(in_target_failmsg)} {(CONF_BASE_FAIL_FIVE)} { (DQ ( 'Failure while configuring base packages. This will be attempted 5 times.' ) ) } {(DQ )} {(dpkg)} {(--status-fd)} {(8)} {(--force-confold)} {(--skip-same-version)} {(--configure)} {(-a)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 8 arg_word: {(1)} spids: [1217] ) (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(7)} spids: [1220] ) ] ) (C {(dpkg_progress)} {($ VSub_Name '$baseprog')} {($ VSub_Name '$bases')} {(CONFBASE)} {(DQ ('Configuring base system'))} {(CONFIGURING)} ) ] negated: False ) redirects: [(Redir op_id:Redir_GreatAnd fd:7 arg_word:{(1)} spids:[1240])] spids: [1187 1238] ) ] negated: False ) (C {(rm)} {(-f)} {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/sendmail))}) (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/sendmail.REAL))} {(DQ ($ VSub_Name '$TARGET') (/usr/sbin/sendmail))} ) (C {(mv)} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon.REAL))} {(DQ ($ VSub_Name '$TARGET') (/sbin/start-stop-daemon))} ) (C {(progress)} {($ VSub_Name '$bases')} {($ VSub_Name '$bases')} {(CONFBASE)} {(DQ ('Configuring base system'))} ) (C {(info)} {(BASESUCCESS)} {(DQ ('Base system installed successfully.'))}) ] spids: [470] ) spids: [465 469] ) ] )