lp:ubuntu/lucid/apt-setup

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/lucid/apt-setup
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

43. By Colin Watson

Mount /proc, /sys, and /dev in the target system if necessary when
running apt-cdrom (LP: #527641).

42. By Colin Watson

* Remove Release files for old releases.
* Backport from trunk:
  - Guard against future multiple-CD handling changes in apt. If multiple
    CDs are inserted then any one can satisfy a media-change request. We
    don't yet deal with multiple CDs everywhere, but at least we won't
    break when 'apt-cdrom ident' starts returning multiple labels.

41. By Colin Watson

* 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.
  - Reduce the mirror verification timeout to 10 seconds.
  - Disable the volatile service for Ubuntu, and don't ask the
    apt-setup/services-select question.
  - 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.
  - Add Release files for intrepid and jaunty.
  - Allow preseeding apt-setup/partner to enable the partner repository.
  - Use cdrom-detect/cdrom_fs when remounting the CD to ensure that we do
    so using the same filesystem.
  - 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.
  - Fix handling of universe and multiverse in -backports lines.
  - 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.
  - Fix description of universe in generated sources.list: packages there
    are expected to be under a free licence.
  - 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.
  - Re-enable progress bar cancellation.
* Add Release files for lucid.
* Increase the mirror verification timeout to 30 seconds, now that this
  operation is cancellable. Some people (hi, Ara) seem to have trouble
  getting mirror responses in 10 seconds.
* Correctly disable progresscancel on exiting apt-setup (LP: #462005).

40. By Colin Watson

* Use debconf-apt-progress for our Ubuntu-specific all-in-one-go 'apt-get
  update' run.
* Re-enable progress bar cancellation. Thanks to debian-installer-utils
  1.70 and fixes in debconf, it all seems to work fine now (LP: #172879).

39. By Colin Watson

* 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.
  - Enable universe and multiverse by default.
  - If either restricted or multiverse is enabled, add commented-out lines
    for the partner archive.
  - Reduce the mirror verification timeout to 10 seconds.
  - Disable the volatile service for Ubuntu, and don't ask the
    apt-setup/services-select question.
  - 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.
  - Add Release files for intrepid and jaunty.
  - Allow preseeding apt-setup/partner to enable the partner repository.
  - Use cdrom-detect/cdrom_fs when remounting the CD to ensure that we do
    so using the same filesystem.
  - 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.
  - Fix handling of universe and multiverse in -backports lines.
  - 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.
  - Fix description of universe in generated sources.list: packages there
    are expected to be under a free licence.
  - 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.
* Add Release files for karmic.

38. By Steve Langasek

* 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.
  - Enable universe and multiverse by default.
  - If either restricted or multiverse is enabled, add commented-out lines
    for the partner archive.
  - Reduce the mirror verification timeout to 10 seconds.
  - Disable the volatile service for Ubuntu, and don't ask the
    apt-setup/services-select question.
  - 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.
  - Add Release files for intrepid and jaunty.
  - Make sure to exit services-select generator cleanly if
    apt-setup/services-select is empty.
  - Allow preseeding apt-setup/partner to enable the partner repository.
  - Use cdrom-detect/cdrom_fs when remounting the CD to ensure that we do
    so using the same filesystem.
  - 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.
  - Fix handling of universe and multiverse in -backports lines.
  - 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.
  - Fix description of universe in generated sources.list: packages there
    are expected to be under a free licence.
  - 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.
* Dropped changes, merged in Debian:
  - Initialise local variable 'file' so that apt-setup-verify doesn't get
    excruciatingly confused when you pass file=/path on the kernel command
    line.

37. By Colin Watson

Make sure to exit services-select generator cleanly if
apt-setup/services-select is empty.

36. By Colin Watson

* Add Release files for jaunty.
* Allow preseeding apt-setup/partner to enable the partner repository;
  requested by Brian Thomason.

35. By Colin Watson

* Use cdrom-detect/cdrom_fs when remounting the CD to ensure that we do so
  using the same filesystem.
* Make sure apt-cdrom doesn't unmount the CD in the first place if cd_type
  ends with /single (LP: #316618).

34. By Colin Watson

* Remove /var/lib/install-cd.id if cd_type ends with /single, to avoid
  unnecessary problems remounting the CD (LP: #294365).
* Enable all network sources, including security updates, even if the
  network is unconfigured (LP: #256098).
* Fix handling of universe and multiverse in -backports lines.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/maverick/apt-setup
This branch contains Public information 
Everyone can see this information.

Subscribers