With live-build 3.0~a57-1ubuntu4, keeping chroot/var/lib/apt/lists except -{updates,security,proposed} seems a default behavior.
The motivation of introducing --keep-apt was working apport on live-session (Bug #942180) as far as I understand.
Now working it with a development release by default.
With a point release like Ubuntu 12.04.1 LTS, apport does not work on live session to -{updates,security,proposed} packages, but it's not an ubuntu-defaults-builder specific issue.
the official Ubuntu 12.04 LTS image also does not have -{updates,security,proposed} indices, so I can reproduce the apport-not-working issue by executing `ubuntu-bug base-files`.
so my conclusion is:
1. --keep-apt is now the default behavior.
if someone wants all indices removed, LB_APT_INDICES=false can be passed by --remove-apt or something.
apport is still not working to -{updates,security,proposed} packages, but it's not an ubuntu-defaults-builder specific issue.
2. if someone wants --keep-apt-components behavior, we need a new hook after `lb_chroot_archives chroot remove`.
With live-build 3.0~a57-1ubuntu4, keeping chroot/ var/lib/ apt/lists except -{updates, security, proposed} seems a default behavior.
The motivation of introducing --keep-apt was working apport on live-session (Bug #942180) as far as I understand.
Now working it with a development release by default.
With a point release like Ubuntu 12.04.1 LTS, apport does not work on live session to -{updates, security, proposed} packages, but it's not an ubuntu- defaults- builder specific issue. security, proposed} indices, so I can reproduce the apport-not-working issue by executing `ubuntu-bug base-files`.
the official Ubuntu 12.04 LTS image also does not have -{updates,
$ apt-cache policy base-files dpkg/status archive. ubuntu. com/ubuntu/ precise/main amd64 Packages
base-files:
Installed: 6.5ubuntu6.2
Candidate: 6.5ubuntu6.2
Version table:
*** 6.5ubuntu6.2 0
100 /var/lib/
6.5ubuntu6 0
500 http://
so my conclusion is: INDICES= false can be passed by --remove-apt or something. security, proposed} packages, but it's not an ubuntu- defaults- builder specific issue.
1. --keep-apt is now the default behavior.
if someone wants all indices removed, LB_APT_
apport is still not working to -{updates,
2. if someone wants --keep- apt-components behavior, we need a new hook after `lb_chroot_archives chroot remove`.
Please correct me if I'm wrong.