[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Testing cdebootstrap and debootstrap



The cdeboostrap package seem to improve, and might soon be a useful
replacement for debootstrap in d-i.  Because of this, I decided it was
time to test it a bit more.  Luckily it is already in sid, so t was
only one 'apt-get install cdebootstrap' away. :)

Installing worked just fine, both commands worked just fine:

  debootstrap sarge chroot-sarge-debootstrap http://ftp.skolelinux.no/debian
  cdebootstrap sarge chroot-sarge-cdebootstrap http://ftp.skolelinux.no/debian

Comparing the list of installed packages, I find that cdebootstrap
install fewer packages then debootstrap.  This is the list of packages
installed by cdebootstrap:

  adduser apt aptitude base-config base-files base-passwd bash
  bsdutils console-common console-data console-tools coreutils debconf
  debconf-i18n debianutils diff dpkg dselect e2fslibs e2fsprogs
  findutils gcc-3.3-base grep gzip hostname initscripts iputils-ping
  klogd libacl1 libattr1 libblkid1 libc6 libcap1 libcomerr2 libconsole
  libdb1-compat libdb3 libgcc1 liblocale-gett libncurses5 libnewt0.51
  libpam-modules libpam-runtime libpam0g libpopt0 libsigc++-1.2-
  libss2 libstdc++5 libtext-charwi libtext-iconv- libtext-wrapi1
  libuuid1 lilo login makedev mawk modconf modutils mount ncurses-base
  ncurses-bin netkit-inetd nvi passwd pciutils perl-base sed setserial
  slang1a-utf8 sysklogd sysv-rc sysvinit tar util-linux whiptail
  zlib1g

The following 55 packages was not installed by cdebootstrap, but
installed by debootstrap:

  apt-utils at bsdmainutils cpio cron dhcp-client ed exim4 exim4-base
  exim4-config exim4-daemon-l fdutils gcc-3.2-base gettext-base
  groff-base ifupdown info ipchains iptables libdb2 libgcrypt1
  libgcrypt7 libgdbm3 libgnutls7 libgpg-error0 libident liblockfile1
  liblzo1 libopencdk8 libpcap0.7 libpcre3 libssl0.9.7 libtasn1-0
  libtextwrap1 libwrap0 logrotate mailx man-db manpages mbr nano
  net-tools netbase ppp pppconfig pppoe pppoeconf procps psmisc slang1
  syslinux tasksel tcpd telnet wget

Of these, I guess at least a few should be installed by cdebootstrap
as well.  Here are my suggestions.  I believe some tools should be
included by default to make the installed system nicer, and to make
sure problems can be fixed when they occur.

  apt-utils        - to get all debconf questions in one block
  nano             - an editor is needed to fix problems
  at cron mailx info
  logrotate
  manpages, man-db - all debian-systems should have these by default. :)
  mbr              - nice to have if the MBR need replacement

I'm not sure if I believe all the network tools should be installed by
default or not.

If the list of packages installed by cdebootstrap do not match the
list of packages installed by debootstrap, we will discover a lot of
missing dependencies, which have never been discovered before because
the packages were always installed earlier.  See #229461 and #230641
for a few such examples discovered already.



Reply to: