without --mirror option, it's true that --keep-apt and --keep-apt- components make no difference.
the behavior is: 1. --keep-apt and --keep-apt-components manipulates chroot/var/cache/apt/lists/ in config/hooks/90_cleanup.chroot. 2. after that, `lb_chroot_archives chroot remove` removes chroot/var/lib/apt/lists/ completely without any condition. See. line 634 in /usr/lib/live/build/lb_chroot_archives 3. `apt-get --yes update` executed without any condition. See. line 871 4. if LB_APT_INDICES=false, remove chroot/var/lib/apt/lists again. See. line 880 5. chroot/var/lib/apt/lists/*-{updates,security,proposed}_* removed See. line 887 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs