[Android Software Development] dave7802:
Okay after some messing around i was able to get almost near the end of part one of the script to run:

It downloads everything, uncompress's etc, But at the end, Or what i think is the end i get this:

The Log of the install is here:

Part of the top is missing -

Selecting previously unselected package libfm-gtk1.

Unpacking libfm-gtk1 (from .../libfm-gtk1_0.1.17-0ubuntu3.1_armhf.deb) ...

Selecting previously unselected package pcmanfm.

Unpacking pcmanfm (from .../pcmanfm_0.9.10-0ubuntu2_armhf.deb) ...

Selecting previously unselected package libiw30.

Unpacking libiw30 (from .../libiw30_30~pre9-5ubuntu2_armhf.deb) ...

Selecting previously unselected package lxpanel.

Unpacking lxpanel (from .../lxpanel_0.5.8+git20120212-0ubuntu3_armhf.deb) ...

Selecting previously unselected package lxde-core.

Unpacking lxde-core (from .../lxde-core_0.5.0-4ubuntu3_all.deb) ...

Selecting previously unselected package lxappearance.

Unpacking lxappearance (from .../lxappearance_0.5.1-1ubuntu1_armhf.deb) ...

Selecting previously unselected package lxinput.

Unpacking lxinput (from .../lxinput_0.3.1-1ubuntu1_armhf.deb) ...

Selecting previously unselected package lxsession-edit.

Unpacking lxsession-edit (from .../lxsession-edit_0.2.0-1ubuntu2_armhf.deb) ...

Selecting previously unselected package lxshortcut.

Unpacking lxshortcut (from .../lxshortcut_0.1.2-1_armhf.deb) ...

Selecting previously unselected package lxterminal.

Unpacking lxterminal (from .../lxterminal_0.1.11-2ubuntu1_armhf.deb) ...

Selecting previously unselected package xarchiver.

Unpacking xarchiver (from .../xarchiver_1%3a0.5.2+20090319+dfsg-4_armhf.deb) ...

Selecting previously unselected package lxrandr.

Unpacking lxrandr (from .../lxrandr_0.1.2-1ubuntu1_armhf.deb) ...

Selecting previously unselected package obconf.

Unpacking obconf (from .../obconf_2.0.3+git20110808-1_armhf.deb) ...

Selecting previously unselected package lxde-icon-theme.

Unpacking lxde-icon-theme (from .../lxde-icon-theme_0.4.2+svn20091206-0ubuntu1_a

ll.deb) ...

Selecting previously unselected package lxde.

Unpacking lxde (from .../lxde_0.5.0-4ubuntu3_all.deb) ...

Selecting previously unselected package menu-xdg.

Unpacking menu-xdg (from .../archives/menu-xdg_0.5_all.deb) ...

Selecting previously unselected package openssh-server.

Unpacking openssh-server (from .../openssh-server_1%3a5.9p1-5ubuntu1.1_armhf.deb

) ...

Selecting previously unselected package tcl8.5.

Unpacking tcl8.5 (from .../tcl8.5_8.5.11-1ubuntu1_armhf.deb) ...

Selecting previously unselected package tcl.

Unpacking tcl (from .../archives/tcl_8.5.0-2_all.deb) ...

Selecting previously unselected package tk8.5.

Unpacking tk8.5 (from .../tk8.5_8.5.11-1_armhf.deb) ...

Selecting previously unselected package tk.

Unpacking tk (from .../archives/tk_8.5.0-2_all.deb) ...

Selecting previously unselected package vim-runtime.

Unpacking vim-runtime (from .../vim-runtime_2%3a7.3.429-2ubuntu2.1_all.deb) ...

Leaving 'diversion of /usr/share/vim/vim73/doc/help.txt to /usr/share/vim/vim73/

doc/help.txt.vim-tiny by vim-runtime'

Leaving 'diversion of /usr/share/vim/vim73/doc/tags to /usr/share/vim/vim73/doc/

tags.vim-tiny by vim-runtime'

Selecting previously unselected package vim.

Unpacking vim (from .../vim_2%3a7.3.429-2ubuntu2.1_armhf.deb) ...

Selecting previously unselected package x11-xkb-utils.

Unpacking x11-xkb-utils (from .../x11-xkb-utils_7.6+4_armhf.deb) ...

Selecting previously unselected package x11-xserver-utils.

Unpacking x11-xserver-utils (from .../x11-xserver-utils_7.6+3_armhf.deb) ...

Selecting previously unselected package x11vnc-data.

Unpacking x11vnc-data (from .../x11vnc-data_0.9.12-1build1_all.deb) ...

Selecting previously unselected package x11vnc.

Unpacking x11vnc (from .../x11vnc_0.9.12-1build1_armhf.deb) ...

Selecting previously unselected package xfonts-encodings.

Unpacking xfonts-encodings (from .../xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb

) ...

Selecting previously unselected package xfonts-utils.

Unpacking xfonts-utils (from .../xfonts-utils_1%3a7.6+1_armhf.deb) ...

Selecting previously unselected package xfonts-100dpi.

Unpacking xfonts-100dpi (from .../xfonts-100dpi_1%3a1.0.3_all.deb) ...

Selecting previously unselected package xfonts-75dpi.

Unpacking xfonts-75dpi (from .../xfonts-75dpi_1%3a1.0.3_all.deb) ...

Selecting previously unselected package xfonts-base.

Unpacking xfonts-base (from .../xfonts-base_1%3a1.0.3_all.deb) ...

Selecting previously unselected package xserver-common.

Unpacking xserver-common (from .../xserver-common_2%3a1.11.4-0ubuntu10.14_all.de

b) ...

Selecting previously unselected package xvfb.

Unpacking xvfb (from .../xvfb_2%3a1.11.4-0ubuntu10.14_armhf.deb) ...

Processing triggers for ureadahead ...

Can not write log, openpty() failed (/dev/pts not mounted?)

Setting up libbsd0 (0.3.0-2) ...

Setting up libdbus-glib-1-2 (0.98-1ubuntu1.1) ...

Setting up libedit2 (2.11-20080614-3ubuntu2) ...

Setting up libgpg-error0 (1.10-2ubuntu1) ...

Setting up libgcrypt11 (1.5.0-3ubuntu0.2) ...

Setting up libp11-kit0 (0.12-2ubuntu1) ...

Setting up libtasn1-3 (2.10-1ubuntu1.1) ...

Setting up libgnutls26 (2.12.14-5ubuntu3.5) ...

Setting up libkrb5support0 (1.10+dfsg~beta1-2ubuntu0.3) ...

Setting up libk5crypto3 (1.10+dfsg~beta1-2ubuntu0.3) ...

Setting up libkeyutils1 (1.5.2-2) ...

Setting up libkrb5-3 (1.10+dfsg~beta1-2ubuntu0.3) ...

Setting up libgssapi-krb5-2 (1.10+dfsg~beta1-2ubuntu0.3) ...

Setting up libxau6 (1:1.0.6-4) ...

Setting up libxdmcp6 (1:1.1.0-4) ...

Setting up libxcb1 (1.8.1-1ubuntu0.2) ...

Setting up libx11-data (2:1.4.99.1-0ubuntu2.2) ...

Setting up libx11-6 (2:1.4.99.1-0ubuntu2.2) ...

Setting up libxext6 (2:1.3.0-3ubuntu0.1) ...

Setting up libxml2 (2.7.8.dfsg-5.1ubuntu4.6) ...

Setting up libxmuu1 (2:1.1.0-3) ...

Setting up libjpeg-turbo8 (1.1.90+svn733-0ubuntu4.3) ...

Setting up libjpeg8 (8c-2ubuntu7) ...

Setting up libjasper1 (1.900.1-13) ...

Setting up libtiff4 (3.9.5-2ubuntu1.5) ...

Setting up libgdk-pixbuf2.0-common (2.26.1-1) ...

Setting up libgdk-pixbuf2.0-0 (2.26.1-1) ...

Error opening file for reading: No such file or directory

Error opening file for reading: No such file or directory

Error opening file for reading: No such file or directory

Setting up libgtk2.0-common (2.24.10-0ubuntu6) ...

Setting up libatk1.0-data (2.4.0-0ubuntu1) ...

Setting up libatk1.0-0 (2.4.0-0ubuntu1) ...

Setting up libfreetype6 (2.4.8-1ubuntu2.1) ...

Setting up ttf-dejavu-core (2.33-2ubuntu1) ...

Setting up fontconfig-config (2.8.0-3ubuntu9.1) ...

Setting up libfontconfig1 (2.8.0-3ubuntu9.1) ...

Setting up libpixman-1-0 (0.30.2-1ubuntu0.0.0.0.1) ...

Setting up libxcb-render0 (1.8.1-1ubuntu0.2) ...

Setting up libxcb-shm0 (1.8.1-1ubuntu0.2) ...

Setting up libxrender1 (1:0.9.6-2ubuntu0.1) ...

Setting up libcairo2 (1.10.2-6.1ubuntu3) ...

Setting up libavahi-common-data (0.6.30-5ubuntu2.1) ...

Setting up libavahi-common3 (0.6.30-5ubuntu2.1) ...

Setting up libavahi-client3 (0.6.30-5ubuntu2.1) ...

Setting up libcups2 (1.5.3-0ubuntu8) ...

Setting up libthai-data (0.1.16-3) ...

Setting up libdatrie1 (0.2.5-3) ...

Setting up libthai0 (0.1.16-3) ...

Setting up libxft2 (2.2.0-3ubuntu2) ...

Setting up fontconfig (2.8.0-3ubuntu9.1) ...

Cleaning up old fontconfig caches... done.

Regenerating fonts cache... done.

Setting up libpango1.0-0 (1.30.0-0ubuntu3.1) ...

Setting up libxcomposite1 (1:0.4.3-2build1) ...

Setting up libxfixes3 (1:5.0-4ubuntu4.2) ...

Setting up libxcursor1 (1:1.1.12-1ubuntu0.1) ...

Setting up libxdamage1 (1:1.1.3-2build1) ...

Setting up libxi6 (2:1.7.1.901-1ubuntu1~precise1) ...

Setting up libxinerama1 (2:1.1.1-3ubuntu0.1) ...

Setting up libxrandr2 (2:1.3.2-2ubuntu0.2) ...

Setting up shared-mime-info (1.0-0ubuntu4.1) ...

Setting up libgtk2.0-0 (2.24.10-0ubuntu6) ...

Setting up libcroco3 (0.6.5-1ubuntu0.1) ...

Setting up librsvg2-2 (2.36.1-0ubuntu1) ...

Setting up librsvg2-common (2.36.1-0ubuntu1) ...

Setting up desktop-base (6.0.7ubuntu1) ...

update-initramfs: deferring update (trigger activated)

Setting up libasound2 (1.0.25-1ubuntu10.2) ...

Setting up libgif4 (4.1.6-9ubuntu1) ...

Setting up libglade2-0 (1:2.6.4-1ubuntu1.1) ...

Setting up libgmp10 (2:5.0.2+dfsg-2ubuntu1) ...

Setting up libgpm2 (1.20.4-4) ...

Setting up x11-common (1:7.6+12ubuntu2) ...

Setting up libice6 (2:1.0.7-2build1) ...

Setting up libmpfr4 (3.1.0-3ubuntu2) ...

Setting up libsm6 (2:1.2.0-2build1) ...

Setting up libx11-xcb1 (2:1.4.99.1-0ubuntu2.2) ...

Setting up libxcb-util0 (0.3.8-2) ...

Setting up libstartup-notification0 (0.12-1ubuntu1) ...

Setting up libwrap0 (7.6.q-21) ...

Setting up libxt6 (1:1.1.1-2ubuntu0.1) ...

Setting up libxmu6 (2:1.1.0-3) ...

Setting up libxpm4 (1:3.5.9-4) ...

Setting up libxaw7 (2:1.0.9-3ubuntu1) ...

Setting up libxkbfile1 (1:1.0.7-1ubuntu0.1) ...

Setting up libxss1 (1:1.2.1-2) ...

Setting up libxtst6 (2:1.2.0-4ubuntu0.1) ...

Setting up libxxf86vm1 (1:1.1.1-2ubuntu0.1) ...

Setting up libid3tag0 (0.15.1b-10build2) ...

Setting up libimlib2 (1.4.4-1build1) ...

Setting up libobt0 (3.5.0-2ubuntu2) ...

Setting up libobrender27 (3.5.0-2ubuntu2) ...

Setting up openbox (3.5.0-2ubuntu2) ...

Setting up libmpc2 (0.9-4) ...

Setting up python2.7 (2.7.3-0ubuntu3.4) ...

Setting up vim-common (2:7.3.429-2ubuntu2.1) ...

Setting up vim-tiny (2:7.3.429-2ubuntu2.1) ...

Setting up openssh-client (1:5.9p1-5ubuntu1.1) ...

Setting up openssl (1.0.1-4ubuntu5.11) ...

Setting up xauth (1:1.0.6-1) ...

Setting up cpp-4.6 (4.6.3-1ubuntu5) ...

Setting up cpp (4:4.6.3-1ubuntu5) ...

Setting up gpicview (0.2.2-1ubuntu1) ...

Setting up gtk2-engines (1:2.20.2-1ubuntu1) ...

Setting up hicolor-icon-theme (0.12-1ubuntu2) ...

Setting up leafpad (0.8.18.1-2) ...

Setting up libfontenc1 (1:1.1.0-1) ...

Setting up libpython2.7 (2.7.3-0ubuntu3.4) ...

Setting up libvncserver0 (0.9.8.2-2ubuntu1) ...

Setting up libvte-common (1:0.28.2-3ubuntu2) ...

Setting up libvte9 (1:0.28.2-3ubuntu2) ...

Setting up libwnck-common (1:2.30.7-0ubuntu1) ...

Setting up libxres1 (2:1.0.5-1ubuntu0.1) ...

Setting up libwnck22 (1:2.30.7-0ubuntu1) ...

Setting up libxfont1 (1:1.4.4-1ubuntu0.1) ...

Setting up lxsession (0.4.6.1+git20120214-0ubuntu1) ...

update-alternatives: renaming x-session-manager.1.gz slave link from /usr/share/

man/man1/x-session-manager.1.gz to /usr/share/man/man1/lxsession-manager.1.gz.

Setting up lxde-common (0.5.0-4ubuntu3) ...

update-alternatives: renaming x-session-manager.1.gz slave link from /usr/share/

man/man1/lxsession-manager.1.gz to /usr/share/man/man1/x-session-manager.1.gz.

Setting up libmenu-cache1 (0.3.2-2.1ubuntu1) ...

Setting up libfm-data (0.1.17-0ubuntu3.1) ...

Setting up lxmenu-data (0.1.2-1) ...

Setting up libfm1 (0.1.17-0ubuntu3.1) ...

Setting up libiw30 (30~pre9-5ubuntu2) ...

Setting up lxpanel (0.5.8+git20120212-0ubuntu3) ...

Setting up lxappearance (0.5.1-1ubuntu1) ...

Setting up lxinput (0.3.1-1ubuntu1) ...

Setting up lxsession-edit (0.2.0-1ubuntu2) ...

Setting up lxshortcut (0.1.2-1) ...

Setting up lxterminal (0.1.11-2ubuntu1) ...

Setting up xarchiver (1:0.5.2+20090319+dfsg-4) ...

Setting up lxrandr (0.1.2-1ubuntu1) ...

Setting up obconf (2.0.3+git20110808-1) ...

Setting up lxde-icon-theme (0.4.2+svn20091206-0ubuntu1) ...

Setting up menu-xdg (0.5) ...

Setting up openssh-server (1:5.9p1-5ubuntu1.1) ...

←[74G[ OK ] OpenBSD Secure Shell server sshd ←[80G

Setting up tcl8.5 (8.5.11-1ubuntu1) ...

Setting up tcl (8.5.0-2) ...

Setting up tk8.5 (8.5.11-1) ...

Setting up tk (8.5.0-2) ...

Setting up vim-runtime (2:7.3.429-2ubuntu2.1) ...

Processing /usr/share/vim/addons/doc

Setting up vim (2:7.3.429-2ubuntu2.1) ...

Setting up x11-xkb-utils (7.6+4) ...

Setting up x11-xserver-utils (7.6+3) ...

Setting up x11vnc-data (0.9.12-1build1) ...

Setting up x11vnc (0.9.12-1build1) ...

Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...

Setting up xfonts-utils (1:7.6+1) ...

Setting up xfonts-100dpi (1:1.0.3) ...

Setting up xfonts-75dpi (1:1.0.3) ...

Setting up xfonts-base (1:1.0.3) ...

Setting up xserver-common (2:1.11.4-0ubuntu10.14) ...

Setting up xvfb (2:1.11.4-0ubuntu10.14) ...

Setting up libfm-gtk-data (0.1.17-0ubuntu3.1) ...

Setting up libfm-gtk1 (0.1.17-0ubuntu3.1) ...

Setting up pcmanfm (0.9.10-0ubuntu2) ...

Setting up lxde-core (0.5.0-4ubuntu3) ...

Setting up lxde (0.5.0-4ubuntu3) ...

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

Processing triggers for libgdk-pixbuf2.0-0 ...

Error opening file for reading: No such file or directory

Error opening file for reading: No such file or directory

Error opening file for reading: No such file or directory

Processing triggers for initramfs-tools ...

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package fonts-base

Setting user: nexus with sudo access

groupadd: group 'nexus' already exists

adduser: The user `nexus' already exists.

Setting up required android groups

groupadd: group 'aid_net_bt_admin' already exists

groupadd: group 'aid_net_bt' already exists

groupadd: group 'aid_inet' already exists

groupadd: group 'aid_inet_raw' already exists

groupadd: group 'aid_inet_admin' already exists

groupadd: group 'aid_net_bw_stats' already exists

groupadd: group 'aid_net_bw_acct' already exists

groupadd: group 'aid_net_bt_stack' already exists

Setting up user/groups

Adding user nexus to group aid_net_bt_admin

Adding user nexus to group aid_net_bt

Adding user nexus to group aid_inet

Adding user nexus to group aid_inet_raw

Adding user nexus to group aid_inet_admin

Adding user nexus to group aid_net_bw_stats

Adding user nexus to group aid_net_bw_acct

Adding user nexus to group aid_net_bt_stack

Adding user nexus to group adm

Adding user nexus to group sudo

Adding user root to group aid_inet

Adding user root to group aid_inet_raw

Adding user root to group aid_inet_admin

default user: nexus

enter password for user nexus

Enter new UNIX password: root

Retype new UNIX password: root

passwd: password updated successfully

Install init scripts

/setup.sh: 147: /setup.sh: Syntax error: "(" unexpected

[finished]

Entering chroot enviroment: [init]

chroot: can't execute '/root/init.sh': No such file or directory

exiting chroot

done

root@hlte:/data/local/install-or-mount #

Any ideas? am completely stuck :( Thanks