Handling of conflicting conffiles broken

Bug #381753 reported by Andrew Pollock
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Debian)
Fix Released
Unknown
dpkg (Ubuntu)
Fix Released
High
Unassigned
Nominated for Hardy by Philip Muškovac
Nominated for Intrepid by Philip Muškovac

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)

Revision history for this message
Andrew Pollock (apollock) wrote :
Revision history for this message
Andrew Pollock (apollock) wrote :
Revision history for this message
Andrew Pollock (apollock) wrote :
Revision history for this message
Philip Muškovac (yofel) wrote :

This was fixed a long time ago in that case.

Changed in dpkg (Ubuntu):
status: New → Fix Released
importance: Undecided → High
Changed in dpkg (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.