[Bug 381753] Re: Handling of conflicting conffiles broken

Bug Watch Updater 381753 at bugs.launchpad.net
Thu Aug 11 04:32:45 UTC 2011


** Changed in: dpkg (Debian)
       Status: Unknown => Fix Released

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

Title:
  Handling of conflicting conffiles broken

Status in “dpkg” package in Ubuntu:
  Fix Released
Status in “dpkg” package in Debian:
  Fix Released

Bug description:
  Binary package hint: dpkg

  dpkg 1.14.16.6ubuntu4 in hardy-updates does weird stuff with packages
  and conffile conflicts.

  Consider this:

  Package A has conffile /etc/foo.conf
  Package B1 has conffile /etc/foo.conf
  Package B2 has conffile /etc/foo.conf and declares that it replaces Package A

  If Package A is unpacked but not configured, the unpack of Package B1
  will correctly blow up with a file conflict, the unpack of package B2
  will correctly replace and take over the conffile

  If Package A is fully installed, the unpack of Package B1 will
  *succeed* (this is the problem) as if Package B1 had declared that it
  replaced Package A. Package B2 installs and behaves as expected,
  replacing and taking over the conffile

  Turns out this is Debian bug #508392, fixed in 1.14.24 (not sure when
  it was introduced)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/381753/+subscriptions




More information about the foundations-bugs mailing list