kickstart, installing extra packages

Colin Watson cjwatson at ubuntu.com
Thu Jan 26 10:46:08 UTC 2006


On Wed, Jan 25, 2006 at 06:38:02PM -0500, Kent Borg wrote:
> 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.  

Ah, you need to install:

  @ ubuntu-standard

... as well, to make your package selection be a superset of the
default.

> 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?)  

No, not expected, unless apt is getting very confused. That said,
there's no package called 'emacs' in breezy; try 'emacs21' instead.

> > 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:

I'd prefer it if you could attach the whole file, please, so that I can
look for other unexpected things.

Is this a CD install? In that case, it could be that it's only letting
you install packages from the CD. Netboot installs should give you the
whole archive.

> Another question: why didn't my post install script work?
[...]
>   #Network information
>   network --bootproto=dhcp --device=eth0
[...]
>   %post --nochroot
>   echo "bar" > /etc/hostname

You need to drop --nochroot there, because that touches /etc/hostname in
the installer's filesystem (which has no effect) rather than in the
installed system, or else use /target/etc/hostname. Alternatively, just
add --hostname=bar to your network command, which is probably better
because then the installer will sort out /etc/hosts for you too.

Cheers,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list