kickstart, installing extra packages

Kent Borg kentborg at borg.org
Wed Jan 25 23:38:02 UTC 2006


On Wed, Jan 25, 2006 at 08:26:12PM +0000, Colin Watson wrote:
> (FYI, that's man-db in Ubuntu, and it's installed by default anyway.)

Interesting.  I get "bash: man: command not found" unless I install
things.  

One thing I have discovered, it seems that I can't just ask for
"emacs" and get the dependencies resolved automagically, I need to ask
for all the parts explicitly.  (Is this expected?)  

I am also getting ~some~ of what I ask for.  make, ftp, sshd, gcc are
showing up.  (When I earlier put man-db and some other required parts
in the list man did work.)

> What's in /var/log/base-config-pkgsel.log? (I assume this is Breezy.)

Yes, Breezy.  Looking for "emacs" in base-config-pkgsel.log I find
this stretch of disappointment:

  No candidate version found for automake1.9
  No candidate version found for gcc-doc
  No candidate version found for libpcre3-dev
  No candidate version found for debmake
  No candidate version found for gnome-vfs-sftp
  No candidate version found for subversion
  No candidate version found for gcc-4.0-locales
  No candidate version found for pmake
  No candidate version found for gcc-3.2
  No candidate version found for gcc-3.5
  No candidate version found for sftp
  No candidate version found for emacsen-common
  No candidate version found for lib64gcc1
  No candidate version found for binutils-doc
  No candidate version found for libc6-dev-amd64
  No candidate version found for gcc-4.0-doc
  No candidate version found for gcc-3.5-base
  No candidate version found for gcc-2.95
  No candidate version found for dh-make

Yet lots of stuff installed just fine, including some extra stuff I
asked for.

Another question: why didn't my post install script work?

My boot line is "linux ks=http://down/~kentborg/ks.cfg"


Thanks,

-kb




This is what my most recent ks.cfg looks like (with some obfuscation
and indented two spaces):

  # some comments I deleted
  #
  #
  #Generated by Kickstart Configurator
  #platform=x86
  
  #System language
  lang en_US
  #Language modules to install
  langsupport en_US
  #System keyboard
  keyboard us
  #System mouse
  mouse
  #System timezone
  timezone --utc America/New_York
  #Root password
  rootpw --disabled
  #Initial user
  user foo --fullname "foo" --iscrypted --password XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
  #Reboot after installation
  reboot
  #Use text mode install
  text
  #Install OS instead of upgrade
  install
  #Use CDROM installation media
  cdrom
  #System bootloader configuration
  bootloader --location=mbr 
  #Clear the Master Boot Record
  zerombr yes
  #Partition clearing information
  clearpart --all --initlabel 
  #Disk partitioning information
  part / --fstype ext3 --size 80000 --asprimary 
  part swap --size 1000 
  #System authorization infomation
  auth  --useshadow  --enablemd5 
  #Network information
  network --bootproto=dhcp --device=eth0
  #Firewall configuration
  firewall --disabled 
  #X Window System configuration information
  xconfig --depth=24 --resolution=1024x768 --defaultdesktop=GNOME --startxonboot
  #Package install information
  %packages
  @ ubuntu-desktop
  ftp
  openssh-server
  bsdmainutils
  emacs21-common
  emacs21-bin-common 
  libungif4g 
  xaw3dg 
  emacs21
  emacsen-common 
  liblockfile1 
  libapr0
  db4.2-util
  libpcre3
  libsvn0
  subversion
  binutils
  gcc-4.0
  linux-kernel-headers
  dpkg-dev 
  gcc 
  libc6-dev 
  make
  %post --nochroot
  echo "bar" > /etc/hostname

(The file does end with a newline.)




More information about the ubuntu-users mailing list