[Bug 2033308] Re: live-build manipulation of conffiles results in them being treated as modified by end user

Launchpad Bug Tracker 2033308 at bugs.launchpad.net
Tue Sep 12 17:41:40 UTC 2023


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 <phil.roche at canonical.com>  Tue, 12 Sep 2023 22:36:21
+1200

** Changed in: live-build (Ubuntu)
       Status: In Progress => Fix Released

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

Title:
  live-build manipulation of conffiles results in them being treated as
  modified by end user

Status in live-build package in Ubuntu:
  Fix Released
Status in livecd-rootfs package in Ubuntu:
  New
Status in ubuntu-advantage-tools package in Ubuntu:
  Invalid

Bug description:
  When updating ubuntu-advantage-tools from 29 -> 29.2, a conffile prompt is seen.
  This is on a system that is presumed to not have modified the relevant files.

  
  Setting up ubuntu-advantage-tools (29.2) ...

  Configuration file '/etc/apt/preferences.d/ubuntu-pro-esm-apps'
   ==> Deleted (by you or by a script) since installation.
   ==> Package distributor has shipped an updated version.
     What would you like to do about it ?  Your options are:
      Y or I  : install the package maintainer's version
      N or O  : keep your currently-installed version
        D     : show the differences between the versions
        Z     : start a shell to examine the situation
   The default action is to keep your current version.
  *** ubuntu-pro-esm-apps (Y/I/N/O/D/Z) [default=N] ?

  Configuration file '/etc/apt/preferences.d/ubuntu-pro-esm-infra'
   ==> Deleted (by you or by a script) since installation.
   ==> Package distributor has shipped an updated version.
     What would you like to do about it ?  Your options are:
      Y or I  : install the package maintainer's version
      N or O  : keep your currently-installed version
        D     : show the differences between the versions
        Z     : start a shell to examine the situation
   The default action is to keep your current version.
  *** ubuntu-pro-esm-infra (Y/I/N/O/D/Z) [default=N] ?

  steps to reproduce (at least today):
  lxc launch ubuntu-daily:mantic
  in container:
   apt update
   apt install ubuntu-advantage-tools

  Discovered in subiquity CI -
  https://github.com/canonical/subiquity/actions/runs/6003040269/job/16280611441?pr=1773#step:3:1080

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/2033308/+subscriptions




More information about the foundations-bugs mailing list