# the Debian release to use as a basis for the live-cd
nd_basedist="squeeze"
-nd_version="6.0.0"
+nd_version="6.0.1"
nd_arch=i386
deb_mirror="http://debproxy:9999"
if [ $do_install -eq 1 ]; then
# Figure out amount of space to download/occupy
- space_info="$(LC_ALL=C apt-get --print-uris install $ai_package 2>/dev/null \
+ space_info="$(LC_ALL=C apt-get --trivial-only --print-uris install $ai_package 2>/dev/null \
| grep -e '^\(Need to get \|After this\)' || : )"
if [ $ai_force -eq 0 ]; then
if ! zenity --question \
# initialize apt
update-manager -c
+sudo update-software-center --debug 2>&1 | \
+ zenity $icon_opt --title="Updating Software Center Repository" \
+ --progress --pulsate --auto-close --auto-kill
+
popconf=/etc/popularity-contest.conf
if [ ! -e "$popconf" ] || grep -q -e '^PARTICIPATE.*no' "$popconf" ;
then
additional components will be installed." \
FALSE "Emacs" "emacs" \
FALSE "GNU Image Manipulation Program (Gimp)" "gimp" \
+FALSE "Octave" "octave,qtoctave" \
FALSE "OpenOffice.org" "openoffice.org" \
FALSE "Scientific Python" "ipython,python-numpy,python-matplotlib" \
FALSE "TeX Live" "texlive" \
apt-get install --no-install-recommends -y \
gnome-core mc evince bash-completion ntpdate file-roller gnome-utils \
- gnome-themes eog vim \
+ gnome-themes eog vim reportbug \
software-center gdebi gedit-plugins gnome-media synaptic menu less libxp6
+# Clean-up installed development files which got pulled in for
+# VM guest additions (to build kernel modules via DKMS)
+apt-get purge -y libc6-dev
+dpkg -l | awk '/^ii.*[ \t]linux-headers/{print $2;}' | xargs -r apt-get purge -y
+
+# Gnome optional pulled by gnome-core:
+apt-get purge -y gnome-core evolution-common evolution libevolution
+
+# And utter cleanup
+apt-get -y autoremove
+
# intermediate cleanup to prevent virtual harddrive from fragmenting too much
find /var/cache/apt/archives/ -name '*.deb' -delete