* To avoid removing packaged preferences.d files, in lb_chroot_archives install stage,
only remove apt/preferences.d/* files after we backup any existing preferences.d/ files.
Then during remove stage or lb_chroot_archives restore the backed up packaged
preferences.d files. LP: #2033308
This bug was fixed in the package live-build - 3.0~a57-1ubuntu49
---------------
live-build (3.0~a57-1ubuntu49) mantic; urgency=medium
* To avoid removing packaged preferences.d files, in lb_chroot_archives install stage,
only remove apt/preferences.d/* files after we backup any existing preferences.d/ files.
Then during remove stage or lb_chroot_archives restore the backed up packaged
preferences.d files. LP: #2033308
-- Phil Roche <email address hidden> Tue, 12 Sep 2023 22:36:21 +1200