~ubuntu-branches/ubuntu/natty/apt-setup/natty

Viewing all changes in revision 49.

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-11-15 10:12:32 UTC
  • mfrom: (0.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101115101232-k9pgahjus2igy2dd
Tags: 1:0.49ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Install the Ubuntu mirror generator instead of Debian's.
  - Set apt-setup/security_host to security.ubuntu.com, or
    ports.ubuntu.com on ports architectures; adjust directory and
    distribution to match.
  - Add security sources for restricted, universe, and multiverse,
    commented out unless the respective components are enabled. Disable
    security generator checks for contrib and non-free.
  - For CD installs, leave the sources.list created by apt-setup in
    /etc/apt/sources.list.apt-setup, and restore the sources.list created
    during base installation for the rest of the installation.
  - Honour OVERRIDE_BASE_INSTALLABLE when checking
    /cdrom/.disk/base_installable.
  - Set the mirror verification timeout to 30 seconds.
  - Adjust services-select for Ubuntu, removing volatile and adding
    partner (apt-setup/partner) and extras (apt-setup/extras).
  - Always disable the CD at the end of installation if any mirrors are
    present, even if it's a complete CD.
  - Pre-populate apt's lists directory with signed Release files for
    archive.ubuntu.com (and mirrors) and security.ubuntu.com, to protect
    against downgrade attacks right from initial installation.
  - Run 'apt-get update' for all sources.list lines produced by a single
    generator in one go, and don't comment out sources.list lines if it
    fails.
  - Make the path to security updates configurable, as well as the host.
  - Remove restricted from cdrom entry if apt-setup/restricted is false.
  - Make sure apt-cdrom doesn't unmount the CD if cd_type ends with
    /single.
  - Enable all network sources, including security updates, even if the
    network is unconfigured.
  - Honour apt-setup/restricted, apt-setup/universe, and
    apt-setup/multiverse when writing -backports lines.
  - Check to make sure the CD filesystem is iso9660 before remounting it
    as such.  Do not write a CD identifier if we're not working with
    iso9660 so pkgsel does not try to unmount such disks.
  - Run 'apt-get update', without downloading package lists or cleaning up
    old files, after moving the sources.list generated during base system
    installation back into place.
  - If OVERRIDE_LEAVE_CD_MOUNTED is set, don't unmount /cdrom; this is a
    bad idea in a live CD environment!
  - Bail out cleanly from cdrom generator if /cdrom/.disk/info doesn't
    exist or has zero size.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: