You can resolve the immediate problem by using 'apt-install' rather than
'apt-get -yf install' (and dropping the call with no arguments). This
installer-specific helper script deals with all the debconf plumbing you
need.

However, a much simpler solution is to add this to the main section of
your Kickstart file:

  preseed apt-setup/universe boolean true

You can then simply include packages from universe in your %packages
section, with no need for custom scripting. (If you need multiverse as
well, then add another line 'preseed apt-setup/multiverse boolean
true'.)

** Changed in: kickseed (Ubuntu)
       Status: Unconfirmed => Rejected

-- 
%post scripting section - issues running apt-get install
https://launchpad.net/bugs/70899

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to