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`.

$ apt-cache policy base-files
base-files:
  Installed: 6.5ubuntu6.2
  Candidate: 6.5ubuntu6.2
  Version table:
 *** 6.5ubuntu6.2 0
        100 /var/lib/dpkg/status
     6.5ubuntu6 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages


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`.

Please correct me if I'm wrong.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053008

Title:
  --keep-apt and --keep-apt-components are no longer functional

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/1053008/+subscriptions

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

Reply via email to